diff --git a/crates/libs/bindgen/src/metadata.rs b/crates/libs/bindgen/src/metadata.rs index c49fa61e89..1ad4328d57 100644 --- a/crates/libs/bindgen/src/metadata.rs +++ b/crates/libs/bindgen/src/metadata.rs @@ -495,46 +495,6 @@ fn type_def_is_callback(row: TypeDef) -> bool { !row.flags().contains(TypeAttributes::WindowsRuntime) && row.kind() == TypeKind::Delegate } -pub fn type_has_callback(ty: &Type) -> bool { - match ty { - Type::TypeDef(row, _) => type_def_has_callback(*row), - Type::Win32Array(ty, _) => type_has_callback(ty), - _ => false, - } -} - -pub fn type_def_has_callback(row: TypeDef) -> bool { - if type_def_is_callback(row) { - return true; - } - if row.kind() != TypeKind::Struct { - return false; - } - fn check(row: TypeDef) -> bool { - if row - .fields() - .any(|field| type_has_callback(&field.ty(Some(row)))) - { - return true; - } - false - } - let type_name = row.type_name(); - if type_name.namespace().is_empty() { - check(row) - } else { - for row in row - .reader() - .get_type_def(type_name.namespace(), type_name.name()) - { - if check(row) { - return true; - } - } - false - } -} - pub fn type_def_has_float(def: TypeDef) -> bool { def.kind() == TypeKind::Struct && def diff --git a/crates/libs/bindgen/src/rust/structs.rs b/crates/libs/bindgen/src/rust/structs.rs index 4d5d7a6f94..2f8e537c34 100644 --- a/crates/libs/bindgen/src/rust/structs.rs +++ b/crates/libs/bindgen/src/rust/structs.rs @@ -188,7 +188,6 @@ fn gen_derive(writer: &Writer, def: metadata::TypeDef) -> TokenStream { if !writer.sys && !metadata::type_def_has_explicit_layout(def) && !metadata::type_def_has_packing(def) - && !metadata::type_def_has_callback(def) { derive.insert(to_ident("PartialEq")); diff --git a/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs b/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs index 6d4bb88299..2414b85319 100644 --- a/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Devices/HumanInterfaceDevice/mod.rs @@ -45,7 +45,7 @@ impl Default for HID_XFER_PACKET { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct VHF_CONFIG { pub Size: u32, pub VhfClientContext: *mut core::ffi::c_void, diff --git a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs index 2b372f0767..97db501b37 100644 --- a/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Foundation/mod.rs @@ -636,7 +636,7 @@ impl windows_core::TypeKind for DMA_COMMON_BUFFER_VECTOR { } #[repr(C)] #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DRIVER_EXTENSION { pub DriverObject: *mut DRIVER_OBJECT, pub AddDevice: DRIVER_ADD_DEVICE, @@ -655,7 +655,7 @@ impl Default for DRIVER_EXTENSION { } #[repr(C)] #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DRIVER_OBJECT { pub Type: i16, pub Size: i16, @@ -786,7 +786,7 @@ impl Default for ERESOURCE_1 { } #[repr(C)] #[cfg(all(feature = "Wdk_Storage_FileSystem", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FAST_IO_DISPATCH { pub SizeOfFastIoDispatch: u32, pub FastIoCheckIfPossible: FAST_IO_CHECK_IF_POSSIBLE, @@ -2844,7 +2844,7 @@ impl Default for VPB { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WORK_QUEUE_ITEM { pub List: super::super::Win32::System::Kernel::LIST_ENTRY, pub WorkerRoutine: PWORKER_THREAD_ROUTINE, 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 f4b71ffd31..0cdb9f4034 100644 --- a/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Graphics/Direct3D/mod.rs @@ -6297,7 +6297,7 @@ impl Default for D3DGPU_PHYSICAL_ADDRESS { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DHAL_CALLBACKS { pub dwSize: u32, pub ContextCreate: LPD3DHAL_CONTEXTCREATECB, @@ -6347,7 +6347,7 @@ impl Default for D3DHAL_CALLBACKS { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DHAL_CALLBACKS2 { pub dwSize: u32, pub dwFlags: u32, @@ -6369,7 +6369,7 @@ impl Default for D3DHAL_CALLBACKS2 { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw", feature = "Win32_Graphics_Gdi"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DHAL_CALLBACKS3 { pub dwSize: u32, pub dwFlags: u32, @@ -14951,7 +14951,7 @@ impl Default for D3DKMT_RECLAIMALLOCATIONS2_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DKMT_REGISTERBUDGETCHANGENOTIFICATION { pub hDevice: u32, pub Callback: PFND3DKMT_BUDGETCHANGENOTIFICATIONCALLBACK, @@ -14967,7 +14967,7 @@ impl Default for D3DKMT_REGISTERBUDGETCHANGENOTIFICATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DKMT_REGISTERTRIMNOTIFICATION { pub AdapterLuid: super::super::super::Win32::Foundation::LUID, pub hDevice: u32, @@ -16032,7 +16032,7 @@ impl Default for D3DKMT_UNREGISTERBUDGETCHANGENOTIFICATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DKMT_UNREGISTERTRIMNOTIFICATION { pub Handle: *mut core::ffi::c_void, pub Callback: PFND3DKMT_TRIMNOTIFICATIONCALLBACK, @@ -17216,7 +17216,7 @@ impl Default for D3DNTHALDEVICEDESC_V2 { } #[repr(C)] #[cfg(feature = "Win32_Graphics_DirectDraw")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DNTHAL_CALLBACKS { pub dwSize: u32, pub ContextCreate: LPD3DNTHAL_CONTEXTCREATECB, @@ -17266,7 +17266,7 @@ impl Default for D3DNTHAL_CALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_DirectDraw")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DNTHAL_CALLBACKS2 { pub dwSize: u32, pub dwFlags: u32, @@ -17288,7 +17288,7 @@ impl Default for D3DNTHAL_CALLBACKS2 { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Graphics_DirectDraw"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3DNTHAL_CALLBACKS3 { pub dwSize: u32, pub dwFlags: u32, @@ -20203,7 +20203,7 @@ impl Default for DXGK_GPUVERSION { } #[repr(C)] #[cfg(feature = "Win32_System_Power")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 { pub Version: u32, pub PrivateHandle: *mut core::ffi::c_void, @@ -20224,7 +20224,7 @@ impl Default for DXGK_GRAPHICSPOWER_REGISTER_INPUT_V_1_2 { } #[repr(C)] #[cfg(feature = "Win32_System_Power")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DXGK_GRAPHICSPOWER_REGISTER_OUTPUT { pub DeviceHandle: *mut core::ffi::c_void, pub InitialGrfxPowerState: super::super::super::Win32::System::Power::DEVICE_POWER_STATE, diff --git a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs index 623beaa66a..56fbd73c47 100644 --- a/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/NetworkManagement/Ndis/mod.rs @@ -5865,7 +5865,7 @@ impl Default for NDIS_WMI_TCP_LARGE_SEND_OFFLOAD_V2_1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NDIS_WORK_ITEM { pub Context: *mut core::ffi::c_void, pub Routine: NDIS_PROC, 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 4e52e9a370..b66178ee21 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 @@ -2228,7 +2228,7 @@ impl Default for FLT_CALLBACK_DATA_0_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FLT_CALLBACK_DATA_QUEUE { pub Csq: super::super::super::System::SystemServices::IO_CSQ, pub Flags: FLT_CALLBACK_DATA_QUEUE_FLAGS, @@ -2252,7 +2252,7 @@ impl Default for FLT_CALLBACK_DATA_QUEUE { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FLT_CONTEXT_REGISTRATION { pub ContextType: u16, pub Flags: u16, @@ -2349,7 +2349,7 @@ impl Default for FLT_NAME_CONTROL { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FLT_OPERATION_REGISTRATION { pub MajorFunction: u8, pub Flags: u32, @@ -3510,7 +3510,7 @@ impl Default for FLT_PARAMETERS_32 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_Storage_InstallableFileSystems", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FLT_REGISTRATION { pub Size: u16, pub Version: u16, 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 ca31020555..e820e955d3 100644 --- a/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/Storage/FileSystem/mod.rs @@ -6254,7 +6254,7 @@ impl Default for BOOT_AREA_INFO_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CACHE_MANAGER_CALLBACKS { pub AcquireForLazyWrite: PACQUIRE_FOR_LAZY_WRITE, pub ReleaseFromLazyWrite: PRELEASE_FROM_LAZY_WRITE, @@ -6270,7 +6270,7 @@ impl Default for CACHE_MANAGER_CALLBACKS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CACHE_MANAGER_CALLBACKS_EX { pub Version: u16, pub Size: u16, @@ -6285,7 +6285,7 @@ impl Default for CACHE_MANAGER_CALLBACKS_EX { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CACHE_MANAGER_CALLBACK_FUNCTIONS { pub AcquireForLazyWriteEx: PACQUIRE_FOR_LAZY_WRITE_EX, pub ReleaseFromLazyWrite: PRELEASE_FROM_LAZY_WRITE, @@ -6319,7 +6319,7 @@ impl Default for CACHE_UNINITIALIZE_EVENT { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CC_ASYNC_READ_CONTEXT { pub CompletionRoutine: PASYNC_READ_COMPLETION_CALLBACK, pub Context: *mut core::ffi::c_void, @@ -7332,7 +7332,7 @@ impl Default for FILE_LINK_INFORMATION_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FILE_LOCK { pub CompleteLockIrpRoutine: PCOMPLETE_LOCK_IRP_ROUTINE, pub UnlockRoutine: PUNLOCK_ROUTINE, @@ -8295,7 +8295,7 @@ impl Default for FSRTL_PER_FILEOBJECT_CONTEXT { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FSRTL_PER_FILE_CONTEXT { pub Links: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub OwnerId: *mut core::ffi::c_void, @@ -8314,7 +8314,7 @@ impl Default for FSRTL_PER_FILE_CONTEXT { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FSRTL_PER_STREAM_CONTEXT { pub Links: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub OwnerId: *mut core::ffi::c_void, @@ -8437,7 +8437,7 @@ impl Default for FS_BPIO_INPUT { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_System_SystemServices", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FS_FILTER_CALLBACKS { pub SizeOfFsFilterCallbacks: u32, pub Reserved: u32, @@ -10208,7 +10208,7 @@ impl Default for RTL_HEAP_MEMORY_LIMIT_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTL_HEAP_PARAMETERS { pub Length: u32, pub SegmentReserve: usize, @@ -10300,7 +10300,7 @@ impl Default for RTL_SEGMENT_HEAP_PARAMETERS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTL_SEGMENT_HEAP_VA_CALLBACKS { pub CallbackContext: super::super::super::Win32::Foundation::HANDLE, pub AllocateVirtualMemory: PALLOCATE_VIRTUAL_MEMORY_EX_CALLBACK, 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 05db5f3eeb..7510033819 100644 --- a/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs +++ b/crates/libs/windows/src/Windows/Wdk/System/SystemServices/mod.rs @@ -11747,7 +11747,7 @@ impl Default for ACPI_DEBUGGING_DEVICE_IN_USE { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ACPI_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -11773,7 +11773,7 @@ impl Default for ACPI_INTERFACE_STANDARD { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ACPI_INTERFACE_STANDARD2 { pub Size: u16, pub Version: u16, @@ -11797,7 +11797,7 @@ impl Default for ACPI_INTERFACE_STANDARD2 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct AGP_TARGET_BUS_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -11956,7 +11956,7 @@ impl Default for ARBITER_CONFLICT_INFO { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ARBITER_INTERFACE { pub Size: u16, pub Version: u16, @@ -12305,7 +12305,7 @@ impl Default for BOOTDISK_INFORMATION_LITE { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BUS_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -12328,7 +12328,7 @@ impl Default for BUS_INTERFACE_STANDARD { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BUS_RESOURCE_UPDATE_INTERFACE { pub Size: u16, pub Version: u16, @@ -12374,7 +12374,7 @@ impl Default for BUS_SPECIFIC_RESET_FLAGS_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_Storage_FileSystem", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLFS_MGMT_CLIENT_REGISTRATION { pub Version: u32, pub AdvanceTailCallback: PCLFS_CLIENT_ADVANCE_TAIL_CALLBACK, @@ -12396,7 +12396,7 @@ impl Default for CLFS_MGMT_CLIENT_REGISTRATION { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CMC_DRIVER_INFO { pub ExceptionCallback: PDRIVER_CMC_EXCEPTION_CALLBACK, pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE, @@ -13197,7 +13197,7 @@ impl Default for COUNTED_REASON_CONTEXT_0_0 { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CPE_DRIVER_INFO { pub ExceptionCallback: PDRIVER_CPE_EXCEPTION_CALLBACK, pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE, @@ -13214,7 +13214,7 @@ impl Default for CPE_DRIVER_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRASHDUMP_FUNCTIONS_INTERFACE { pub Size: u16, pub Version: u16, @@ -13247,7 +13247,7 @@ impl Default for CREATE_USER_PROCESS_ECP_CONTEXT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3COLD_AUX_POWER_AND_TIMING_INTERFACE { pub Size: u16, pub Version: u16, @@ -13267,7 +13267,7 @@ impl Default for D3COLD_AUX_POWER_AND_TIMING_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D3COLD_SUPPORT_INTERFACE { pub Size: u16, pub Version: u16, @@ -13602,7 +13602,7 @@ impl Default for DEVICE_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DEVICE_FAULT_CONFIGURATION { pub FaultHandler: PIOMMU_DEVICE_FAULT_HANDLER, pub FaultContext: *mut core::ffi::c_void, @@ -13663,7 +13663,7 @@ impl Default for DEVICE_RELATIONS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DEVICE_RESET_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -13930,7 +13930,7 @@ impl Default for DMA_CONFIGURATION_BYTE1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DMA_IOMMU_INTERFACE { pub Version: u32, pub CreateDomain: PIOMMU_DOMAIN_CREATE, @@ -13985,7 +13985,7 @@ impl Default for DMA_IOMMU_INTERFACE_EX_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DMA_IOMMU_INTERFACE_V1 { pub CreateDomain: PIOMMU_DOMAIN_CREATE, pub DeleteDomain: PIOMMU_DOMAIN_DELETE, @@ -14010,7 +14010,7 @@ impl Default for DMA_IOMMU_INTERFACE_V1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DMA_IOMMU_INTERFACE_V2 { pub CreateDomainEx: PIOMMU_DOMAIN_CREATE_EX, pub DeleteDomain: PIOMMU_DOMAIN_DELETE, @@ -14045,7 +14045,7 @@ impl Default for DMA_IOMMU_INTERFACE_V2 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DMA_OPERATIONS { pub Size: u32, pub PutDmaAdapter: PPUT_DMA_ADAPTER, @@ -14237,7 +14237,7 @@ impl Default for DPC_WATCHDOG_GLOBAL_TRIAGE_BLOCK { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DRIVER_VERIFIER_THUNK_PAIRS { pub PristineRoutine: PDRIVER_VERIFIER_THUNK_ROUTINE, pub NewRoutine: PDRIVER_VERIFIER_THUNK_ROUTINE, @@ -14414,7 +14414,7 @@ impl Default for EXTENDED_CREATE_INFORMATION_32 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct EXT_DELETE_PARAMETERS { pub Version: u32, pub Reserved: u32, @@ -14945,7 +14945,7 @@ impl Default for FLOATING_SAVE_AREA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FPGA_CONTROL_INTERFACE { pub Size: u16, pub Version: u16, @@ -14966,7 +14966,7 @@ impl Default for FPGA_CONTROL_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS { pub Size: u32, pub DeviceResetCompletion: PDEVICE_RESET_COMPLETION, @@ -14981,7 +14981,7 @@ impl Default for FUNCTION_LEVEL_DEVICE_RESET_PARAMETERS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HAL_AMLI_BAD_IO_ADDRESS_LIST { pub BadAddrBegin: u32, pub BadAddrSize: u32, @@ -15031,7 +15031,7 @@ impl Default for HAL_CALLBACKS { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Ioctl", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HAL_DISPATCH { pub Version: u32, pub HalQuerySystemInformation: pHalQuerySystemInformation, @@ -15108,7 +15108,7 @@ impl Default for HAL_ERROR_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HAL_MCA_INTERFACE { pub Lock: PHALMCAINTERFACELOCK, pub Unlock: PHALMCAINTERFACEUNLOCK, @@ -15352,7 +15352,7 @@ impl Default for INTEL_CACHE_INFO_EBX_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct INTERFACE { pub Size: u16, pub Version: u16, @@ -15701,7 +15701,7 @@ impl Default for IO_ATTRIBUTION_INFORMATION_0_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS { pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT, pub InterruptObject: *mut super::super::Foundation::PKINTERRUPT, @@ -15729,7 +15729,7 @@ impl Default for IO_CONNECT_INTERRUPT_FULLY_SPECIFIED_PARAMETERS { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IO_CONNECT_INTERRUPT_LINE_BASED_PARAMETERS { pub PhysicalDeviceObject: *mut super::super::Foundation::DEVICE_OBJECT, pub InterruptObject: *mut super::super::Foundation::PKINTERRUPT, @@ -15827,7 +15827,7 @@ impl Default for IO_CONNECT_INTERRUPT_PARAMETERS_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IO_CSQ { pub Type: u32, pub CsqInsertIrp: PIO_CSQ_INSERT_IRP, @@ -16616,7 +16616,7 @@ impl Default for KBUGCHECK_ADD_PAGES { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct KBUGCHECK_CALLBACK_RECORD { pub Entry: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub CallbackRoutine: PKBUGCHECK_CALLBACK_ROUTINE, @@ -16654,7 +16654,7 @@ impl Default for KBUGCHECK_DUMP_IO { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct KBUGCHECK_REASON_CALLBACK_RECORD { pub Entry: super::super::super::Win32::System::Kernel::LIST_ENTRY, pub CallbackRoutine: PKBUGCHECK_REASON_CALLBACK_ROUTINE, @@ -17592,7 +17592,7 @@ impl Default for MAP_REGISTER_ENTRY { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MCA_DRIVER_INFO { pub ExceptionCallback: isize, pub DpcCallback: super::super::Foundation::PKDEFERRED_ROUTINE, @@ -17964,7 +17964,7 @@ impl Default for NPEM_CAPABILITY_STANDARD_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NPEM_CONTROL_INTERFACE { pub Size: u16, pub Version: u16, @@ -18053,7 +18053,7 @@ impl Default for OB_CALLBACK_REGISTRATION { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OB_OPERATION_REGISTRATION { pub ObjectType: *mut super::super::Foundation::POBJECT_TYPE, pub Operations: u32, @@ -18612,7 +18612,7 @@ impl Default for PCI_AGP_ISOCH_STATUS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_ATS_INTERFACE { pub Size: u16, pub Version: u16, @@ -18631,7 +18631,7 @@ impl Default for PCI_ATS_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_BUS_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -18856,7 +18856,7 @@ impl Default for PCI_DEVICE_PRESENCE_PARAMETERS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_DEVICE_PRESENT_INTERFACE { pub Size: u16, pub Version: u16, @@ -20332,7 +20332,7 @@ impl Default for PCI_EXPRESS_LINK_CONTROL_REGISTER_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_EXPRESS_LINK_QUIESCENT_INTERFACE { pub Size: u16, pub Version: u16, @@ -20992,7 +20992,7 @@ impl Default for PCI_EXPRESS_ROOT_ERROR_STATUS_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_EXPRESS_ROOT_PORT_INTERFACE { pub Size: u16, pub Version: u16, @@ -21876,7 +21876,7 @@ impl Default for PCI_FPB_VECTOR_ACCESS_DATA_REGISTER { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_MSIX_TABLE_CONFIG_INTERFACE { pub Size: u16, pub Version: u16, @@ -22124,7 +22124,7 @@ impl Default for PCI_ROOT_BUS_OSC_SUPPORT_FIELD_0_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_SECURITY_INTERFACE { pub Size: u16, pub Version: u16, @@ -22142,7 +22142,7 @@ impl Default for PCI_SECURITY_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_SECURITY_INTERFACE2 { pub Size: u16, pub Version: u16, @@ -22273,7 +22273,7 @@ impl Default for PCI_VENDOR_SPECIFIC_CAPABILITY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCI_VIRTUALIZATION_INTERFACE { pub Size: u16, pub Version: u16, @@ -22449,7 +22449,7 @@ impl Default for PCW_MASK_INFORMATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PCW_REGISTRATION_INFORMATION { pub Version: u32, pub Name: *mut super::super::super::Win32::Foundation::UNICODE_STRING, @@ -22468,7 +22468,7 @@ impl Default for PCW_REGISTRATION_INFORMATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PHYSICAL_COUNTER_EVENT_BUFFER_CONFIGURATION { pub OverflowHandler: PPHYSICAL_COUNTER_EVENT_BUFFER_OVERFLOW_HANDLER, pub CustomEventBufferEntrySize: u32, @@ -22602,7 +22602,7 @@ impl Default for PNP_BUS_INFORMATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PNP_EXTENDED_ADDRESS_INTERFACE { pub Size: u16, pub Version: u16, @@ -22620,7 +22620,7 @@ impl Default for PNP_EXTENDED_ADDRESS_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PNP_LOCATION_INTERFACE { pub Size: u16, pub Version: u16, @@ -22638,7 +22638,7 @@ impl Default for PNP_LOCATION_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PNP_REPLACE_DRIVER_INTERFACE { pub Size: u32, pub Version: u32, @@ -22693,7 +22693,7 @@ impl Default for PNP_REPLACE_MEMORY_LIST_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PNP_REPLACE_PARAMETERS { pub Size: u32, pub Version: u32, @@ -23110,7 +23110,7 @@ impl Default for PO_FX_COMPONENT_V2 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PO_FX_DEVICE_V1 { pub Version: u32, pub ComponentCount: u32, @@ -23132,7 +23132,7 @@ impl Default for PO_FX_DEVICE_V1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PO_FX_DEVICE_V2 { pub Version: u32, pub Flags: u64, @@ -23155,7 +23155,7 @@ impl Default for PO_FX_DEVICE_V2 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PO_FX_DEVICE_V3 { pub Version: u32, pub Flags: u64, @@ -23612,7 +23612,7 @@ impl Default for PS_CREATE_NOTIFY_INFO_0_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PTM_CONTROL_INTERFACE { pub Size: u16, pub Version: u16, @@ -23633,7 +23633,7 @@ impl Default for PTM_CONTROL_INTERFACE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct REENUMERATE_SELF_INTERFACE_STANDARD { pub Size: u16, pub Version: u16, @@ -24105,7 +24105,7 @@ impl Default for RESOURCE_PERFORMANCE_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTL_AVL_TABLE { pub BalancedRoot: RTL_BALANCED_LINKS, pub OrderedPointer: *mut core::ffi::c_void, @@ -24265,7 +24265,7 @@ impl Default for RTL_DYNAMIC_HASH_TABLE_ENUMERATOR_0 { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Win32_System_Kernel"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTL_GENERIC_TABLE { pub TableRoot: *mut super::super::Foundation::RTL_SPLAY_LINKS, pub InsertOrderList: super::super::super::Win32::System::Kernel::LIST_ENTRY, @@ -24288,7 +24288,7 @@ impl Default for RTL_GENERIC_TABLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTL_QUERY_REGISTRY_TABLE { pub QueryRoutine: PRTL_QUERY_REGISTRY_ROUTINE, pub Flags: u32, @@ -24337,7 +24337,7 @@ impl Default for SCATTER_GATHER_LIST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SDEV_IDENTIFIER_INTERFACE { pub InterfaceHeader: INTERFACE, pub GetIdentifier: PGET_SDEV_IDENTIFIER, @@ -24352,7 +24352,7 @@ impl Default for SDEV_IDENTIFIER_INTERFACE { } #[repr(C)] #[cfg(feature = "Wdk_Foundation")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECURE_DRIVER_INTERFACE { pub InterfaceHeader: INTERFACE, pub ProcessReference: PSECURE_DRIVER_PROCESS_REFERENCE, @@ -24471,7 +24471,7 @@ impl Default for SOC_SUBSYSTEM_FAILURE_DETAILS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SYSTEM_FIRMWARE_TABLE_HANDLER { pub ProviderSignature: u32, pub Register: super::super::super::Win32::Foundation::BOOLEAN, @@ -24563,7 +24563,7 @@ impl Default for TARGET_DEVICE_REMOVAL_NOTIFICATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct TIMER_SET_COALESCABLE_TIMER_INFO { pub DueTime: i64, pub TimerApcRoutine: PTIMER_APC_ROUTINE, @@ -24603,7 +24603,7 @@ impl Default for TIME_FIELDS { } #[repr(C)] #[cfg(all(feature = "Wdk_Foundation", feature = "Wdk_Storage_FileSystem", feature = "Win32_Security", feature = "Win32_System_IO", feature = "Win32_System_Kernel", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct TRANSLATOR_INTERFACE { pub Size: u16, pub Version: u16, @@ -26620,7 +26620,7 @@ impl Default for WHEA_ERROR_RECOVERY_INFO_SECTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WHEA_ERROR_SOURCE_CONFIGURATION { pub Flags: u32, pub Correct: WHEA_ERROR_SOURCE_CORRECT, @@ -27769,7 +27769,7 @@ impl Default for WHEA_PSHED_PI_TRACE_EVENT { } #[repr(C)] #[cfg(feature = "Win32_System_Diagnostics_Debug")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WHEA_PSHED_PLUGIN_CALLBACKS { pub GetAllErrorSources: PSHED_PI_GET_ALL_ERROR_SOURCES, pub Reserved: *mut core::ffi::c_void, @@ -27893,7 +27893,7 @@ impl Default for WHEA_PSHED_PLUGIN_PLATFORM_SUPPORT_EVENT { } #[repr(C)] #[cfg(feature = "Win32_System_Diagnostics_Debug")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 { pub Length: u32, pub Version: u32, @@ -27914,7 +27914,7 @@ impl Default for WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V1 { } #[repr(C)] #[cfg(feature = "Win32_System_Diagnostics_Debug")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WHEA_PSHED_PLUGIN_REGISTRATION_PACKET_V2 { pub Length: u32, pub Version: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs index 2f40455d8c..c8c481be57 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/AllJoyn/mod.rs @@ -5156,7 +5156,7 @@ impl windows_core::TypeKind for alljoyn_aboutdatalistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_aboutdatalistener_callbacks { pub about_datalistener_getaboutdata: alljoyn_aboutdatalistener_getaboutdata_ptr, pub about_datalistener_getannouncedaboutdata: alljoyn_aboutdatalistener_getannouncedaboutdata_ptr, @@ -5214,7 +5214,7 @@ impl windows_core::TypeKind for alljoyn_aboutlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_aboutlistener_callback { pub about_listener_announced: alljoyn_about_announced_ptr, } @@ -5271,7 +5271,7 @@ impl windows_core::TypeKind for alljoyn_applicationstatelistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_applicationstatelistener_callbacks { pub state: alljoyn_applicationstatelistener_state_ptr, } @@ -5295,7 +5295,7 @@ impl windows_core::TypeKind for alljoyn_authlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_authlistener_callbacks { pub request_credentials: alljoyn_authlistener_requestcredentials_ptr, pub verify_credentials: alljoyn_authlistener_verifycredentials_ptr, @@ -5311,7 +5311,7 @@ impl Default for alljoyn_authlistener_callbacks { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_authlistenerasync_callbacks { pub request_credentials: alljoyn_authlistener_requestcredentialsasync_ptr, pub verify_credentials: alljoyn_authlistener_verifycredentialsasync_ptr, @@ -5360,7 +5360,7 @@ impl windows_core::TypeKind for alljoyn_buslistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_buslistener_callbacks { pub listener_registered: alljoyn_buslistener_listener_registered_ptr, pub listener_unregistered: alljoyn_buslistener_listener_unregistered_ptr, @@ -5391,7 +5391,7 @@ impl windows_core::TypeKind for alljoyn_busobject { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_busobject_callbacks { pub property_get: alljoyn_busobject_prop_get_ptr, pub property_set: alljoyn_busobject_prop_set_ptr, @@ -5407,7 +5407,7 @@ impl Default for alljoyn_busobject_callbacks { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_busobject_methodentry { pub member: *const alljoyn_interfacedescription_member, pub method_handler: alljoyn_messagereceiver_methodhandler_ptr, @@ -5531,7 +5531,7 @@ impl windows_core::TypeKind for alljoyn_keystorelistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_keystorelistener_callbacks { pub load_request: alljoyn_keystorelistener_loadrequest_ptr, pub store_request: alljoyn_keystorelistener_storerequest_ptr, @@ -5545,7 +5545,7 @@ impl Default for alljoyn_keystorelistener_callbacks { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_keystorelistener_with_synchronization_callbacks { pub load_request: alljoyn_keystorelistener_loadrequest_ptr, pub store_request: alljoyn_keystorelistener_storerequest_ptr, @@ -5619,7 +5619,7 @@ impl windows_core::TypeKind for alljoyn_observerlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_observerlistener_callback { pub object_discovered: alljoyn_observer_object_discovered_ptr, pub object_lost: alljoyn_observer_object_lost_ptr, @@ -5644,7 +5644,7 @@ impl windows_core::TypeKind for alljoyn_permissionconfigurationlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_permissionconfigurationlistener_callbacks { pub factory_reset: alljoyn_permissionconfigurationlistener_factoryreset_ptr, pub policy_changed: alljoyn_permissionconfigurationlistener_policychanged_ptr, @@ -5682,7 +5682,7 @@ impl windows_core::TypeKind for alljoyn_pinglistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_pinglistener_callback { pub destination_found: alljoyn_autopinger_destination_found_ptr, pub destination_lost: alljoyn_autopinger_destination_lost_ptr, @@ -5740,7 +5740,7 @@ impl windows_core::TypeKind for alljoyn_sessionlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_sessionlistener_callbacks { pub session_lost: alljoyn_sessionlistener_sessionlost_ptr, pub session_member_added: alljoyn_sessionlistener_sessionmemberadded_ptr, @@ -5777,7 +5777,7 @@ impl windows_core::TypeKind for alljoyn_sessionportlistener { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct alljoyn_sessionportlistener_callbacks { pub accept_session_joiner: alljoyn_sessionportlistener_acceptsessionjoiner_ptr, pub session_joined: alljoyn_sessionportlistener_sessionjoined_ptr, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs index f6c8cfa501..3190145b7e 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/BiometricFramework/mod.rs @@ -1197,7 +1197,7 @@ impl Default for WINBIO_ENCRYPTED_CAPTURE_PARAMS { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINBIO_ENGINE_INTERFACE { pub Version: WINBIO_ADAPTER_INTERFACE_VERSION, pub Type: u32, @@ -1835,7 +1835,7 @@ impl Default for WINBIO_FP_BU_STATE { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINBIO_FRAMEWORK_INTERFACE { pub Version: WINBIO_ADAPTER_INTERFACE_VERSION, pub Type: u32, @@ -2229,7 +2229,7 @@ impl Default for WINBIO_SENSOR_ATTRIBUTES { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINBIO_SENSOR_INTERFACE { pub Version: WINBIO_ADAPTER_INTERFACE_VERSION, pub Type: u32, @@ -2293,7 +2293,7 @@ impl Default for WINBIO_SET_INDICATOR { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINBIO_STORAGE_INTERFACE { pub Version: WINBIO_ADAPTER_INTERFACE_VERSION, pub Type: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs index d8ac0db6dc..454c1047df 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Bluetooth/mod.rs @@ -1612,7 +1612,7 @@ impl Default for BLUETOOTH_RADIO_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BLUETOOTH_SELECT_DEVICE_PARAMS { pub dwSize: u32, pub cNumOfClasses: u32, 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 1495201a40..625678c1d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/mod.rs @@ -3562,7 +3562,7 @@ impl Default for DRH_APIBITMAPDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DRIVEROBJ { pub pvObj: *mut core::ffi::c_void, pub pFreeProc: FREEOBJPROC, @@ -3593,7 +3593,7 @@ impl Default for DRVENABLEDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DRVFN { pub iFunc: u32, pub pfn: PFN, @@ -6061,7 +6061,7 @@ impl Default for VIDEO_VDM { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct VIDEO_WIN32K_CALLBACKS { pub PhysDisp: *mut core::ffi::c_void, pub Callout: PVIDEO_WIN32K_CALLOUT, 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 b0d1259976..902227c42c 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/mod.rs @@ -7052,7 +7052,7 @@ impl Default for FAX_ROUTE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FAX_ROUTE_CALLBACKROUTINES { pub SizeOfStruct: u32, pub FaxRouteAddFile: PFAXROUTEADDFILE, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs index 23f0a50911..1ffe30b81a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/SerialCommunication/mod.rs @@ -191,7 +191,7 @@ impl Default for SERENUM_PORT_DESC { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERENUM_PORT_PARAMETERS { pub Size: u32, pub ReadAccessor: PSERENUM_READPORT, diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs b/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs index 6b91fdcc2c..913da0fe79 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Usb/mod.rs @@ -3735,7 +3735,7 @@ impl Default for USB_HUB_STATUS_AND_CHANGE_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct USB_IDLE_CALLBACK_INFO { pub IdleCallback: USB_IDLE_CALLBACK, pub IdleContext: *mut core::ffi::c_void, 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 ed1e26e233..0d1e44f7ab 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/mod.rs @@ -2248,7 +2248,7 @@ impl Default for WSD_ENDPOINT_REFERENCE_LIST { } } #[repr(C)] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct WSD_EVENT { pub Hr: windows_core::HRESULT, pub EventType: u32, @@ -2342,7 +2342,7 @@ impl Default for WSD_EVENTING_FILTER_ACTION { } } #[repr(C)] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct WSD_HANDLER_CONTEXT { pub Handler: PWSD_SOAP_MESSAGE_HANDLER, pub PVoid: *mut core::ffi::c_void, @@ -2482,7 +2482,7 @@ impl Default for WSD_NAME_LIST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSD_OPERATION { pub RequestType: *mut WSDXML_TYPE, pub ResponseType: *mut WSDXML_TYPE, diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs index 9c05c9319d..77550c8154 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/mod.rs @@ -13699,7 +13699,7 @@ impl Default for MAPPING_ENUM_OPTIONS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MAPPING_OPTIONS { pub Size: usize, pub pszInputLanguage: windows_core::PWSTR, @@ -14266,7 +14266,7 @@ impl windows_core::TypeKind for UCaseMap { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct UCharIterator { pub context: *const core::ffi::c_void, pub length: i32, @@ -14885,7 +14885,7 @@ impl Default for UText { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct UTextFuncs { pub tableSize: i32, pub reserved1: i32, 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 6ac6469c89..09df654589 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/mod.rs @@ -9311,7 +9311,7 @@ impl Default for D2D1_PRINT_CONTROL_PROPERTIES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct D2D1_PROPERTY_BINDING { pub propertyName: windows_core::PCWSTR, pub setFunction: PD2D1_PROPERTY_SET_FUNCTION, 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 d0d63bb2aa..ccae94e154 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/mod.rs @@ -3654,7 +3654,7 @@ impl Default for DDDEVICEIDENTIFIER2 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDENABLEIRQINFO { pub dwIRQSources: u32, pub dwLine: u32, @@ -3823,7 +3823,7 @@ impl Default for DDGETTRANSFERSTATUSOUTINFO { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHALDDRAWFNS { pub dwSize: u32, pub lpSetInfo: LPDDHAL_SETINFO, @@ -3897,7 +3897,7 @@ impl Default for DDHALMODEINFO { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_ADDATTACHEDSURFACEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -3917,7 +3917,7 @@ impl Default for DDHAL_ADDATTACHEDSURFACEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_BEGINMOCOMPFRAMEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpMoComp: *mut DDRAWI_DDMOTIONCOMP_LCL, @@ -3976,7 +3976,7 @@ impl Default for DDHAL_BLTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CALLBACKS { pub cbDDCallbacks: DDHAL_DDCALLBACKS, pub cbDDSurfaceCallbacks: DDHAL_DDSURFACECALLBACKS, @@ -4013,7 +4013,7 @@ impl Default for DDHAL_CALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CANCREATESURFACEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurfaceDesc: *mut DDSURFACEDESC, @@ -4033,7 +4033,7 @@ impl Default for DDHAL_CANCREATESURFACEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CANCREATEVPORTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpDDVideoPortDesc: *mut DDVIDEOPORTDESC, @@ -4052,7 +4052,7 @@ impl Default for DDHAL_CANCREATEVPORTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_COLORCONTROLDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -4098,7 +4098,7 @@ impl Default for DDHAL_CREATEMOCOMPDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CREATEPALETTEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDPalette: *mut DDRAWI_DDRAWPALETTE_GBL, @@ -4119,7 +4119,7 @@ impl Default for DDHAL_CREATEPALETTEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CREATESURFACEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurfaceDesc: *mut DDSURFACEDESC, @@ -4159,7 +4159,7 @@ impl Default for DDHAL_CREATESURFACEEXDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_CREATEVPORTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpDDVideoPortDesc: *mut DDVIDEOPORTDESC, @@ -4179,7 +4179,7 @@ impl Default for DDHAL_CREATEVPORTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4206,7 +4206,7 @@ impl Default for DDHAL_DDCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDCOLORCONTROLCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4224,7 +4224,7 @@ impl Default for DDHAL_DDCOLORCONTROLCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDEXEBUFCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4246,7 +4246,7 @@ impl Default for DDHAL_DDEXEBUFCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDKERNELCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4265,7 +4265,7 @@ impl Default for DDHAL_DDKERNELCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDMISCELLANEOUS2CALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4286,7 +4286,7 @@ impl Default for DDHAL_DDMISCELLANEOUS2CALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDMISCELLANEOUSCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4307,7 +4307,7 @@ impl Default for DDHAL_DDMISCELLANEOUSCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDMOTIONCOMPCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4334,7 +4334,7 @@ impl Default for DDHAL_DDMOTIONCOMPCALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDPALETTECALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4353,7 +4353,7 @@ impl Default for DDHAL_DDPALETTECALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDSURFACECALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4384,7 +4384,7 @@ impl Default for DDHAL_DDSURFACECALLBACKS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DDVIDEOPORTCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -4435,7 +4435,7 @@ impl Default for DDHAL_DESTROYDDLOCALDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DESTROYDRIVERDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub ddRVal: windows_core::HRESULT, @@ -4453,7 +4453,7 @@ impl Default for DDHAL_DESTROYDRIVERDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DESTROYMOCOMPDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpMoComp: *mut DDRAWI_DDMOTIONCOMP_LCL, @@ -4472,7 +4472,7 @@ impl Default for DDHAL_DESTROYMOCOMPDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DESTROYPALETTEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDPalette: *mut DDRAWI_DDRAWPALETTE_GBL, @@ -4491,7 +4491,7 @@ impl Default for DDHAL_DESTROYPALETTEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DESTROYSURFACEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -4510,7 +4510,7 @@ impl Default for DDHAL_DESTROYSURFACEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DESTROYVPORTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4529,7 +4529,7 @@ impl Default for DDHAL_DESTROYVPORTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_DRVSETCOLORKEYDATA { pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, pub dwFlags: u32, @@ -4549,7 +4549,7 @@ impl Default for DDHAL_DRVSETCOLORKEYDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_ENDMOCOMPFRAMEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpMoComp: *mut DDRAWI_DDMOTIONCOMP_LCL, @@ -4570,7 +4570,7 @@ impl Default for DDHAL_ENDMOCOMPFRAMEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_FLIPDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpSurfCurr: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -4593,7 +4593,7 @@ impl Default for DDHAL_FLIPDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_FLIPTOGDISURFACEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwToGDI: u32, @@ -4613,7 +4613,7 @@ impl Default for DDHAL_FLIPTOGDISURFACEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_FLIPVPORTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4656,7 +4656,7 @@ impl Default for DDHAL_GETAVAILDRIVERMEMORYDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETBLTSTATUSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -4726,7 +4726,7 @@ impl Default for DDHAL_GETDRIVERSTATEDATA_0 { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETFLIPSTATUSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -4810,7 +4810,7 @@ impl Default for DDHAL_GETMOCOMPCOMPBUFFDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETMOCOMPFORMATSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpGuid: *mut windows_core::GUID, @@ -4831,7 +4831,7 @@ impl Default for DDHAL_GETMOCOMPFORMATSDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETMOCOMPGUIDSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub dwNumGuids: u32, @@ -4851,7 +4851,7 @@ impl Default for DDHAL_GETMOCOMPGUIDSDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETSCANLINEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwScanLine: u32, @@ -4870,7 +4870,7 @@ impl Default for DDHAL_GETSCANLINEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTBANDWIDTHDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4894,7 +4894,7 @@ impl Default for DDHAL_GETVPORTBANDWIDTHDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTCONNECTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub dwPortId: u32, @@ -4915,7 +4915,7 @@ impl Default for DDHAL_GETVPORTCONNECTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTFIELDDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4935,7 +4935,7 @@ impl Default for DDHAL_GETVPORTFIELDDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTFLIPSTATUSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub fpSurface: usize, @@ -4954,7 +4954,7 @@ impl Default for DDHAL_GETVPORTFLIPSTATUSDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTINPUTFORMATDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4976,7 +4976,7 @@ impl Default for DDHAL_GETVPORTINPUTFORMATDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTLINEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -4996,7 +4996,7 @@ impl Default for DDHAL_GETVPORTLINEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTOUTPUTFORMATDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -5019,7 +5019,7 @@ impl Default for DDHAL_GETVPORTOUTPUTFORMATDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_GETVPORTSIGNALDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -5039,7 +5039,7 @@ impl Default for DDHAL_GETVPORTSIGNALDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_LOCKDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5062,7 +5062,7 @@ impl Default for DDHAL_LOCKDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_QUERYMOCOMPSTATUSDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpMoComp: *mut DDRAWI_DDMOTIONCOMP_LCL, @@ -5083,7 +5083,7 @@ impl Default for DDHAL_QUERYMOCOMPSTATUSDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_RENDERMOCOMPDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpMoComp: *mut DDRAWI_DDMOTIONCOMP_LCL, @@ -5109,7 +5109,7 @@ impl Default for DDHAL_RENDERMOCOMPDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETCLIPLISTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5128,7 +5128,7 @@ impl Default for DDHAL_SETCLIPLISTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETCOLORKEYDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5149,7 +5149,7 @@ impl Default for DDHAL_SETCOLORKEYDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETENTRIESDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDPalette: *mut DDRAWI_DDRAWPALETTE_GBL, @@ -5171,7 +5171,7 @@ impl Default for DDHAL_SETENTRIESDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETEXCLUSIVEMODEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwEnterExcl: u32, @@ -5191,7 +5191,7 @@ impl Default for DDHAL_SETEXCLUSIVEMODEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETMODEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwModeIndex: u32, @@ -5212,7 +5212,7 @@ impl Default for DDHAL_SETMODEDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETOVERLAYPOSITIONDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSrcSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5234,7 +5234,7 @@ impl Default for DDHAL_SETOVERLAYPOSITIONDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_SETPALETTEDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5310,7 +5310,7 @@ impl Default for DDHAL_SYNCVIDEOPORTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_UNLOCKDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub lpDDSurface: *mut DDRAWI_DDRAWSURFACE_LCL, @@ -5329,7 +5329,7 @@ impl Default for DDHAL_UNLOCKDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_UPDATENONLOCALHEAPDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwHeap: u32, @@ -5380,7 +5380,7 @@ impl Default for DDHAL_UPDATEOVERLAYDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_UPDATEVPORTDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -5405,7 +5405,7 @@ impl Default for DDHAL_UPDATEVPORTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_VPORTCOLORDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -5426,7 +5426,7 @@ impl Default for DDHAL_VPORTCOLORDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_WAITFORVERTICALBLANKDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_GBL, pub dwFlags: u32, @@ -5447,7 +5447,7 @@ impl Default for DDHAL_WAITFORVERTICALBLANKDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DDHAL_WAITFORVPORTSYNCDATA { pub lpDD: *mut DDRAWI_DIRECTDRAW_LCL, pub lpVideoPort: *mut DDRAWI_DDVIDEOPORT_LCL, @@ -6590,7 +6590,7 @@ impl Default for DDRAWI_DIRECTDRAW_INT { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct DDRAWI_DIRECTDRAW_LCL { pub lpDDMore: u32, pub lpGbl: *mut DDRAWI_DIRECTDRAW_GBL, @@ -7279,7 +7279,7 @@ impl Default for DD_BLTDATA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_CALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -7363,7 +7363,7 @@ impl Default for DD_CLIPPER_LOCAL { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_COLORCONTROLCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -7489,7 +7489,7 @@ impl Default for DD_CREATEVPORTDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_D3DBUFCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8110,7 +8110,7 @@ impl Default for DD_HALINFO_V4 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_KERNELCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8164,7 +8164,7 @@ impl Default for DD_MAPMEMORYDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_MISCELLANEOUS2CALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8182,7 +8182,7 @@ impl Default for DD_MISCELLANEOUS2CALLBACKS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_MISCELLANEOUSCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8247,7 +8247,7 @@ impl Default for DD_MORESURFACECAPS_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_MOTIONCOMPCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8312,7 +8312,7 @@ impl Default for DD_NONLOCALVIDMEMCAPS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_NTCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8344,7 +8344,7 @@ impl Default for DD_NTPRIVATEDRIVERCAPS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_PALETTECALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8556,7 +8556,7 @@ impl Default for DD_STEREOMODE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_SURFACECALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8857,7 +8857,7 @@ impl Default for DD_UPDATEVPORTDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DD_VIDEOPORTCALLBACKS { pub dwSize: u32, pub dwFlags: u32, @@ -8964,7 +8964,7 @@ impl Default for DD_WAITFORVPORTSYNCDATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DXAPI_INTERFACE { pub Size: u16, pub Version: u16, 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 4fd94dd7df..a8f24a3402 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/mod.rs @@ -7772,7 +7772,7 @@ impl Default for BranchOfficeLogOfflineFileFull { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COMPROPSHEETUI { pub cbSize: u16, pub Flags: u16, @@ -9141,7 +9141,7 @@ impl Default for MESSAGEBOX_PARAMS { } #[repr(C)] #[cfg(all(feature = "Win32_Devices_Communication", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MONITOR { pub pfnEnumPorts: PFN_PRINTING_ENUMPORTS, pub pfnOpenPort: PFN_PRINTING_OPENPORT, @@ -9173,7 +9173,7 @@ impl Default for MONITOR { } #[repr(C)] #[cfg(all(feature = "Win32_Devices_Communication", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MONITOR2 { pub cbSize: u32, pub pfnEnumPorts: PFN_PRINTING_ENUMPORTS2, @@ -9211,7 +9211,7 @@ impl Default for MONITOR2 { } #[repr(C)] #[cfg(all(feature = "Win32_Devices_Communication", feature = "Win32_System_Power"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MONITOREX { pub dwMonitorSize: u32, pub Monitor: MONITOR, @@ -9459,7 +9459,7 @@ impl Default for MXDC_XPS_S0PAGE_RESOURCE_T { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NOTIFICATION_CONFIG_1 { pub cbSize: u32, pub fdwFlags: u32, @@ -9476,7 +9476,7 @@ impl Default for NOTIFICATION_CONFIG_1 { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OEMCUIPPARAM { pub cbSize: u32, pub poemuiobj: *mut OEMUIOBJ, @@ -9561,7 +9561,7 @@ impl Default for OEMUIOBJ { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OEMUIPROCS { pub DrvGetDriverSetting: PFN_DrvGetDriverSetting, pub DrvUpdateUISetting: PFN_DrvUpdateUISetting, @@ -10779,7 +10779,7 @@ impl Default for PROPSHEETUI_GETICON_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PROPSHEETUI_INFO { pub cbSize: u16, pub Version: u16, @@ -10908,7 +10908,7 @@ impl Default for PSCRIPT5_PRIVATE_DEVMODE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PSPINFO { pub cbSize: u16, pub wReserved: u16, 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 231290085f..cb52e33710 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 @@ -1521,7 +1521,7 @@ impl Default for DSPROPERTY_DIRECTSOUNDDEVICE_DESCRIPTION_W_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA { pub Callback: LPFNDIRECTSOUNDDEVICEENUMERATECALLBACK1, pub Context: *mut core::ffi::c_void, @@ -1535,7 +1535,7 @@ impl Default for DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_1_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA { pub Callback: LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKA, pub Context: *mut core::ffi::c_void, @@ -1549,7 +1549,7 @@ impl Default for DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_A_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DSPROPERTY_DIRECTSOUNDDEVICE_ENUMERATE_W_DATA { pub Callback: LPFNDIRECTSOUNDDEVICEENUMERATECALLBACKW, pub Context: *mut core::ffi::c_void, 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 21b8177abb..442f336e31 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/mod.rs @@ -19370,7 +19370,7 @@ impl Default for DVINFO { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Direct3D9", feature = "Win32_Media_MediaFoundation"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DXVA2SW_CALLBACKS { pub Size: u32, pub GetVideoProcessorRenderTargetCount: PDXVA2SW_GETVIDEOPROCESSORRENDERTARGETCOUNT, 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 efecddef03..f9adf10a61 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/mod.rs @@ -31238,7 +31238,7 @@ impl Default for DXVAHDETW_VIDEOPROCESSSTREAMSTATE { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Direct3D9")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DXVAHDSW_CALLBACKS { pub CreateDevice: PDXVAHDSW_CreateDevice, pub ProposeVideoPrivateFormat: PDXVAHDSW_ProposeVideoPrivateFormat, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs index e5a69e2cd4..25d881dd2e 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dhcp/mod.rs @@ -2945,7 +2945,7 @@ impl Default for DHCP_BOOTP_IP_RANGE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DHCP_CALLOUT_TABLE { pub DhcpControlHook: LPDHCP_CONTROL, pub DhcpNewPktHook: LPDHCP_NEWPKT, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs index 97927258c7..4541529d51 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Dns/mod.rs @@ -1793,7 +1793,7 @@ impl Default for DNS_QUERY_RAW_RESULT_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DNS_QUERY_REQUEST { pub Version: u32, pub QueryName: windows_core::PCWSTR, @@ -1813,7 +1813,7 @@ impl Default for DNS_QUERY_REQUEST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DNS_QUERY_REQUEST3 { pub Version: u32, pub QueryName: windows_core::PCWSTR, @@ -2261,7 +2261,7 @@ impl Default for DNS_SERVICE_INSTANCE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DNS_SERVICE_REGISTER_REQUEST { pub Version: u32, pub InterfaceIndex: u32, @@ -2280,7 +2280,7 @@ impl Default for DNS_SERVICE_REGISTER_REQUEST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DNS_SERVICE_RESOLVE_REQUEST { pub Version: u32, pub InterfaceIndex: u32, @@ -2865,7 +2865,7 @@ impl Default for MDNS_QUERY_HANDLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MDNS_QUERY_REQUEST { pub Version: u32, pub ulRefCount: u32, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs index d1c47b9ade..8485742d15 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetShell/mod.rs @@ -156,7 +156,7 @@ impl core::fmt::Debug for NS_REQS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CMD_ENTRY { pub pwszCmdToken: windows_core::PCWSTR, pub pfnCmdHandler: PFN_HANDLE_CMD, @@ -175,7 +175,7 @@ impl Default for CMD_ENTRY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CMD_GROUP_ENTRY { pub pwszCmdGroupToken: windows_core::PCWSTR, pub dwShortCmdHelpToken: u32, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs index cf31485f96..3b86031bdb 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/P2P/mod.rs @@ -3200,7 +3200,7 @@ impl Default for PEER_RECORD { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PEER_SECURITY_INTERFACE { pub dwSize: u32, pub pwzSspFilename: windows_core::PWSTR, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs index 600e51caa0..854511df32 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/QoS/mod.rs @@ -1675,7 +1675,7 @@ impl windows_core::TypeKind for LPM_HANDLE { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LPM_INIT_INFO { pub PcmVersionNumber: u32, pub ResultTimeLimit: u32, @@ -2573,7 +2573,7 @@ impl Default for TCG_PCClientTaggedEventStruct { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct TCI_CLIENT_FUNC_LIST { pub ClNotifyHandler: TCI_NOTIFY_HANDLER, pub ClAddFlowCompleteHandler: TCI_ADD_FLOW_COMPLETE_HANDLER, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs index db1a2b2b8e..e3173ec983 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/Rras/mod.rs @@ -3465,7 +3465,7 @@ impl Default for MGM_IF_ENTRY { } #[repr(C)] #[cfg(feature = "Win32_Networking_WinSock")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MPRAPI_ADMIN_DLL_CALLBACKS { pub revision: u8, pub lpfnMprAdminGetIpAddressForUser: PMPRADMINGETIPADDRESSFORUSER, @@ -6227,7 +6227,7 @@ impl Default for ROUTER_IKEv2_IF_CUSTOM_CONFIG2 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ROUTING_PROTOCOL_CONFIG { pub dwCallbackFlags: u32, pub pfnRpfCallback: PMGM_RPF_CALLBACK, @@ -6285,7 +6285,7 @@ impl Default for RTM_DEST_INFO_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RTM_ENTITY_EXPORT_METHODS { pub NumMethods: u32, pub Methods: [RTM_ENTITY_EXPORT_METHOD; 1], 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 6033731499..0f8c2b7802 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/mod.rs @@ -3184,7 +3184,7 @@ impl core::fmt::Debug for WL_DISPLAY_PAGES { } #[repr(C)] #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DOT11EXT_APIS { pub Dot11ExtAllocateBuffer: DOT11EXT_ALLOCATE_BUFFER, pub Dot11ExtFreeBuffer: DOT11EXT_FREE_BUFFER, @@ -3262,7 +3262,7 @@ impl Default for DOT11EXT_IHV_DISCOVERY_PROFILE_LIST { } #[repr(C)] #[cfg(all(feature = "Win32_NetworkManagement_Ndis", feature = "Win32_Security_ExtensibleAuthenticationProtocol", feature = "Win32_System_RemoteDesktop"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DOT11EXT_IHV_HANDLERS { pub Dot11ExtIhvDeinitService: DOT11EXTIHV_DEINIT_SERVICE, pub Dot11ExtIhvInitAdapter: DOT11EXTIHV_INIT_ADAPTER, @@ -3377,7 +3377,7 @@ impl Default for DOT11EXT_IHV_UI_REQUEST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DOT11EXT_VIRTUAL_STATION_APIS { pub Dot11ExtRequestVirtualStation: DOT11EXT_REQUEST_VIRTUAL_STATION, pub Dot11ExtReleaseVirtualStation: DOT11EXT_RELEASE_VIRTUAL_STATION, diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs index b453f83e00..fac0d11a37 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFilteringPlatform/mod.rs @@ -7464,7 +7464,7 @@ impl Default for IPSEC_KEY_MANAGER0 { } #[repr(C)] #[cfg(feature = "Win32_Security")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IPSEC_KEY_MANAGER_CALLBACKS0 { pub reserved: windows_core::GUID, pub flags: u32, 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 5265adf69d..5b48b857fe 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/mod.rs @@ -8636,7 +8636,7 @@ impl Default for CQFORM { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CQPAGE { pub cbStruct: u32, pub dwFlags: u32, @@ -8801,7 +8801,7 @@ impl Default for DSBITEMW { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DSBROWSEINFOA { pub cbStruct: u32, pub hwndOwner: super::super::Foundation::HWND, @@ -8831,7 +8831,7 @@ impl Default for DSBROWSEINFOA { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DSBROWSEINFOW { pub cbStruct: u32, pub hwndOwner: super::super::Foundation::HWND, 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 9b06bcdcbc..aa27ba95b3 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/mod.rs @@ -9577,7 +9577,7 @@ impl core::fmt::Debug for VM_RESDLL_CONTEXT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLRES_CALLBACK_FUNCTION_TABLE { pub LogEvent: PLOG_EVENT_ROUTINE, pub SetResourceStatusEx: PSET_RESOURCE_STATUS_ROUTINE_EX, @@ -9644,7 +9644,7 @@ impl Default for CLRES_FUNCTION_TABLE_0 { } #[repr(C)] #[cfg(feature = "Win32_System_Registry")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLRES_V1_FUNCTIONS { pub Open: POPEN_ROUTINE, pub Close: PCLOSE_ROUTINE, @@ -9670,7 +9670,7 @@ impl Default for CLRES_V1_FUNCTIONS { } #[repr(C)] #[cfg(feature = "Win32_System_Registry")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLRES_V2_FUNCTIONS { pub Open: POPEN_V2_ROUTINE, pub Close: PCLOSE_ROUTINE, @@ -9697,7 +9697,7 @@ impl Default for CLRES_V2_FUNCTIONS { } #[repr(C)] #[cfg(feature = "Win32_System_Registry")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLRES_V3_FUNCTIONS { pub Open: POPEN_V2_ROUTINE, pub Close: PCLOSE_ROUTINE, @@ -9724,7 +9724,7 @@ impl Default for CLRES_V3_FUNCTIONS { } #[repr(C)] #[cfg(feature = "Win32_System_Registry")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLRES_V4_FUNCTIONS { pub Open: POPEN_V2_ROUTINE, pub Close: PCLOSE_ROUTINE, @@ -9752,7 +9752,7 @@ impl Default for CLRES_V4_FUNCTIONS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CLUSAPI_REASON_HANDLER { pub lpParameter: *mut core::ffi::c_void, pub pfnHandler: PCLUSAPI_PFN_REASON_HANDLER, diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs index 81fb4349a7..c0f14ca4bb 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Ldap/mod.rs @@ -2453,7 +2453,7 @@ impl Default for LDAP_BERVAL { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LDAP_REFERRAL_CALLBACK { pub SizeOfCallbacks: u32, pub QueryForConnection: QUERYFORCONNECTION, 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 5d4b43541d..324b24e8c1 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/mod.rs @@ -4299,7 +4299,7 @@ impl Default for INTERNET_ASYNC_RESULT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct INTERNET_AUTH_NOTIFY_DATA { pub cbStruct: u32, pub dwOptions: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs index ca21a6ef13..978b86b402 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinSock/mod.rs @@ -6602,7 +6602,7 @@ impl Default for NPI_MODULEID_0 { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NSPV2_ROUTINE { pub cbSize: u32, pub dwMajorVersion: u32, @@ -6627,7 +6627,7 @@ impl Default for NSPV2_ROUTINE { } #[repr(C)] #[cfg(all(feature = "Win32_System_Com", feature = "Win32_System_IO"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NSP_ROUTINE { pub cbSize: u32, pub dwMajorVersion: u32, @@ -6938,7 +6938,7 @@ impl windows_core::TypeKind for RIO_CQ { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RIO_EXTENSION_FUNCTION_TABLE { pub cbSize: u32, pub RIOReceive: LPFN_RIORECEIVE, @@ -7241,7 +7241,7 @@ impl Default for SERVICE_ADDRESSES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_ASYNC_INFO { pub lpServiceCallbackProc: LPSERVICE_CALLBACK_PROC, pub lParam: super::super::Foundation::LPARAM, @@ -8516,7 +8516,7 @@ impl Default for WSACOMPLETION_0 { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSACOMPLETION_0_0 { pub lpOverlapped: *mut super::super::System::IO::OVERLAPPED, pub lpfnCompletionProc: LPWSAOVERLAPPED_COMPLETION_ROUTINE, @@ -9014,7 +9014,7 @@ impl Default for WSAQUERYSETW { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSASENDMSG { pub lpMsg: *mut WSAMSG, pub dwFlags: u32, @@ -9137,7 +9137,7 @@ impl Default for WSPDATA { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSPPROC_TABLE { pub lpWSPAccept: LPWSPACCEPT, pub lpWSPAddressToString: LPWSPADDRESSTOSTRING, @@ -9181,7 +9181,7 @@ impl Default for WSPPROC_TABLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSPUPCALLTABLE { pub lpWPUCloseEvent: LPWPUCLOSEEVENT, pub lpWPUCloseSocketHandle: LPWPUCLOSESOCKETHANDLE, 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 d42b90e5e3..8caf844fab 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/mod.rs @@ -3700,7 +3700,7 @@ impl Default for WS_ANY_ATTRIBUTES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_ASYNC_CONTEXT { pub callback: WS_ASYNC_CALLBACK, pub callbackState: *mut core::ffi::c_void, @@ -3714,7 +3714,7 @@ impl Default for WS_ASYNC_CONTEXT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_ASYNC_OPERATION { pub function: WS_ASYNC_FUNCTION, } @@ -3860,7 +3860,7 @@ impl Default for WS_CAPI_ASYMMETRIC_SECURITY_KEY_HANDLE { } #[repr(C)] #[cfg(feature = "Win32_Security_Cryptography")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CERTIFICATE_VALIDATION_CALLBACK_CONTEXT { pub callback: WS_CERTIFICATE_VALIDATION_CALLBACK, pub state: *mut core::ffi::c_void, @@ -3918,7 +3918,7 @@ impl Default for WS_CERT_MESSAGE_SECURITY_BINDING_CONSTRAINT { } #[repr(C)] #[cfg(feature = "Win32_Security_Cryptography")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CERT_SIGNED_SAML_AUTHENTICATOR { pub authenticator: WS_SAML_AUTHENTICATOR, pub trustedIssuerCerts: *const *const super::super::Security::Cryptography::CERT_CONTEXT, @@ -3949,7 +3949,7 @@ impl windows_core::TypeKind for WS_CHANNEL { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CHANNEL_DECODER { pub createContext: *mut core::ffi::c_void, pub createDecoderCallback: WS_CREATE_DECODER_CALLBACK, @@ -3968,7 +3968,7 @@ impl Default for WS_CHANNEL_DECODER { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CHANNEL_ENCODER { pub createContext: *mut core::ffi::c_void, pub createEncoderCallback: WS_CREATE_ENCODER_CALLBACK, @@ -4074,7 +4074,7 @@ impl Default for WS_CONTRACT_DESCRIPTION { } #[repr(C)] #[cfg(all(feature = "Win32_Security_Authentication_Identity", feature = "Win32_Security_Cryptography"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CUSTOM_CERT_CREDENTIAL { pub credential: WS_CERT_CREDENTIAL, pub getCertCallback: WS_GET_CERT_CALLBACK, @@ -4093,7 +4093,7 @@ impl Default for WS_CUSTOM_CERT_CREDENTIAL { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CUSTOM_CHANNEL_CALLBACKS { pub createChannelCallback: WS_CREATE_CHANNEL_CALLBACK, pub freeChannelCallback: WS_FREE_CHANNEL_CALLBACK, @@ -4133,7 +4133,7 @@ impl Default for WS_CUSTOM_HTTP_PROXY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CUSTOM_LISTENER_CALLBACKS { pub createListenerCallback: WS_CREATE_LISTENER_CALLBACK, pub freeListenerCallback: WS_FREE_LISTENER_CALLBACK, @@ -4155,7 +4155,7 @@ impl Default for WS_CUSTOM_LISTENER_CALLBACKS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_CUSTOM_TYPE_DESCRIPTION { pub size: u32, pub alignment: u32, @@ -4305,7 +4305,7 @@ impl Default for WS_DURATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_DURATION_DESCRIPTION { pub minValue: WS_DURATION, pub maxValue: WS_DURATION, @@ -4802,7 +4802,7 @@ impl Default for WS_HTTP_POLICY_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_HTTP_REDIRECT_CALLBACK_CONTEXT { pub callback: WS_HTTP_REDIRECT_CALLBACK, pub state: *mut core::ffi::c_void, @@ -4944,7 +4944,7 @@ impl Default for WS_HTTP_SSL_POLICY_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_HTTP_SSL_USERNAME_BINDING_TEMPLATE { pub channelProperties: WS_CHANNEL_PROPERTIES, pub securityProperties: WS_SECURITY_PROPERTIES, @@ -4976,7 +4976,7 @@ impl Default for WS_HTTP_SSL_USERNAME_POLICY_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_HTTP_SSL_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE { pub channelProperties: WS_CHANNEL_PROPERTIES, pub securityProperties: WS_SECURITY_PROPERTIES, @@ -5438,7 +5438,7 @@ impl windows_core::TypeKind for WS_OPERATION_CONTEXT { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_OPERATION_DESCRIPTION { pub versionInfo: u32, pub inputMessageDescription: *mut WS_MESSAGE_DESCRIPTION, @@ -5545,7 +5545,7 @@ impl Default for WS_POLICY_PROPERTY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_PROXY_MESSAGE_CALLBACK_CONTEXT { pub callback: WS_PROXY_MESSAGE_CALLBACK, pub state: *mut core::ffi::c_void, @@ -6029,7 +6029,7 @@ impl windows_core::TypeKind for WS_SECURITY_TOKEN { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_SERVICE_CONTRACT { pub contractDescription: *const WS_CONTRACT_DESCRIPTION, pub defaultMessageHandlerCallback: WS_SERVICE_MESSAGE_RECEIVE_CALLBACK, @@ -6044,7 +6044,7 @@ impl Default for WS_SERVICE_CONTRACT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_SERVICE_ENDPOINT { pub address: WS_ENDPOINT_ADDRESS, pub channelBinding: WS_CHANNEL_BINDING, @@ -6151,7 +6151,7 @@ impl Default for WS_SERVICE_PROPERTY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_SERVICE_PROPERTY_ACCEPT_CALLBACK { pub callback: WS_SERVICE_ACCEPT_CHANNEL_CALLBACK, } @@ -6164,7 +6164,7 @@ impl Default for WS_SERVICE_PROPERTY_ACCEPT_CALLBACK { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_SERVICE_PROPERTY_CLOSE_CALLBACK { pub callback: WS_SERVICE_CLOSE_CHANNEL_CALLBACK, } @@ -6576,7 +6576,7 @@ impl Default for WS_TCP_SSPI_TRANSPORT_SECURITY_BINDING_TEMPLATE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_TCP_SSPI_USERNAME_BINDING_TEMPLATE { pub channelProperties: WS_CHANNEL_PROPERTIES, pub securityProperties: WS_SECURITY_PROPERTIES, @@ -6608,7 +6608,7 @@ impl Default for WS_TCP_SSPI_USERNAME_POLICY_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_TCP_SSPI_USERNAME_SECURITY_CONTEXT_BINDING_TEMPLATE { pub channelProperties: WS_CHANNEL_PROPERTIES, pub securityProperties: WS_SECURITY_PROPERTIES, @@ -6856,7 +6856,7 @@ impl Default for WS_USERNAME_CREDENTIAL { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING { pub binding: WS_SECURITY_BINDING, pub bindingUsage: WS_MESSAGE_SECURITY_USAGE, @@ -6901,7 +6901,7 @@ impl Default for WS_USERNAME_MESSAGE_SECURITY_BINDING_POLICY_DESCRIPTION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_USERNAME_MESSAGE_SECURITY_BINDING_TEMPLATE { pub securityBindingProperties: WS_SECURITY_BINDING_PROPERTIES, pub clientCredential: *mut WS_USERNAME_CREDENTIAL, @@ -7435,7 +7435,7 @@ impl Default for WS_XML_READER_RAW_ENCODING { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_XML_READER_STREAM_INPUT { pub input: WS_XML_READER_INPUT, pub readCallback: WS_READ_CALLBACK, @@ -7633,7 +7633,7 @@ impl windows_core::TypeKind for WS_XML_WRITER { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_XML_WRITER_BINARY_ENCODING { pub encoding: WS_XML_WRITER_ENCODING, pub staticDictionary: *mut WS_XML_DICTIONARY, @@ -7749,7 +7749,7 @@ impl Default for WS_XML_WRITER_RAW_ENCODING { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WS_XML_WRITER_STREAM_OUTPUT { pub output: WS_XML_WRITER_OUTPUT, pub writeCallback: WS_WRITE_CALLBACK, 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 dda82d9a22..7490b79fc1 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 @@ -6057,7 +6057,7 @@ impl Default for LSA_AUTH_INFORMATION { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LSA_DISPATCH_TABLE { pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION, pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION, @@ -6330,7 +6330,7 @@ impl Default for LSA_REFERENCED_DOMAIN_LIST { } #[repr(C)] #[cfg(all(feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LSA_SECPKG_FUNCTION_TABLE { pub CreateLogonSession: PLSA_CREATE_LOGON_SESSION, pub DeleteLogonSession: PLSA_DELETE_LOGON_SESSION, @@ -7850,7 +7850,7 @@ impl Default for SECPKG_CREDENTIAL { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_DLL_FUNCTIONS { pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP, pub FreeHeap: PLSA_FREE_LSA_HEAP, @@ -7959,7 +7959,7 @@ impl Default for SECPKG_EXTRA_OIDS { } #[repr(C)] #[cfg(all(feature = "Win32_Security_Credentials", feature = "Win32_System_Threading"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_FUNCTION_TABLE { pub InitializePackage: PLSA_AP_INITIALIZE_PACKAGE, pub LogonUserA: PLSA_AP_LOGON_USER, @@ -8031,7 +8031,7 @@ impl Default for SECPKG_GSS_INFO { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_KERNEL_FUNCTIONS { pub AllocateHeap: PLSA_ALLOCATE_LSA_HEAP, pub FreeHeap: PLSA_FREE_LSA_HEAP, @@ -8055,7 +8055,7 @@ impl Default for SECPKG_KERNEL_FUNCTIONS { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_KERNEL_FUNCTION_TABLE { pub Initialize: KspInitPackageFn, pub DeleteContext: KspDeleteContextFn, @@ -8221,7 +8221,7 @@ impl Default for SECPKG_PRIMARY_CRED_EX { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_REDIRECTED_LOGON_BUFFER { pub RedirectedLogonGuid: windows_core::GUID, pub RedirectedLogonHandle: super::super::super::Foundation::HANDLE, @@ -8361,7 +8361,7 @@ impl Default for SECPKG_TARGETINFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SECPKG_USER_FUNCTION_TABLE { pub InstanceInit: SpInstanceInitFn, pub InitUserModeContext: SpInitUserModeContextFn, @@ -10281,7 +10281,7 @@ impl Default for SecPkgInfoW { } #[repr(C)] #[cfg(feature = "Win32_Security_Credentials")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SecurityFunctionTableA { pub dwVersion: u32, pub EnumerateSecurityPackagesA: ENUMERATE_SECURITY_PACKAGES_FN_A, @@ -10328,7 +10328,7 @@ impl Default for SecurityFunctionTableA { } #[repr(C)] #[cfg(feature = "Win32_Security_Credentials")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SecurityFunctionTableW { pub dwVersion: u32, pub EnumerateSecurityPackagesW: ENUMERATE_SECURITY_PACKAGES_FN_W, 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 814a2a4427..c0af589ceb 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/mod.rs @@ -5324,7 +5324,7 @@ impl windows_core::TypeKind for AUTHZ_CLIENT_CONTEXT_HANDLE { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct AUTHZ_INIT_INFO { pub version: u16, pub szResourceManagerName: windows_core::PCWSTR, 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 5ff2d8fba1..10e511528f 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/mod.rs @@ -150,7 +150,7 @@ impl Default for SCESVC_ANALYSIS_LINE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SCESVC_CALLBACK_INFO { pub sceHandle: *mut core::ffi::c_void, pub pfQueryInfo: PFSCE_QUERY_INFO, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs index 1d99c45e8b..50ad634dd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Credentials/mod.rs @@ -1755,7 +1755,7 @@ impl Default for KeyCredentialManagerInfo { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARDNAMEA { pub dwStructSize: u32, pub hwndOwner: super::super::Foundation::HWND, @@ -1790,7 +1790,7 @@ impl Default for OPENCARDNAMEA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARDNAMEW { pub dwStructSize: u32, pub hwndOwner: super::super::Foundation::HWND, @@ -1826,7 +1826,7 @@ impl Default for OPENCARDNAMEW { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARDNAME_EXA { pub dwStructSize: u32, pub hSCardContext: usize, @@ -1859,7 +1859,7 @@ impl Default for OPENCARDNAME_EXA { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARDNAME_EXW { pub dwStructSize: u32, pub hSCardContext: usize, @@ -1891,7 +1891,7 @@ impl Default for OPENCARDNAME_EXW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARD_SEARCH_CRITERIAA { pub dwStructSize: u32, pub lpstrGroupNames: windows_core::PSTR, @@ -1916,7 +1916,7 @@ impl Default for OPENCARD_SEARCH_CRITERIAA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OPENCARD_SEARCH_CRITERIAW { pub dwStructSize: u32, pub lpstrGroupNames: windows_core::PWSTR, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs index c9c01caa03..40879b1893 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Sip/mod.rs @@ -193,7 +193,7 @@ impl Default for SIP_CAP_SET_V3_0 { } #[repr(C)] #[cfg(feature = "Win32_Security_Cryptography_Catalog")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SIP_DISPATCH_INFO { pub cbSize: u32, pub hSIP: super::super::super::Foundation::HANDLE, diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs index 7cc1899e5c..19bc5173c0 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/UI/mod.rs @@ -557,7 +557,7 @@ impl Default for CERT_SELECTUI_INPUT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_SELECT_STRUCT_A { pub dwSize: u32, pub hwndParent: super::super::super::Foundation::HWND, @@ -586,7 +586,7 @@ impl Default for CERT_SELECT_STRUCT_A { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_SELECT_STRUCT_W { pub dwSize: u32, pub hwndParent: super::super::super::Foundation::HWND, @@ -615,7 +615,7 @@ impl Default for CERT_SELECT_STRUCT_W { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_VERIFY_CERTIFICATE_TRUST { pub cbSize: u32, pub pccert: *const super::CERT_CONTEXT, @@ -999,7 +999,7 @@ impl Default for CRYPTUI_WIZ_DIGITAL_SIGN_PVK_FILE_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPTUI_WIZ_DIGITAL_SIGN_STORE_INFO { pub dwSize: u32, pub cCertStore: u32, 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 660e115aaa..bed5af4ab6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/mod.rs @@ -9521,7 +9521,7 @@ impl From for BCRYPT_HANDLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_ASYMMETRIC_ENCRYPTION_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -9572,7 +9572,7 @@ impl Default for BCRYPT_AUTHENTICATED_CIPHER_MODE_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_CIPHER_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -9782,7 +9782,7 @@ impl windows_core::TypeKind for BCRYPT_HANDLE { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_HASH_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -9878,7 +9878,7 @@ impl Default for BCRYPT_KEY_DATA_BLOB_HEADER { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_KEY_DERIVATION_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -10059,7 +10059,7 @@ impl Default for BCRYPT_PSS_PADDING_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_RNG_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -10095,7 +10095,7 @@ impl Default for BCRYPT_RSAKEY_BLOB { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_SECRET_AGREEMENT_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -10150,7 +10150,7 @@ impl From for BCRYPT_HANDLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BCRYPT_SIGNATURE_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenAlgorithmProvider: BCryptOpenAlgorithmProviderFn, @@ -10302,7 +10302,7 @@ impl Default for CARD_CHANGE_AUTHENTICATOR_RESPONSE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CARD_DATA { pub dwVersion: u32, pub pbAtr: *mut u8, @@ -10821,7 +10821,7 @@ impl Default for CERT_CHAIN_ENGINE_CONFIG { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_CHAIN_FIND_BY_ISSUER_PARA { pub cbSize: u32, pub pszUsageIdentifier: windows_core::PCSTR, @@ -10904,7 +10904,7 @@ impl Default for CERT_CONTEXT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_CREATE_CONTEXT_PARA { pub cbSize: u32, pub pfnFree: PFN_CRYPT_FREE, @@ -11933,7 +11933,7 @@ impl Default for CERT_SERVER_OCSP_RESPONSE_CONTEXT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CERT_SERVER_OCSP_RESPONSE_OPEN_PARA { pub cbSize: u32, pub dwFlags: u32, @@ -12564,7 +12564,7 @@ impl Default for CMSG_CMS_SIGNER_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CMSG_CNG_CONTENT_DECRYPT_INFO { pub cbSize: u32, pub ContentEncryptionAlgorithm: CRYPT_ALGORITHM_IDENTIFIER, @@ -13283,7 +13283,7 @@ impl Default for CMSG_SP3_COMPATIBLE_AUX_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CMSG_STREAM_INFO { pub cbContent: u32, pub pfnStreamOutput: PFN_CMSG_STREAM_OUTPUT, @@ -13684,7 +13684,7 @@ impl Default for CRYPT_ALGORITHM_IDENTIFIER { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_ASYNC_RETRIEVAL_COMPLETION { pub pfnCompletion: PFN_CRYPT_ASYNC_RETRIEVAL_COMPLETION_FUNC, pub pvCompletion: *mut core::ffi::c_void, @@ -13899,7 +13899,7 @@ impl Default for CRYPT_CSP_PROVIDER { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_DECODE_PARA { pub cbSize: u32, pub pfnAlloc: PFN_CRYPT_ALLOC, @@ -13990,7 +13990,7 @@ impl Default for CRYPT_ECC_PRIVATE_KEY_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_ENCODE_PARA { pub cbSize: u32, pub pfnAlloc: PFN_CRYPT_ALLOC, @@ -14258,7 +14258,7 @@ impl Default for CRYPT_MASK_GEN_ALGORITHM { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_OBJECT_LOCATOR_PROVIDER_TABLE { pub cbSize: u32, pub pfnGet: PFN_CRYPT_OBJECT_LOCATOR_PROVIDER_GET, @@ -14381,7 +14381,7 @@ impl Default for CRYPT_PKCS12_PBE_PARAMS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_PKCS8_EXPORT_PARAMS { pub hCryptProv: usize, pub dwKeySpec: u32, @@ -14398,7 +14398,7 @@ impl Default for CRYPT_PKCS8_EXPORT_PARAMS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_PKCS8_IMPORT_PARAMS { pub PrivateKey: CRYPT_INTEGER_BLOB, pub pResolvehCryptProvFunc: PCRYPT_RESOLVE_HCRYPTPROV_FUNC, @@ -14876,7 +14876,7 @@ impl Default for CRYPT_VERIFY_CERT_SIGN_WEAK_HASH_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_VERIFY_MESSAGE_PARA { pub cbSize: u32, pub dwMsgAndCertEncodingType: u32, @@ -14961,7 +14961,7 @@ impl Default for CRYPT_XML_BLOB { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_XML_CRYPTOGRAPHIC_INTERFACE { pub cbSize: u32, pub fpCryptXmlEncodeAlgorithm: CryptXmlDllEncodeAlgorithm, @@ -14996,7 +14996,7 @@ impl Default for CRYPT_XML_DATA_BLOB { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_XML_DATA_PROVIDER { pub pvCallbackState: *mut core::ffi::c_void, pub cbBufferSize: u32, @@ -15328,7 +15328,7 @@ impl Default for CRYPT_XML_TRANSFORM_CHAIN_CONFIG { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_XML_TRANSFORM_INFO { pub cbSize: u32, pub wszAlgorithm: windows_core::PCWSTR, @@ -15915,7 +15915,7 @@ impl Default for KEY_TYPE_SUBTYPE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NCRYPT_ALLOC_PARA { pub cbSize: u32, pub pfnAlloc: PFN_NCRYPT_ALLOC, @@ -16115,7 +16115,7 @@ impl From for NCRYPT_HANDLE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NCRYPT_KEY_STORAGE_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub OpenProvider: NCryptOpenStorageProviderFn, @@ -16236,7 +16236,7 @@ impl Default for NCRYPT_PLATFORM_ATTEST_PADDING_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NCRYPT_PROTECT_STREAM_INFO { pub pfnStreamOutput: PFNCryptStreamOutputCallback, pub pvCallbackCtxt: *mut core::ffi::c_void, @@ -16250,7 +16250,7 @@ impl Default for NCRYPT_PROTECT_STREAM_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NCRYPT_PROTECT_STREAM_INFO_EX { pub pfnStreamOutput: PFNCryptStreamOutputCallbackEx, pub pvCallbackCtxt: *mut core::ffi::c_void, @@ -16398,7 +16398,7 @@ impl Default for NCRYPT_SSL_ECC_CURVE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NCRYPT_SSL_FUNCTION_TABLE { pub Version: BCRYPT_INTERFACE_VERSION, pub ComputeClientAuthHash: SslComputeClientAuthHashFn, @@ -17207,7 +17207,7 @@ impl Default for SIGNER_DIGEST_SIGN_INFO_0 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SIGNER_DIGEST_SIGN_INFO_V1 { pub cbSize: u32, pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, @@ -17222,7 +17222,7 @@ impl Default for SIGNER_DIGEST_SIGN_INFO_V1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SIGNER_DIGEST_SIGN_INFO_V2 { pub cbSize: u32, pub pfnAuthenticodeDigestSign: PFN_AUTHENTICODE_DIGEST_SIGN, @@ -17439,7 +17439,7 @@ impl Default for SSL_KEY_PIN_EXTRA_CERT_CHAIN_POLICY_STATUS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct VTableProvStruc { pub Version: u32, pub FuncVerifyImage: CRYPT_VERIFY_IMAGE_A, @@ -17458,7 +17458,7 @@ impl Default for VTableProvStruc { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct VTableProvStrucW { pub Version: u32, pub FuncVerifyImage: CRYPT_VERIFY_IMAGE_W, diff --git a/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs index b1792fe909..680440e4e6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/WinTrust/mod.rs @@ -729,7 +729,7 @@ impl Default for CRYPT_PROVIDER_DEFUSAGE { } #[repr(C)] #[cfg(all(feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_PROVIDER_FUNCTIONS { pub cbStruct: u32, pub pfnAlloc: PFN_CPD_MEM_ALLOC, @@ -866,7 +866,7 @@ impl Default for CRYPT_PROVUI_DATA { } #[repr(C)] #[cfg(all(feature = "Win32_Security_Cryptography_Catalog", feature = "Win32_Security_Cryptography_Sip"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CRYPT_PROVUI_FUNCS { pub cbStruct: u32, pub psUIData: *mut CRYPT_PROVUI_DATA, diff --git a/crates/libs/windows/src/Windows/Win32/Security/WinWlx/mod.rs b/crates/libs/windows/src/Windows/Win32/Security/WinWlx/mod.rs index ca759bcff2..4f4efd64fd 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/WinWlx/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/WinWlx/mod.rs @@ -166,7 +166,7 @@ impl Default for WLX_DESKTOP { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_DISPATCH_VERSION_1_0 { pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, @@ -194,7 +194,7 @@ impl Default for WLX_DISPATCH_VERSION_1_0 { } #[repr(C)] #[cfg(all(feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_DISPATCH_VERSION_1_1 { pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, @@ -226,7 +226,7 @@ impl Default for WLX_DISPATCH_VERSION_1_1 { } #[repr(C)] #[cfg(all(feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_DISPATCH_VERSION_1_2 { pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, @@ -259,7 +259,7 @@ impl Default for WLX_DISPATCH_VERSION_1_2 { } #[repr(C)] #[cfg(all(feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_DISPATCH_VERSION_1_3 { pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, @@ -299,7 +299,7 @@ impl Default for WLX_DISPATCH_VERSION_1_3 { } #[repr(C)] #[cfg(all(feature = "Win32_System_StationsAndDesktops", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_DISPATCH_VERSION_1_4 { pub WlxUseCtrlAltDel: PWLX_USE_CTRL_ALT_DEL, pub WlxSetContextPointer: PWLX_SET_CONTEXT_POINTER, @@ -357,7 +357,7 @@ impl Default for WLX_MPR_NOTIFY_INFO { } #[repr(C)] #[cfg(feature = "Win32_System_StationsAndDesktops")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WLX_NOTIFICATION_INFO { pub Size: u32, pub Flags: u32, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs index 9b17a56d3f..5d18ca77d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/CloudFilters/mod.rs @@ -2550,7 +2550,7 @@ impl Default for CF_CALLBACK_PARAMETERS_0_11 { } #[repr(C)] #[cfg(feature = "Win32_System_CorrelationVector")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CF_CALLBACK_REGISTRATION { pub Type: CF_CALLBACK_TYPE, pub Callback: CF_CALLBACK, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs index dece5ca527..139f801d87 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Compression/mod.rs @@ -138,7 +138,7 @@ impl windows_core::TypeKind for COMPRESSOR_HANDLE { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COMPRESS_ALLOCATION_ROUTINES { pub Allocate: PFN_COMPRESS_ALLOCATE, pub Free: PFN_COMPRESS_FREE, 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 9b12954b3b..6b041c3d7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/mod.rs @@ -7131,7 +7131,7 @@ impl Default for CONNECTION_INFO_1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COPYFILE2_EXTENDED_PARAMETERS { pub dwSize: u32, pub dwCopyFlags: u32, @@ -7148,7 +7148,7 @@ impl Default for COPYFILE2_EXTENDED_PARAMETERS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COPYFILE2_EXTENDED_PARAMETERS_V2 { pub dwSize: u32, pub dwCopyFlags: u32, @@ -7635,7 +7635,7 @@ impl Default for ENCRYPTION_PROTECTOR_LIST { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct FH_OVERLAPPED { pub Internal: usize, pub InternalHigh: usize, @@ -8456,7 +8456,7 @@ impl Default for KCRM_TRANSACTION_BLOB { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LOG_MANAGEMENT_CALLBACKS { pub CallbackContext: *mut core::ffi::c_void, pub AdvanceTailCallback: PLOG_TAIL_ADVANCE_CALLBACK, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs index 3d962c78cf..2ecb92e3b0 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IscsiDisc/mod.rs @@ -1048,7 +1048,7 @@ impl Default for DUMP_POINTERS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DUMP_POINTERS_EX { pub Header: DUMP_POINTERS_VERSION, pub DumpData: *mut core::ffi::c_void, diff --git a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs index 6a2d2dfa84..df5288ccb4 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/ProjectedFileSystem/mod.rs @@ -487,7 +487,7 @@ impl core::ops::Not for PRJ_UPDATE_TYPES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PRJ_CALLBACKS { pub StartDirectoryEnumerationCallback: PRJ_START_DIRECTORY_ENUMERATION_CB, pub EndDirectoryEnumerationCallback: PRJ_END_DIRECTORY_ENUMERATION_CB, 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 0cb1d2f453..0eaf706eb0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/mod.rs @@ -1703,7 +1703,7 @@ impl Default for ADRLIST { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ADRPARM { pub cbABContEntryID: u32, pub lpABContEntryID: *mut ENTRYID, 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 c273175559..5dba96eab0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/mod.rs @@ -7832,7 +7832,7 @@ impl Default for PATCH_OLD_FILE_INFO_W { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PATCH_OPTION_DATA { pub SizeOfThisStruct: u32, pub SymbolOptionFlags: u32, 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 e2dad0d25c..cf55ffa1a2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/mod.rs @@ -6885,7 +6885,7 @@ impl Default for ELEMDESC_0 { } } #[repr(C)] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct EXCEPINFO { pub wCode: u16, pub wReserved: u16, 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 c7eebfeab3..de572e787b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/mod.rs @@ -2623,7 +2623,7 @@ impl Default for WDS_CLI_CRED { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WDS_TRANSPORTCLIENT_CALLBACKS { pub SessionStart: PFN_WdsTransportClientSessionStart, pub SessionStartEx: PFN_WdsTransportClientSessionStartEx, 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 2b2f11373b..7decde366f 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 @@ -22815,7 +22815,7 @@ impl Default for WDBGEXTS_THREAD_OS_INFO { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINDBG_EXTENSION_APIS { pub nSize: u32, pub lpOutputRoutine: PWINDBG_OUTPUT_ROUTINE, @@ -22842,7 +22842,7 @@ impl Default for WINDBG_EXTENSION_APIS { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINDBG_EXTENSION_APIS32 { pub nSize: u32, pub lpOutputRoutine: PWINDBG_OUTPUT_ROUTINE, @@ -22869,7 +22869,7 @@ impl Default for WINDBG_EXTENSION_APIS32 { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINDBG_EXTENSION_APIS64 { pub nSize: u32, pub lpOutputRoutine: PWINDBG_OUTPUT_ROUTINE, @@ -22895,7 +22895,7 @@ impl Default for WINDBG_EXTENSION_APIS64 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINDBG_OLDKD_EXTENSION_APIS { pub nSize: u32, pub lpOutputRoutine: PWINDBG_OUTPUT_ROUTINE, @@ -22917,7 +22917,7 @@ impl Default for WINDBG_OLDKD_EXTENSION_APIS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WINDBG_OLD_EXTENSION_APIS { pub nSize: u32, pub lpOutputRoutine: PWINDBG_OUTPUT_ROUTINE, 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 b6a2973081..8da2925e48 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 @@ -6149,7 +6149,7 @@ impl Default for CPU_INFORMATION_1 { } #[repr(C)] #[cfg(feature = "Win32_System_Threading")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CREATE_PROCESS_DEBUG_INFO { pub hFile: super::super::super::Foundation::HANDLE, pub hProcess: super::super::super::Foundation::HANDLE, @@ -6174,7 +6174,7 @@ impl Default for CREATE_PROCESS_DEBUG_INFO { } #[repr(C)] #[cfg(feature = "Win32_System_Threading")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CREATE_THREAD_DEBUG_INFO { pub hThread: super::super::super::Foundation::HANDLE, pub lpThreadLocalBase: *mut core::ffi::c_void, @@ -6250,7 +6250,7 @@ impl Default for DEBUG_EVENT_0 { #[repr(C)] #[cfg(target_arch = "aarch64")] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DISPATCHER_CONTEXT { pub ControlPc: usize, pub ImageBase: usize, @@ -6280,7 +6280,7 @@ impl Default for DISPATCHER_CONTEXT { #[repr(C)] #[cfg(any(target_arch = "arm64ec", target_arch = "x86_64"))] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DISPATCHER_CONTEXT { pub ControlPc: u64, pub ImageBase: u64, 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 792e9fd833..3d4c072baf 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 @@ -1917,7 +1917,7 @@ impl Default for ETW_BUFFER_HEADER { } #[repr(C)] #[cfg(feature = "Win32_System_Time")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct ETW_OPEN_TRACE_OPTIONS { pub ProcessTraceModes: ETW_PROCESS_TRACE_MODES, pub EventCallback: PEVENT_RECORD_CALLBACK, diff --git a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs index 1c3e41c34b..8b166debcc 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Environment/mod.rs @@ -368,7 +368,7 @@ impl Default for VBS_BASIC_ENCLAVE_EXCEPTION_AMD64 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct VBS_BASIC_ENCLAVE_SYSCALL_PAGE { pub ReturnFromEnclave: VBS_BASIC_ENCLAVE_BASIC_CALL_RETURN_FROM_ENCLAVE, pub ReturnFromException: VBS_BASIC_ENCLAVE_BASIC_CALL_RETURN_FROM_EXCEPTION, diff --git a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs index ac9e6b59b0..37400914e7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/HostComputeSystem/mod.rs @@ -809,7 +809,7 @@ impl core::fmt::Debug for HCS_RESOURCE_TYPE { } #[repr(C)] #[cfg(feature = "Win32_Security")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HCS_CREATE_OPTIONS_1 { pub Version: HCS_CREATE_OPTIONS, pub UserToken: super::super::Foundation::HANDLE, diff --git a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs index ea37b46e7a..f2c701292e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Hypervisor/mod.rs @@ -2462,7 +2462,7 @@ impl Default for GUEST_OS_INFO_1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HDV_PCI_DEVICE_INTERFACE { pub Version: HDV_PCI_INTERFACE_VERSION, pub Initialize: HDV_PCI_DEVICE_INITIALIZE, @@ -2949,7 +2949,7 @@ impl Default for WHV_DOORBELL_MATCH_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WHV_EMULATOR_CALLBACKS { pub Size: u32, pub Reserved: u32, 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 fed6741615..45da5bbe07 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/mod.rs @@ -1860,7 +1860,7 @@ impl Default for CONFIGURATION_ENTRY { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct EXTENSION_CONTROL_BLOCK { pub cbSize: u32, pub dwVersion: u32, @@ -2050,7 +2050,7 @@ impl Default for HSE_SEND_HEADER_EX_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct HSE_TF_INFO { pub pfnHseIO: PFN_HSE_IO_COMPLETION, pub pContext: *mut core::ffi::c_void, diff --git a/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs index a3a3f740ac..e3b4fd9114 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ioctl/mod.rs @@ -6368,7 +6368,7 @@ impl Default for IDEREGS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct IO_IRP_EXT_TRACK_OFFSET_HEADER { pub Validation: u16, pub Flags: u16, diff --git a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs index d47e7aff3b..01c70ac439 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Kernel/mod.rs @@ -183,7 +183,7 @@ impl Default for CSTRING { } #[repr(C)] #[cfg(feature = "Win32_System_Diagnostics_Debug")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct EXCEPTION_REGISTRATION_RECORD { pub Next: *mut EXCEPTION_REGISTRATION_RECORD, pub Handler: EXCEPTION_ROUTINE, 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 bd7e643dc3..972fb9265b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/mod.rs @@ -10143,7 +10143,7 @@ impl Default for OLEMENUGROUPWIDTHS { } #[repr(C)] #[cfg(feature = "Win32_Media")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIBUSYA { pub cbStruct: u32, pub dwFlags: BUSY_DIALOG_FLAGS, @@ -10169,7 +10169,7 @@ impl Default for OLEUIBUSYA { } #[repr(C)] #[cfg(feature = "Win32_Media")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIBUSYW { pub cbStruct: u32, pub dwFlags: BUSY_DIALOG_FLAGS, @@ -10194,7 +10194,7 @@ impl Default for OLEUIBUSYW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUICHANGEICONA { pub cbStruct: u32, pub dwFlags: CHANGE_ICON_FLAGS, @@ -10219,7 +10219,7 @@ impl Default for OLEUICHANGEICONA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUICHANGEICONW { pub cbStruct: u32, pub dwFlags: CHANGE_ICON_FLAGS, @@ -10245,7 +10245,7 @@ impl Default for OLEUICHANGEICONW { } #[repr(C)] #[cfg(feature = "Win32_UI_Controls_Dialogs")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUICHANGESOURCEA { pub cbStruct: u32, pub dwFlags: CHANGE_SOURCE_FLAGS, @@ -10283,7 +10283,7 @@ impl Default for OLEUICHANGESOURCEA { } #[repr(C)] #[cfg(feature = "Win32_UI_Controls_Dialogs")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUICHANGESOURCEW { pub cbStruct: u32, pub dwFlags: CHANGE_SOURCE_FLAGS, @@ -10320,7 +10320,7 @@ impl Default for OLEUICHANGESOURCEW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUICONVERTA { pub cbStruct: u32, pub dwFlags: UI_CONVERT_FLAGS, @@ -10354,7 +10354,7 @@ impl Default for OLEUICONVERTA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUICONVERTW { pub cbStruct: u32, pub dwFlags: UI_CONVERT_FLAGS, @@ -10388,7 +10388,7 @@ impl Default for OLEUICONVERTW { } } #[repr(C)] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIEDITLINKSA { pub cbStruct: u32, pub dwFlags: EDIT_LINKS_FLAGS, @@ -10415,7 +10415,7 @@ impl Default for OLEUIEDITLINKSA { } } #[repr(C)] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIEDITLINKSW { pub cbStruct: u32, pub dwFlags: EDIT_LINKS_FLAGS, @@ -10443,7 +10443,7 @@ impl Default for OLEUIEDITLINKSW { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIGNRLPROPSA { pub cbStruct: u32, pub dwFlags: u32, @@ -10465,7 +10465,7 @@ impl Default for OLEUIGNRLPROPSA { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIGNRLPROPSW { pub cbStruct: u32, pub dwFlags: u32, @@ -10487,7 +10487,7 @@ impl Default for OLEUIGNRLPROPSW { } #[repr(C)] #[cfg(feature = "Win32_System_Com_StructuredStorage")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIINSERTOBJECTA { pub cbStruct: u32, pub dwFlags: INSERT_OBJECT_FLAGS, @@ -10530,7 +10530,7 @@ impl Default for OLEUIINSERTOBJECTA { } #[repr(C)] #[cfg(feature = "Win32_System_Com_StructuredStorage")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIINSERTOBJECTW { pub cbStruct: u32, pub dwFlags: INSERT_OBJECT_FLAGS, @@ -10573,7 +10573,7 @@ impl Default for OLEUIINSERTOBJECTW { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUILINKPROPSA { pub cbStruct: u32, pub dwFlags: u32, @@ -10595,7 +10595,7 @@ impl Default for OLEUILINKPROPSA { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUILINKPROPSW { pub cbStruct: u32, pub dwFlags: u32, @@ -10719,7 +10719,7 @@ impl Default for OLEUIPASTEENTRYW { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIPASTESPECIALA { pub cbStruct: u32, pub dwFlags: PASTE_SPECIAL_FLAGS, @@ -10760,7 +10760,7 @@ impl Default for OLEUIPASTESPECIALA { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct OLEUIPASTESPECIALW { pub cbStruct: u32, pub dwFlags: PASTE_SPECIAL_FLAGS, @@ -10801,7 +10801,7 @@ impl Default for OLEUIPASTESPECIALW { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIVIEWPROPSA { pub cbStruct: u32, pub dwFlags: VIEW_OBJECT_PROPERTIES_FLAGS, @@ -10825,7 +10825,7 @@ impl Default for OLEUIVIEWPROPSA { } #[repr(C)] #[cfg(all(feature = "Win32_Graphics_Gdi", feature = "Win32_UI_Controls", feature = "Win32_UI_WindowsAndMessaging"))] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct OLEUIVIEWPROPSW { pub cbStruct: u32, pub dwFlags: VIEW_OBJECT_PROPERTIES_FLAGS, 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 04ce3771ee..cb4e3fe384 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/mod.rs @@ -5524,7 +5524,7 @@ pub const LegacyTraceSessionCollection: windows_core::GUID = windows_core::GUID: pub const LogFileItem: windows_core::GUID = windows_core::GUID::from_u128(0x16ec5be8_df93_4237_94e4_9ee918111d71); pub const LogFiles: windows_core::GUID = windows_core::GUID::from_u128(0x2735d9fd_f6b9_4f19_a5d9_e2d068584bc5); #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PDH_BROWSE_DLG_CONFIG_A { pub _bitfield: u32, pub hWndOwner: super::super::Foundation::HWND, @@ -5546,7 +5546,7 @@ impl Default for PDH_BROWSE_DLG_CONFIG_A { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PDH_BROWSE_DLG_CONFIG_HA { pub _bitfield: u32, pub hWndOwner: super::super::Foundation::HWND, @@ -5568,7 +5568,7 @@ impl Default for PDH_BROWSE_DLG_CONFIG_HA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PDH_BROWSE_DLG_CONFIG_HW { pub _bitfield: u32, pub hWndOwner: super::super::Foundation::HWND, @@ -5590,7 +5590,7 @@ impl Default for PDH_BROWSE_DLG_CONFIG_HW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PDH_BROWSE_DLG_CONFIG_W { pub _bitfield: u32, pub hWndOwner: super::super::Foundation::HWND, @@ -6485,7 +6485,7 @@ impl Default for PERF_OBJECT_TYPE { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PERF_PROVIDER_CONTEXT { pub ContextSize: u32, pub Reserved: u32, 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 515949a40d..c47c7b1502 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Power/mod.rs @@ -1829,7 +1829,7 @@ impl Default for CM_POWER_DATA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DEVICE_NOTIFY_SUBSCRIBE_PARAMETERS { pub Callback: PDEVICE_NOTIFY_CALLBACK_ROUTINE, pub Context: *mut core::ffi::c_void, diff --git a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs index ebc6a8eae7..e736df9543 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Registry/mod.rs @@ -2030,7 +2030,7 @@ impl Default for PVALUEW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct REG_PROVIDER { pub pi_R0_1val: PQUERYHANDLER, pub pi_R0_allvals: PQUERYHANDLER, 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 0a3024a898..4e980c76d6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/mod.rs @@ -5867,7 +5867,7 @@ impl Default for CHANNEL_DEF { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CHANNEL_ENTRY_POINTS { pub cbSize: u32, pub protocolVersion: u32, 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 53932c4a53..af17696922 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/mod.rs @@ -2159,7 +2159,7 @@ impl windows_core::TypeKind for WSMAN_SESSION_HANDLE { type TypeKind = windows_core::CopyType; } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WSMAN_SHELL_ASYNC { pub operationContext: *mut core::ffi::c_void, pub completionFunction: WSMAN_SHELL_COMPLETION_FUNCTION, diff --git a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs index d04fd57b66..6fcd8ed0e4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Rpc/mod.rs @@ -4011,7 +4011,7 @@ impl Default for FULL_PTR_XLAT_TABLES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct GENERIC_BINDING_INFO { pub pObj: *mut core::ffi::c_void, pub Size: u32, @@ -4027,7 +4027,7 @@ impl Default for GENERIC_BINDING_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct GENERIC_BINDING_ROUTINE_PAIR { pub pfnBind: GENERIC_BINDING_ROUTINE, pub pfnUnbind: GENERIC_UNBIND_ROUTINE, @@ -4041,7 +4041,7 @@ impl Default for GENERIC_BINDING_ROUTINE_PAIR { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct I_RpcProxyCallbackInterface { pub IsValidMachineFn: I_RpcProxyIsValidMachineFn, pub GetClientAddressFn: I_RpcProxyGetClientAddressFn, @@ -4247,7 +4247,7 @@ impl Default for MIDL_STUB_DESC_0 { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct MIDL_STUB_MESSAGE { pub RpcMsg: *mut RPC_MESSAGE, pub Buffer: *mut u8, @@ -5431,7 +5431,7 @@ impl Default for NDR_CS_ROUTINES { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct NDR_CS_SIZE_CONVERT_ROUTINES { pub pfnNetSize: CS_TYPE_NET_SIZE_ROUTINE, pub pfnToNetCs: CS_TYPE_TO_NETCS_ROUTINE, @@ -5625,7 +5625,7 @@ impl Default for RPC_ASYNC_NOTIFICATION_INFO { } #[repr(C)] #[cfg(feature = "Win32_System_IO")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RPC_ASYNC_NOTIFICATION_INFO_0 { pub NotificationRoutine: PFN_RPCNOTIFICATION_ROUTINE, pub hThread: super::super::Foundation::HANDLE, @@ -6072,7 +6072,7 @@ impl Default for RPC_C_OPT_COOKIE_AUTH_DESCRIPTOR { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RPC_DISPATCH_TABLE { pub DispatchTableCount: u32, pub DispatchTable: RPC_DISPATCH_FUNCTION, @@ -6368,7 +6368,7 @@ impl Default for RPC_IMPORT_CONTEXT_P { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RPC_INTERFACE_TEMPLATEA { pub Version: u32, pub IfSpec: *mut core::ffi::c_void, @@ -6391,7 +6391,7 @@ impl Default for RPC_INTERFACE_TEMPLATEA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct RPC_INTERFACE_TEMPLATEW { pub Version: u32, pub IfSpec: *mut core::ffi::c_void, @@ -6988,7 +6988,7 @@ impl Default for USER_MARSHAL_CB { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct USER_MARSHAL_ROUTINE_QUADRUPLE { pub pfnBufferSize: USER_MARSHAL_SIZING_ROUTINE, pub pfnMarshall: USER_MARSHAL_MARSHALLING_ROUTINE, @@ -7019,7 +7019,7 @@ impl Default for UUID_VECTOR { } #[repr(C)] #[cfg(feature = "Win32_System_Com")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct XMIT_ROUTINE_QUINTUPLE { pub pfnTranslateToXmit: XMIT_HELPER_ROUTINE, pub pfnTranslateFromXmit: XMIT_HELPER_ROUTINE, 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 3b8585790c..022c12a93c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/mod.rs @@ -16187,7 +16187,7 @@ impl Default for SUBSCRIPTIONITEMINFO { } pub const SubscriptionMgr: windows_core::GUID = windows_core::GUID::from_u128(0xabbe31d0_6dae_11d0_beca_00c04fd940be); #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct TEXT_SOURCE { pub pfnFillTextBuffer: PFNFILLTEXTBUFFER, pub awcBuffer: windows_core::PCWSTR, diff --git a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs index 3ec4c485a3..546b9dd0ed 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Services/mod.rs @@ -1347,7 +1347,7 @@ impl Default for SERVICE_LAUNCH_PROTECTED_INFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_NOTIFY_1 { pub dwVersion: u32, pub pfnNotifyCallback: PFN_SC_NOTIFY_CALLBACK, @@ -1364,7 +1364,7 @@ impl Default for SERVICE_NOTIFY_1 { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_NOTIFY_2A { pub dwVersion: u32, pub pfnNotifyCallback: PFN_SC_NOTIFY_CALLBACK, @@ -1383,7 +1383,7 @@ impl Default for SERVICE_NOTIFY_2A { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_NOTIFY_2W { pub dwVersion: u32, pub pfnNotifyCallback: PFN_SC_NOTIFY_CALLBACK, @@ -1537,7 +1537,7 @@ impl Default for SERVICE_STATUS_PROCESS { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_TABLE_ENTRYA { pub lpServiceName: windows_core::PSTR, pub lpServiceProc: LPSERVICE_MAIN_FUNCTIONA, @@ -1551,7 +1551,7 @@ impl Default for SERVICE_TABLE_ENTRYA { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SERVICE_TABLE_ENTRYW { pub lpServiceName: windows_core::PWSTR, pub lpServiceProc: LPSERVICE_MAIN_FUNCTIONW, 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 bfa8347b10..0b5fd27797 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/mod.rs @@ -3701,7 +3701,7 @@ impl Default for OVERRIDE_PREFETCH_PARAMETER { } #[repr(C)] #[cfg(feature = "Win32_System_Kernel")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct PEB { pub Reserved1: [u8; 2], pub BeingDebugged: u8, @@ -4369,7 +4369,7 @@ impl Default for TP_POOL_STACK_INFORMATION { } #[repr(C)] #[cfg(feature = "Win32_System_SystemServices")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct UMS_SCHEDULER_STARTUP_INFO { pub UmsVersion: u32, pub CompletionList: *mut core::ffi::c_void, 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 b66ac1b649..8cd90f7d27 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/mod.rs @@ -7040,7 +7040,7 @@ impl Default for MI_Interval { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MI_MethodDecl { pub flags: u32, pub code: u32, @@ -7065,7 +7065,7 @@ impl Default for MI_MethodDecl { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MI_Module { pub version: u32, pub generatorVersion: u32, @@ -7131,7 +7131,7 @@ impl Default for MI_Operation { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MI_OperationCallbacks { pub callbackContext: *mut core::ffi::c_void, pub promptUser: MI_OperationCallback_PromptUser, @@ -7320,7 +7320,7 @@ impl Default for MI_PropertySetFT { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MI_ProviderFT { pub Load: MI_ProviderFT_Load, pub Unload: MI_ProviderFT_Unload, 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 1ed74baa1d..2c27ba8524 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/mod.rs @@ -1298,7 +1298,7 @@ impl Default for COLOR_0 { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COLORMATCHSETUPA { pub dwSize: u32, pub dwVersion: u32, @@ -1332,7 +1332,7 @@ impl Default for COLORMATCHSETUPA { } #[repr(C)] #[cfg(feature = "Win32_UI_WindowsAndMessaging")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct COLORMATCHSETUPW { pub dwSize: u32, pub dwVersion: u32, 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 ebab967391..54bf26d266 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/mod.rs @@ -11491,7 +11491,7 @@ impl Default for BUTTON_SPLITINFO { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CCINFOA { pub szClass: [i8; 32], pub flOptions: u32, @@ -11521,7 +11521,7 @@ impl Default for CCINFOA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct CCINFOW { pub szClass: [u16; 32], pub flOptions: u32, @@ -11830,7 +11830,7 @@ impl Default for DTBGOPTS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct DTTOPTS { pub dwSize: u32, pub dwFlags: DTTOPTS_FLAGS, @@ -12506,7 +12506,7 @@ impl Default for LVHITTESTINFO { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct LVINSERTGROUPSORTED { pub pfnGroupCompare: PFNLVGROUPCOMPARE, pub pvData: *mut core::ffi::c_void, @@ -16144,7 +16144,7 @@ impl Default for TVITEMW { } } #[repr(C)] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct TVSORTCB { pub hParent: HTREEITEM, pub lpfnCompare: PFNTVCOMPARE, 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 bfb850bbf3..f5cf3ccc3f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/mod.rs @@ -33951,7 +33951,7 @@ impl Default for BASEBROWSERDATAXP { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell_Common")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BROWSEINFOA { pub hwndOwner: super::super::Foundation::HWND, pub pidlRoot: *mut Common::ITEMIDLIST, @@ -33974,7 +33974,7 @@ impl Default for BROWSEINFOA { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell_Common")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct BROWSEINFOW { pub hwndOwner: super::super::Foundation::HWND, pub pidlRoot: *mut Common::ITEMIDLIST, @@ -34222,7 +34222,7 @@ impl Default for CREDENTIAL_PROVIDER_FIELD_DESCRIPTOR { } #[repr(C)] #[cfg(all(feature = "Win32_System_Ole", feature = "Win32_UI_Shell_Common"))] -#[derive(Debug)] +#[derive(Debug, Eq, PartialEq)] pub struct CSFV { pub cbSize: u32, pub pshf: core::mem::ManuallyDrop>, @@ -35714,7 +35714,7 @@ impl Default for SFVM_HELPTOPIC_DATA { } #[repr(C)] #[cfg(feature = "Win32_UI_Controls")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct SFVM_PROPPAGE_DATA { pub dwReserved: u32, pub pfn: super::Controls::LPFNSVADDPROPSHEETPAGE, diff --git a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs index de9c001724..3c9ed3b423 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/WindowsAndMessaging/mod.rs @@ -8910,7 +8910,7 @@ impl Default for MSG { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MSGBOXPARAMSA { pub cbSize: u32, pub hwndOwner: super::super::Foundation::HWND, @@ -8935,7 +8935,7 @@ impl Default for MSGBOXPARAMSA { } #[repr(C)] #[cfg(feature = "Win32_UI_Shell")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct MSGBOXPARAMSW { pub cbSize: u32, pub hwndOwner: super::super::Foundation::HWND, @@ -9310,7 +9310,7 @@ impl Default for WINDOWPOS { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WNDCLASSA { pub style: WNDCLASS_STYLES, pub lpfnWndProc: WNDPROC, @@ -9335,7 +9335,7 @@ impl Default for WNDCLASSA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WNDCLASSEXA { pub cbSize: u32, pub style: WNDCLASS_STYLES, @@ -9362,7 +9362,7 @@ impl Default for WNDCLASSEXA { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WNDCLASSEXW { pub cbSize: u32, pub style: WNDCLASS_STYLES, @@ -9389,7 +9389,7 @@ impl Default for WNDCLASSEXW { } #[repr(C)] #[cfg(feature = "Win32_Graphics_Gdi")] -#[derive(Clone, Copy, Debug)] +#[derive(Clone, Copy, Debug, Eq, PartialEq)] pub struct WNDCLASSW { pub style: WNDCLASS_STYLES, pub lpfnWndProc: WNDPROC,