diff --git a/crates/libs/bindgen/src/rust/implements.rs b/crates/libs/bindgen/src/rust/implements.rs index f16473d259..4d38a5201b 100644 --- a/crates/libs/bindgen/src/rust/implements.rs +++ b/crates/libs/bindgen/src/rust/implements.rs @@ -29,7 +29,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { } } - let mut matches = quote! { *iid == <#type_ident as ::windows_core::ComInterface>::IID }; + let mut matches = quote! { iid == &<#type_ident as ::windows_core::ComInterface>::IID }; if let Some(metadata::Type::TypeDef(def, _)) = vtables.last() { requires.combine(&gen_required_trait(writer, *def, &[])) @@ -40,7 +40,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { let name = writer.type_def_name(*def, generics); matches.combine("e! { - || *iid == <#name as ::windows_core::ComInterface>::IID + || iid == &<#name as ::windows_core::ComInterface>::IID }) } } @@ -143,7 +143,7 @@ pub fn writer(writer: &Writer, def: metadata::TypeDef) -> TokenStream { #(#named_phantoms)* } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + pub fn matches(iid: &::windows_core::GUID) -> bool { #matches } } diff --git a/crates/libs/core/src/imp/weak_ref_count.rs b/crates/libs/core/src/imp/weak_ref_count.rs index 30f25ea8f9..038147a2d0 100644 --- a/crates/libs/core/src/imp/weak_ref_count.rs +++ b/crates/libs/core/src/imp/weak_ref_count.rs @@ -32,8 +32,8 @@ impl WeakRefCount { } /// # Safety - pub unsafe fn query(&self, iid: *const crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { - if *iid != IWeakReferenceSource::IID { + pub unsafe fn query(&self, iid: &crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { + if iid != &IWeakReferenceSource::IID { return std::ptr::null_mut(); } diff --git a/crates/libs/implement/src/lib.rs b/crates/libs/implement/src/lib.rs index cd3a7ca849..75eb526acc 100644 --- a/crates/libs/implement/src/lib.rs +++ b/crates/libs/implement/src/lib.rs @@ -133,9 +133,11 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: return ::windows::core::HRESULT(-2147467261); // E_POINTER } - *interface = if *iid == <::windows::core::IUnknown as ::windows::core::ComInterface>::IID - || *iid == <::windows::core::IInspectable as ::windows::core::ComInterface>::IID - || *iid == <::windows::core::imp::IAgileObject as ::windows::core::ComInterface>::IID { + let iid = &*iid; + + *interface = if iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID + || iid == &<::windows::core::IInspectable as ::windows::core::ComInterface>::IID + || iid == &<::windows::core::imp::IAgileObject as ::windows::core::ComInterface>::IID { &self.identity as *const _ as *mut _ } #(#queries)* else { ::core::ptr::null_mut() diff --git a/crates/libs/interface/src/lib.rs b/crates/libs/interface/src/lib.rs index 198a431538..16301095b3 100644 --- a/crates/libs/interface/src/lib.rs +++ b/crates/libs/interface/src/lib.rs @@ -258,8 +258,8 @@ impl Interface { Self { base__: #parent_vtable::new::<#parent_vtable_generics>(), #(#entries),* } } - pub unsafe fn matches(iid: *const windows::core::GUID) -> bool { - *iid == <#name as ::windows::core::ComInterface>::IID + pub fn matches(iid: &windows::core::GUID) -> bool { + iid == &<#name as ::windows::core::ComInterface>::IID } } } diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs index 8151c42eeb..10264b561d 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs @@ -63,8 +63,8 @@ impl ILearningModelFeatureDescriptor_Vtbl { IsRequired: IsRequired::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILearningModelFeatureValue_Impl: Sized { @@ -88,8 +88,8 @@ impl ILearningModelFeatureValue_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILearningModelOperatorProvider_Impl: Sized {} @@ -100,8 +100,8 @@ impl ILearningModelOperatorProvider_Vtbl { pub const fn new, Impl: ILearningModelOperatorProvider_Impl, const OFFSET: isize>() -> ILearningModelOperatorProvider_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -146,7 +146,7 @@ impl ITensor_Vtbl { Shape: Shape::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index 2ec4aaced5..71e8de904a 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -49,8 +49,8 @@ impl IActivatedEventArgs_Vtbl { SplashScreen: SplashScreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"System\"`"] @@ -79,8 +79,8 @@ impl IActivatedEventArgsWithUser_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationViewActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -107,8 +107,8 @@ impl IApplicationViewActivatedEventArgs_Vtbl { CurrentlyShownApplicationViewId: CurrentlyShownApplicationViewId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppointmentsProviderActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -136,8 +136,8 @@ impl IAppointmentsProviderActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`"] @@ -169,8 +169,8 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { AddAppointmentOperation: AddAppointmentOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`"] @@ -202,8 +202,8 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { RemoveAppointmentOperation: RemoveAppointmentOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Appointments_AppointmentsProvider\"`"] @@ -235,8 +235,8 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { ReplaceAppointmentOperation: ReplaceAppointmentOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl + IAppointmentsProviderActivatedEventArgs_Impl { @@ -292,8 +292,8 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { RoamingId: RoamingId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppointmentsProviderShowTimeFrameActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl + IAppointmentsProviderActivatedEventArgs_Impl { @@ -333,8 +333,8 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { Duration: Duration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Background\"`"] @@ -366,8 +366,8 @@ impl IBackgroundActivatedEventArgs_Vtbl { TaskInstance: TaskInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBarcodeScannerPreviewActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -395,8 +395,8 @@ impl IBarcodeScannerPreviewActivatedEventArgs_Vtbl { ConnectionId: ConnectionId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Provider\"`"] @@ -428,8 +428,8 @@ impl ICachedFileUpdaterActivatedEventArgs_Vtbl { CachedFileUpdaterUI: CachedFileUpdaterUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICameraSettingsActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -471,8 +471,8 @@ impl ICameraSettingsActivatedEventArgs_Vtbl { VideoDeviceExtension: VideoDeviceExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommandLineActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -500,8 +500,8 @@ impl ICommandLineActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -526,8 +526,8 @@ impl IContactActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -587,8 +587,8 @@ impl IContactCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -634,8 +634,8 @@ impl IContactMapActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -695,8 +695,8 @@ impl IContactMessageActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -742,8 +742,8 @@ impl IContactPanelActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts_Provider\"`"] @@ -775,8 +775,8 @@ impl IContactPickerActivatedEventArgs_Vtbl { ContactPickerUI: ContactPickerUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -836,8 +836,8 @@ impl IContactPostActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Contacts\"`"] @@ -897,8 +897,8 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactsProviderActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -923,8 +923,8 @@ impl IContactsProviderActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -956,8 +956,8 @@ impl IContinuationActivatedEventArgs_Vtbl { ContinuationData: ContinuationData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeviceActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -999,8 +999,8 @@ impl IDeviceActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Devices_Enumeration\"`"] @@ -1032,8 +1032,8 @@ impl IDevicePairingActivatedEventArgs_Vtbl { DeviceInformation: DeviceInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDialReceiverActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl + ILaunchActivatedEventArgs_Impl { @@ -1061,8 +1061,8 @@ impl IDialReceiverActivatedEventArgs_Vtbl { AppName: AppName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage\"`"] @@ -1108,8 +1108,8 @@ impl IFileActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileActivatedEventArgsWithCallerPackageFamilyName_Impl: Sized + IActivatedEventArgs_Impl { @@ -1137,8 +1137,8 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage_Search\"`"] @@ -1170,8 +1170,8 @@ impl IFileActivatedEventArgsWithNeighboringFiles_Vtbl { NeighboringFilesQuery: NeighboringFilesQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Pickers_Provider\"`"] @@ -1203,8 +1203,8 @@ impl IFileOpenPickerActivatedEventArgs_Vtbl { FileOpenPickerUI: FileOpenPickerUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileOpenPickerActivatedEventArgs2_Impl: Sized { @@ -1232,8 +1232,8 @@ impl IFileOpenPickerActivatedEventArgs2_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`"] @@ -1265,8 +1265,8 @@ impl IFileOpenPickerContinuationEventArgs_Vtbl { Files: Files::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Pickers_Provider\"`"] @@ -1298,8 +1298,8 @@ impl IFileSavePickerActivatedEventArgs_Vtbl { FileSavePickerUI: FileSavePickerUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileSavePickerActivatedEventArgs2_Impl: Sized { @@ -1341,8 +1341,8 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { EnterpriseId: EnterpriseId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`"] @@ -1371,8 +1371,8 @@ impl IFileSavePickerContinuationEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), File: File:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`"] @@ -1404,8 +1404,8 @@ impl IFolderPickerContinuationEventArgs_Vtbl { Folder: Folder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1447,8 +1447,8 @@ impl ILaunchActivatedEventArgs_Vtbl { TileId: TileId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchActivatedEventArgs2_Impl: Sized + IActivatedEventArgs_Impl + ILaunchActivatedEventArgs_Impl { @@ -1476,8 +1476,8 @@ impl ILaunchActivatedEventArgs2_Vtbl { TileActivatedInfo: TileActivatedInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILockScreenActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1502,8 +1502,8 @@ impl ILockScreenActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Info: Info:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Calls\"`"] @@ -1535,8 +1535,8 @@ impl ILockScreenCallActivatedEventArgs_Vtbl { CallUI: CallUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhoneCallActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1560,8 +1560,8 @@ impl IPhoneCallActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), LineId: LineId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPickerReturnedActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1589,8 +1589,8 @@ impl IPickerReturnedActivatedEventArgs_Vtbl { PickerOperationId: PickerOperationId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrelaunchActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1617,8 +1617,8 @@ impl IPrelaunchActivatedEventArgs_Vtbl { PrelaunchActivated: PrelaunchActivated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Devices_Printers_Extensions\"`"] @@ -1650,8 +1650,8 @@ impl IPrint3DWorkflowActivatedEventArgs_Vtbl { Workflow: Workflow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Devices_Printers_Extensions\"`"] @@ -1683,8 +1683,8 @@ impl IPrintTaskSettingsActivatedEventArgs_Vtbl { Configuration: Configuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProtocolActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1709,8 +1709,8 @@ impl IProtocolActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Uri: Uri:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -1756,8 +1756,8 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { Data: Data::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"System\"`"] @@ -1789,8 +1789,8 @@ impl IProtocolForResultsActivatedEventArgs_Vtbl { ProtocolForResultsOperation: ProtocolForResultsOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRestrictedLaunchActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1818,8 +1818,8 @@ impl IRestrictedLaunchActivatedEventArgs_Vtbl { SharedContext: SharedContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1861,8 +1861,8 @@ impl ISearchActivatedEventArgs_Vtbl { Language: Language::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Search\"`"] @@ -1894,8 +1894,8 @@ impl ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_DataTransfer_ShareTarget\"`"] @@ -1927,8 +1927,8 @@ impl IShareTargetActivatedEventArgs_Vtbl { ShareOperation: ShareOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStartupTaskActivatedEventArgs_Impl: Sized + IActivatedEventArgs_Impl { @@ -1953,8 +1953,8 @@ impl IStartupTaskActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), TaskId: TaskId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -2000,8 +2000,8 @@ impl IToastNotificationActivatedEventArgs_Vtbl { UserInput: UserInput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_UserDataAccounts_Provider\"`"] @@ -2033,8 +2033,8 @@ impl IUserDataAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"UI_ViewManagement\"`"] @@ -2066,8 +2066,8 @@ impl IViewSwitcherProvider_Vtbl { ViewSwitcher: ViewSwitcher::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Media_SpeechRecognition\"`"] @@ -2096,8 +2096,8 @@ impl IVoiceCommandActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Result: Result:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"ApplicationModel_Wallet\"`, `\"deprecated\"`"] @@ -2156,8 +2156,8 @@ impl IWalletActionActivatedEventArgs_Vtbl { ActionId: ActionId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Security_Authentication_Web_Provider\"`"] @@ -2189,8 +2189,8 @@ impl IWebAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Security_Authentication_Web\"`"] @@ -2222,7 +2222,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs_Vtbl { WebAuthenticationResult: WebAuthenticationResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs index 3ccd405b18..46ce7f655f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs @@ -51,7 +51,7 @@ impl IAppointmentParticipant_Vtbl { SetAddress: SetAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs index aa27e2a5f4..981d79dd36 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs @@ -6,8 +6,8 @@ impl IBackgroundCondition_Vtbl { pub const fn new, Impl: IBackgroundCondition_Impl, const OFFSET: isize>() -> IBackgroundCondition_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTask_Impl: Sized { @@ -25,8 +25,8 @@ impl IBackgroundTask_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Run: Run:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTaskInstance_Impl: Sized { @@ -148,8 +148,8 @@ impl IBackgroundTaskInstance_Vtbl { GetDeferral: GetDeferral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTaskInstance2_Impl: Sized + IBackgroundTaskInstance_Impl { @@ -176,8 +176,8 @@ impl IBackgroundTaskInstance2_Vtbl { GetThrottleCount: GetThrottleCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"System\"`"] @@ -206,8 +206,8 @@ impl IBackgroundTaskInstance4_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTaskRegistration_Impl: Sized { @@ -295,8 +295,8 @@ impl IBackgroundTaskRegistration_Vtbl { Unregister: Unregister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTaskRegistration2_Impl: Sized + IBackgroundTaskRegistration_Impl { @@ -321,8 +321,8 @@ impl IBackgroundTaskRegistration2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trigger: Trigger:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTaskRegistration3_Impl: Sized + IBackgroundTaskRegistration_Impl { @@ -350,8 +350,8 @@ impl IBackgroundTaskRegistration3_Vtbl { TaskGroup: TaskGroup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTrigger_Impl: Sized {} @@ -362,7 +362,7 @@ impl IBackgroundTrigger_Vtbl { pub const fn new, Impl: IBackgroundTrigger_Impl, const OFFSET: isize>() -> IBackgroundTrigger_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs index fd09b3feb4..226dc44bb9 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs @@ -19,7 +19,7 @@ impl IChatItem_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ItemKind: ItemKind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs index 2e2c256f53..d514ffdc38 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs @@ -63,8 +63,8 @@ impl IContactField_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactFieldFactory_Impl: Sized { @@ -120,8 +120,8 @@ impl IContactFieldFactory_Vtbl { CreateField_Custom: CreateField_Custom::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactInstantMessageFieldFactory_Impl: Sized { @@ -177,8 +177,8 @@ impl IContactInstantMessageFieldFactory_Vtbl { CreateInstantMessage_All: CreateInstantMessage_All::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactLocationFieldFactory_Impl: Sized { @@ -234,7 +234,7 @@ impl IContactLocationFieldFactory_Vtbl { CreateLocation_All: CreateLocation_All::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs index e4ef4dbc47..b92ffc07df 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs @@ -29,8 +29,8 @@ impl ICoreApplicationUnhandledError_Vtbl { RemoveUnhandledErrorDetected: RemoveUnhandledErrorDetected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"UI_Core\"`"] @@ -83,8 +83,8 @@ impl IFrameworkView_Vtbl { Uninitialize: Uninitialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFrameworkViewSource_Impl: Sized { @@ -109,7 +109,7 @@ impl IFrameworkViewSource_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateView: CreateView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs index d9ee419492..0f2622a502 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs @@ -65,7 +65,7 @@ impl ICoreDropOperationTarget_Vtbl { DropAsync: DropAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs index d410de1839..6c04bbbf3c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs @@ -55,7 +55,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs index 48b312c2ce..52e45692d5 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs @@ -20,7 +20,7 @@ impl IUserActivityContentInfo_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs index 209d576f67..ea01d6fd69 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs @@ -19,7 +19,7 @@ impl IUserDataAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs index 836382f0c8..20f8841922 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs @@ -23,8 +23,8 @@ impl IEnteredBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILeavingBackgroundEventArgs_Impl: Sized { @@ -52,8 +52,8 @@ impl ILeavingBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPackageCatalogStatics2_Impl: Sized { @@ -81,8 +81,8 @@ impl IPackageCatalogStatics2_Vtbl { OpenForPackage: OpenForPackage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISuspendingDeferral_Impl: Sized { @@ -100,8 +100,8 @@ impl ISuspendingDeferral_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Complete: Complete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISuspendingEventArgs_Impl: Sized { @@ -129,8 +129,8 @@ impl ISuspendingEventArgs_Vtbl { SuspendingOperation: SuspendingOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISuspendingOperation_Impl: Sized { @@ -171,7 +171,7 @@ impl ISuspendingOperation_Vtbl { Deadline: Deadline::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Json/impl.rs b/crates/libs/windows/src/Windows/Data/Json/impl.rs index bab0eb6669..14b1154e74 100644 --- a/crates/libs/windows/src/Windows/Data/Json/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Json/impl.rs @@ -104,7 +104,7 @@ impl IJsonValue_Vtbl { GetObject: GetObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs index e4e91cadf7..fce70a2326 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs @@ -85,8 +85,8 @@ impl IXmlCharacterData_Vtbl { ReplaceData: ReplaceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlNode_Impl: Sized + IXmlNodeSelector_Impl + IXmlNodeSerializer_Impl { @@ -399,8 +399,8 @@ impl IXmlNode_Vtbl { SetPrefix: SetPrefix::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlNodeSelector_Impl: Sized { @@ -470,8 +470,8 @@ impl IXmlNodeSelector_Vtbl { SelectNodesNS: SelectNodesNS::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlNodeSerializer_Impl: Sized { @@ -520,8 +520,8 @@ impl IXmlNodeSerializer_Vtbl { SetInnerText: SetInnerText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlText_Impl: Sized + IXmlCharacterData_Impl + IXmlNode_Impl + IXmlNodeSelector_Impl + IXmlNodeSerializer_Impl { @@ -546,7 +546,7 @@ impl IXmlText_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SplitText: SplitText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs index 1c649ebb08..6ca8f98426 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs @@ -121,8 +121,8 @@ impl IAdcControllerProvider_Vtbl { ReadValue: ReadValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -151,7 +151,7 @@ impl IAdcProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs index 51bab09f76..e5995bd775 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs @@ -74,7 +74,7 @@ impl IIOControlCode_Vtbl { ControlCode: ControlCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs index 3c36cc841c..3cc37bb778 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs @@ -6,7 +6,7 @@ impl IDevicePairingSettings_Vtbl { pub const fn new, Impl: IDevicePairingSettings_Impl, const OFFSET: isize>() -> IDevicePairingSettings_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs index 1dc6ed82d4..cb7780ed7f 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs @@ -48,7 +48,7 @@ impl IGeoshape_Vtbl { AltitudeReferenceSystem: AltitudeReferenceSystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs index cc5559463b..489684a918 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs @@ -36,8 +36,8 @@ impl IGpioControllerProvider_Vtbl { OpenPinProvider: OpenPinProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGpioPinProvider_Impl: Sized { @@ -170,8 +170,8 @@ impl IGpioPinProvider_Vtbl { Read: Read::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -200,7 +200,7 @@ impl IGpioProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index 3f0033c2d0..482e6e94aa 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -23,8 +23,8 @@ impl II2cControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait II2cDeviceProvider_Impl: Sized + super::super::super::Foundation::IClosable_Impl { @@ -112,8 +112,8 @@ impl II2cDeviceProvider_Vtbl { WriteReadPartial: WriteReadPartial::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -145,7 +145,7 @@ impl II2cProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs index d31a9534ac..0cc50d4d89 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs @@ -51,7 +51,7 @@ impl II2cDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs index 3376458e97..427c3fdd1b 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs @@ -29,7 +29,7 @@ impl ILampArrayEffect_Vtbl { SetZIndex: SetZIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs index 4b8fc0e742..c5fe2046f2 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs @@ -53,8 +53,8 @@ impl IMidiMessage_Vtbl { Type: Type::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -100,7 +100,7 @@ impl IMidiOutPort_Vtbl { DeviceId: DeviceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs index 520ba92a79..f5f3ffe08d 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs @@ -23,8 +23,8 @@ impl ICashDrawerEventSourceEventArgs_Vtbl { CashDrawer: CashDrawer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommonClaimedPosPrinterStation_Impl: Sized { @@ -255,8 +255,8 @@ impl ICommonClaimedPosPrinterStation_Vtbl { ValidateData: ValidateData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -444,8 +444,8 @@ impl ICommonPosPrintStationCapabilities_Vtbl { SupportedCharactersPerLine: SupportedCharactersPerLine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -582,8 +582,8 @@ impl ICommonReceiptSlipCapabilities_Vtbl { SupportedBitmapRotations: SupportedBitmapRotations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPosPrinterJob_Impl: Sized { @@ -632,8 +632,8 @@ impl IPosPrinterJob_Vtbl { ExecuteAsync: ExecuteAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Graphics_Imaging\"`"] @@ -756,7 +756,7 @@ impl IReceiptOrSlipJob_Vtbl { PrintBitmapCustomWidthCustomAlign: PrintBitmapCustomWidthCustomAlign::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs index 604b594906..9adcad0462 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs @@ -109,8 +109,8 @@ impl IPwmControllerProvider_Vtbl { SetPulseParameters: SetPulseParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -139,7 +139,7 @@ impl IPwmProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs index f9932d68aa..dd6c53b7a3 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs @@ -55,8 +55,8 @@ impl IImageScannerFormatConfiguration_Vtbl { IsFormatSupported: IsFormatSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IImageScannerSourceConfiguration_Impl: Sized + IImageScannerFormatConfiguration_Impl { @@ -411,7 +411,7 @@ impl IImageScannerSourceConfiguration_Vtbl { SetContrast: SetContrast::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs index f06a974be4..9290d352f7 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs @@ -65,8 +65,8 @@ impl IHumanPresenceSensorExtension_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISensorDataThreshold_Impl: Sized {} @@ -77,7 +77,7 @@ impl ISensorDataThreshold_Vtbl { pub const fn new, Impl: ISensorDataThreshold_Impl, const OFFSET: isize>() -> ISensorDataThreshold_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index 6612d0a83c..a51ad8fc7f 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -55,8 +55,8 @@ impl ISmsBinaryMessage_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -195,8 +195,8 @@ impl ISmsDevice_Vtbl { RemoveSmsDeviceStatusChanged: RemoveSmsDeviceStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISmsMessage_Impl: Sized { @@ -236,8 +236,8 @@ impl ISmsMessage_Vtbl { MessageClass: MessageClass::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISmsMessageBase_Impl: Sized { @@ -318,8 +318,8 @@ impl ISmsMessageBase_Vtbl { SimIccId: SimIccId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"deprecated\"`"] @@ -486,7 +486,7 @@ impl ISmsTextMessage_Vtbl { ToBinaryMessages: ToBinaryMessages::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index e8385e654a..ee4efce5a9 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -23,8 +23,8 @@ impl ISpiControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpiDeviceProvider_Impl: Sized + super::super::super::Foundation::IClosable_Impl { @@ -94,8 +94,8 @@ impl ISpiDeviceProvider_Vtbl { TransferFullDuplex: TransferFullDuplex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -127,7 +127,7 @@ impl ISpiProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs index a94bdfc333..77de63f631 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs @@ -65,7 +65,7 @@ impl ISpiDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/impl.rs b/crates/libs/windows/src/Windows/Devices/impl.rs index 327e892a09..dca7b691d7 100644 --- a/crates/libs/windows/src/Windows/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/impl.rs @@ -83,7 +83,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { SpiControllerProvider: SpiControllerProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index dd67726969..0bcf676f89 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -27,8 +27,8 @@ impl IIterable_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IIterator_Impl: Sized @@ -99,8 +99,8 @@ impl IIterator_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IKeyValuePair_Impl: Sized @@ -148,8 +148,8 @@ impl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IMap_Impl: Sized + IIterable_Impl> @@ -250,8 +250,8 @@ impl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IMapChangedEventArgs_Impl: Sized @@ -296,8 +296,8 @@ impl IMapChangedEventArgs_Vtbl { K: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IMapView_Impl: Sized + IIterable_Impl> @@ -364,8 +364,8 @@ impl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IObservableMap_Impl: Sized + IIterable_Impl> + IMap_Impl @@ -405,8 +405,8 @@ impl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IObservableVector_Impl: Sized + IIterable_Impl + IVector_Impl @@ -444,8 +444,8 @@ impl IObservableVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IPropertySet_Impl: Sized + IIterable_Impl> + IMap_Impl<::windows_core::HSTRING, ::windows_core::IInspectable> + IObservableMap_Impl<::windows_core::HSTRING, ::windows_core::IInspectable> {} @@ -456,8 +456,8 @@ impl IPropertySet_Vtbl { pub const fn new, Impl: IPropertySet_Impl, const OFFSET: isize>() -> IPropertySet_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVector_Impl: Sized + IIterable_Impl @@ -591,8 +591,8 @@ impl IVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IVectorChangedEventArgs_Impl: Sized { @@ -632,8 +632,8 @@ impl IVectorChangedEventArgs_Vtbl { Index: Index::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVectorView_Impl: Sized + IIterable_Impl @@ -704,8 +704,8 @@ impl IVectorView_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } #[::windows_implement::implement(IIterable)] diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs index 41fd473b73..54b61b0c90 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs @@ -29,8 +29,8 @@ impl IErrorReportingSettings_Vtbl { GetErrorOptions: GetErrorOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage\"`"] @@ -117,8 +117,8 @@ impl IFileLoggingSession_Vtbl { RemoveLogFileGenerated: RemoveLogFileGenerated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILoggingChannel_Impl: Sized + super::IClosable_Impl { @@ -220,8 +220,8 @@ impl ILoggingChannel_Vtbl { RemoveLoggingEnabled: RemoveLoggingEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage\"`"] @@ -288,8 +288,8 @@ impl ILoggingSession_Vtbl { RemoveLoggingChannel: RemoveLoggingChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILoggingTarget_Impl: Sized { @@ -426,7 +426,7 @@ impl ILoggingTarget_Vtbl { StartActivityWithFieldsAndOptions: StartActivityWithFieldsAndOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/impl.rs b/crates/libs/windows/src/Windows/Foundation/impl.rs index b248ab3e3a..19a3b05865 100644 --- a/crates/libs/windows/src/Windows/Foundation/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/impl.rs @@ -37,8 +37,8 @@ impl IAsyncAction_Vtbl { GetResults: GetResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAsyncActionWithProgress_Impl: Sized + IAsyncInfo_Impl @@ -105,8 +105,8 @@ impl IAsyncActionWithProgress_ TProgress: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IAsyncInfo_Impl: Sized { @@ -173,8 +173,8 @@ impl IAsyncInfo_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAsyncOperation_Impl: Sized + IAsyncInfo_Impl @@ -227,8 +227,8 @@ impl IAsyncOperation_Vtbl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IAsyncOperationWithProgress_Impl: Sized + IAsyncInfo_Impl @@ -304,8 +304,8 @@ impl, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IClosable_Impl: Sized { @@ -323,8 +323,8 @@ impl IClosable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetActivationFactory_Impl: Sized { @@ -352,8 +352,8 @@ impl IGetActivationFactory_Vtbl { GetActivationFactory: GetActivationFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemoryBuffer_Impl: Sized + IClosable_Impl { @@ -378,8 +378,8 @@ impl IMemoryBuffer_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateReference: CreateReference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemoryBufferReference_Impl: Sized + IClosable_Impl { @@ -426,8 +426,8 @@ impl IMemoryBufferReference_Vtbl { RemoveClosed: RemoveClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPropertyValue_Impl: Sized { @@ -835,8 +835,8 @@ impl IPropertyValue_Vtbl { GetRectArray: GetRectArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IReference_Impl: Sized + IPropertyValue_Impl @@ -868,8 +868,8 @@ impl IReference_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IReferenceArray_Impl: Sized + IPropertyValue_Impl @@ -902,8 +902,8 @@ impl IReferenceArray_Vtbl { T: ::core::marker::PhantomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == & as ::windows_core::ComInterface>::IID } } pub trait IStringable_Impl: Sized { @@ -928,8 +928,8 @@ impl IStringable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToString: ToString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWwwFormUrlDecoderEntry_Impl: Sized { @@ -971,7 +971,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs index d575dce37e..a85be80822 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs @@ -37,8 +37,8 @@ impl ICustomGameControllerFactory_Vtbl { OnGameControllerRemoved: OnGameControllerRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGameControllerInputSink_Impl: Sized { @@ -66,8 +66,8 @@ impl IGameControllerInputSink_Vtbl { OnInputSuspended: OnInputSuspended::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGameControllerProvider_Impl: Sized { @@ -146,8 +146,8 @@ impl IGameControllerProvider_Vtbl { IsConnected: IsConnected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGipGameControllerInputSink_Impl: Sized + IGameControllerInputSink_Impl { @@ -175,8 +175,8 @@ impl IGipGameControllerInputSink_Vtbl { OnMessageReceived: OnMessageReceived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHidGameControllerInputSink_Impl: Sized + IGameControllerInputSink_Impl { @@ -197,8 +197,8 @@ impl IHidGameControllerInputSink_Vtbl { OnInputReportReceived: OnInputReportReceived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXusbGameControllerInputSink_Impl: Sized + IGameControllerInputSink_Impl { @@ -219,7 +219,7 @@ impl IXusbGameControllerInputSink_Vtbl { OnInputReceived: OnInputReceived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs index 636fb5ef1e..31d14c52e1 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs @@ -56,7 +56,7 @@ impl IForceFeedbackEffect_Vtbl { Stop: Stop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs index 972612b6ff..162239daf9 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs @@ -114,8 +114,8 @@ impl IGameController_Vtbl { User: User::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Devices_Power\"`"] @@ -147,7 +147,7 @@ impl IGameControllerBatteryInfo_Vtbl { TryGetBatteryReport: TryGetBatteryReport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs index 31d3457ca3..0bee74b574 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs @@ -82,7 +82,7 @@ impl IGameListEntry_Vtbl { SetCategoryAsync: SetCategoryAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs index 9fdd57ed79..b8afb4372f 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs @@ -51,8 +51,8 @@ impl INumberFormatter_Vtbl { FormatDouble: FormatDouble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INumberFormatter2_Impl: Sized { @@ -108,8 +108,8 @@ impl INumberFormatter2_Vtbl { FormatDouble: FormatDouble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -284,8 +284,8 @@ impl INumberFormatterOptions_Vtbl { ResolvedGeographicRegion: ResolvedGeographicRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INumberParser_Impl: Sized { @@ -341,8 +341,8 @@ impl INumberParser_Vtbl { ParseDouble: ParseDouble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INumberRounder_Impl: Sized { @@ -434,8 +434,8 @@ impl INumberRounder_Vtbl { RoundDouble: RoundDouble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INumberRounderOption_Impl: Sized { @@ -470,8 +470,8 @@ impl INumberRounderOption_Vtbl { SetNumberRounder: SetNumberRounder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISignedZeroOption_Impl: Sized { @@ -505,8 +505,8 @@ impl ISignedZeroOption_Vtbl { SetIsZeroSigned: SetIsZeroSigned::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISignificantDigitsOption_Impl: Sized { @@ -540,7 +540,7 @@ impl ISignificantDigitsOption_Vtbl { SetSignificantDigits: SetSignificantDigits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs index 21684ba19b..53db32d78e 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs @@ -13,8 +13,8 @@ impl IDirect3DDevice_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trim: Trim:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DSurface_Impl: Sized + super::super::super::Foundation::IClosable_Impl { @@ -38,7 +38,7 @@ impl IDirect3DSurface_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Description: Description:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs index 387b91435f..322339a385 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs @@ -30,8 +30,8 @@ impl IGraphicsEffect_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGraphicsEffectSource_Impl: Sized {} @@ -42,7 +42,7 @@ impl IGraphicsEffectSource_Vtbl { pub const fn new, Impl: IGraphicsEffectSource_Impl, const OFFSET: isize>() -> IGraphicsEffectSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs index baeff4520b..f35d78d485 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs @@ -173,8 +173,8 @@ impl IBitmapFrame_Vtbl { GetPixelDataTransformedAsync: GetPixelDataTransformedAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -234,8 +234,8 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { GetSoftwareBitmapTransformedAsync: GetSoftwareBitmapTransformedAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -267,7 +267,7 @@ impl IBitmapPropertiesView_Vtbl { GetPropertiesAsync: GetPropertiesAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs index 0d2f06a385..54bc007fe0 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs @@ -30,8 +30,8 @@ impl IPrintCustomOptionDetails_Vtbl { DisplayName: DisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -60,8 +60,8 @@ impl IPrintItemListOptionDetails_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Items: Items:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintNumberOptionDetails_Impl: Sized + IPrintOptionDetails_Impl { @@ -101,8 +101,8 @@ impl IPrintNumberOptionDetails_Vtbl { MaxValue: MaxValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintOptionDetails_Impl: Sized { @@ -211,8 +211,8 @@ impl IPrintOptionDetails_Vtbl { TrySetValue: TrySetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintTextOptionDetails_Impl: Sized + IPrintOptionDetails_Impl { @@ -239,7 +239,7 @@ impl IPrintTextOptionDetails_Vtbl { MaxCharacters: MaxCharacters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs index facbfe9079..b3a7f1a248 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs @@ -6,8 +6,8 @@ impl IPrintDocumentSource_Vtbl { pub const fn new, Impl: IPrintDocumentSource_Impl, const OFFSET: isize>() -> IPrintDocumentSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintTaskOptionsCore_Impl: Sized { @@ -34,8 +34,8 @@ impl IPrintTaskOptionsCore_Vtbl { GetPageDescription: GetPageDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintTaskOptionsCoreProperties_Impl: Sized { @@ -295,8 +295,8 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { NumberOfCopies: NumberOfCopies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -328,7 +328,7 @@ impl IPrintTaskOptionsCoreUIConfiguration_Vtbl { DisplayedOptions: DisplayedOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/impl.rs b/crates/libs/windows/src/Windows/Graphics/impl.rs index 1a14311782..2cd4cc8d88 100644 --- a/crates/libs/windows/src/Windows/Graphics/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/impl.rs @@ -6,7 +6,7 @@ impl IGeometrySource2D_Vtbl { pub const fn new, Impl: IGeometrySource2D_Impl, const OFFSET: isize>() -> IGeometrySource2D_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Media/Audio/impl.rs index 98ddc8e4fe..ca1d90d9d3 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/impl.rs @@ -48,8 +48,8 @@ impl IAudioInputNode_Vtbl { RemoveOutgoingConnection: RemoveOutgoingConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`"] @@ -78,8 +78,8 @@ impl IAudioInputNode2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Emitter: Emitter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`"] @@ -200,8 +200,8 @@ impl IAudioNode_Vtbl { EnableEffectsByDefinition: EnableEffectsByDefinition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`"] @@ -240,7 +240,7 @@ impl IAudioNodeWithListener_Vtbl { Listener: Listener::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Core/impl.rs b/crates/libs/windows/src/Windows/Media/Core/impl.rs index 2aa2d053ee..9d007535a5 100644 --- a/crates/libs/windows/src/Windows/Media/Core/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Core/impl.rs @@ -70,8 +70,8 @@ impl IMediaCue_Vtbl { Id: Id::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaSource_Impl: Sized {} @@ -82,8 +82,8 @@ impl IMediaSource_Vtbl { pub const fn new, Impl: IMediaSource_Impl, const OFFSET: isize>() -> IMediaSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaStreamDescriptor_Impl: Sized { @@ -152,8 +152,8 @@ impl IMediaStreamDescriptor_Vtbl { Language: Language::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaStreamDescriptor2_Impl: Sized + IMediaStreamDescriptor_Impl { @@ -188,8 +188,8 @@ impl IMediaStreamDescriptor2_Vtbl { Label: Label::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaTrack_Impl: Sized { @@ -265,8 +265,8 @@ impl IMediaTrack_Vtbl { Label: Label::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISingleSelectMediaTrackList_Impl: Sized { @@ -320,8 +320,8 @@ impl ISingleSelectMediaTrackList_Vtbl { SelectedIndex: SelectedIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -353,7 +353,7 @@ impl ITimedMetadataTrackProvider_Vtbl { TimedMetadataTracks: TimedMetadataTracks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index 54cbe4aff4..24a6f502dc 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -36,8 +36,8 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { Role: Role::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_Capture\"`, `\"Media_MediaProperties\"`"] @@ -97,7 +97,7 @@ impl IMediaDeviceController_Vtbl { SetMediaStreamPropertiesAsync: SetMediaStreamPropertiesAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Effects/impl.rs b/crates/libs/windows/src/Windows/Media/Effects/impl.rs index 3a1ea3ec5b..4a9468c844 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/impl.rs @@ -41,8 +41,8 @@ impl IAudioEffectDefinition_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_MediaProperties\"`"] @@ -115,8 +115,8 @@ impl IBasicAudioEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`"] @@ -215,8 +215,8 @@ impl IBasicVideoEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`"] @@ -275,8 +275,8 @@ impl IVideoCompositor_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -322,8 +322,8 @@ impl IVideoCompositorDefinition_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -369,7 +369,7 @@ impl IVideoEffectDefinition_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs index a24c7312ac..41389ac8f5 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs @@ -62,7 +62,7 @@ impl IMediaEncodingProperties_Vtbl { Subtype: Subtype::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Playback/impl.rs b/crates/libs/windows/src/Windows/Media/Playback/impl.rs index 833ec5401f..20b0417954 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/impl.rs @@ -34,8 +34,8 @@ impl IMediaEnginePlaybackSource_Vtbl { SetPlaybackSource: SetPlaybackSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaPlaybackSource_Impl: Sized {} @@ -46,7 +46,7 @@ impl IMediaPlaybackSource_Vtbl { pub const fn new, Impl: IMediaPlaybackSource_Impl, const OFFSET: isize>() -> IMediaPlaybackSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs index cb0e94367e..7066cf5e10 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs @@ -54,8 +54,8 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { ClosedCaptionData: ClosedCaptionData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -103,8 +103,8 @@ impl INDCustomData_Vtbl { CustomData: CustomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -210,8 +210,8 @@ impl INDDownloadEngine_Vtbl { Notifier: Notifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -271,8 +271,8 @@ impl INDDownloadEngineNotifier_Vtbl { OnNetworkError: OnNetworkError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -304,8 +304,8 @@ impl INDLicenseFetchCompletedEventArgs_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -372,8 +372,8 @@ impl INDLicenseFetchDescriptor_Vtbl { SetLicenseFetchChallengeCustomData: SetLicenseFetchChallengeCustomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -405,8 +405,8 @@ impl INDLicenseFetchResult_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -480,8 +480,8 @@ impl INDMessenger_Vtbl { SendLicenseFetchRequestAsync: SendLicenseFetchRequestAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -512,8 +512,8 @@ impl INDProximityDetectionCompletedEventArgs_Vtbl { ProximityDetectionRetryCount: ProximityDetectionRetryCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -579,8 +579,8 @@ impl INDRegistrationCompletedEventArgs_Vtbl { SetTransmitterCertificateAccepted: SetTransmitterCertificateAccepted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -610,8 +610,8 @@ impl INDSendResult_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Response: Response:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Media_Core\"`, `\"deprecated\"`"] @@ -643,8 +643,8 @@ impl INDStartResult_Vtbl { MediaStreamSource: MediaStreamSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`"] @@ -673,8 +673,8 @@ impl INDStorageFileHelper_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetFileURLs: GetFileURLs:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Media_Core\"`, `\"deprecated\"`"] @@ -740,8 +740,8 @@ impl INDStreamParser_Vtbl { Notifier: Notifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Media_Core\"`, `\"deprecated\"`"] @@ -787,8 +787,8 @@ impl INDStreamParserNotifier_Vtbl { OnBeginSetupDecryptor: OnBeginSetupDecryptor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"deprecated\"`"] @@ -958,8 +958,8 @@ impl INDTransmitterProperties_Vtbl { ModelNumber: ModelNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadyDomain_Impl: Sized { @@ -1040,8 +1040,8 @@ impl IPlayReadyDomain_Vtbl { DomainJoinUrl: DomainJoinUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadyLicense_Impl: Sized { @@ -1147,8 +1147,8 @@ impl IPlayReadyLicense_Vtbl { GetKIDAtChainDepth: GetKIDAtChainDepth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadyLicenseAcquisitionServiceRequest_Impl: Sized + super::IMediaProtectionServiceRequest_Impl + IPlayReadyServiceRequest_Impl { @@ -1203,8 +1203,8 @@ impl IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { SetDomainServiceId: SetDomainServiceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadyLicenseSession_Impl: Sized { @@ -1239,8 +1239,8 @@ impl IPlayReadyLicenseSession_Vtbl { ConfigureMediaProtectionManager: ConfigureMediaProtectionManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -1272,8 +1272,8 @@ impl IPlayReadyLicenseSession2_Vtbl { CreateLicenseIterable: CreateLicenseIterable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadySecureStopServiceRequest_Impl: Sized + super::IMediaProtectionServiceRequest_Impl + IPlayReadyServiceRequest_Impl { @@ -1354,8 +1354,8 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { PublisherCertificate: PublisherCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayReadyServiceRequest_Impl: Sized + super::IMediaProtectionServiceRequest_Impl { @@ -1480,7 +1480,7 @@ impl IPlayReadyServiceRequest_Vtbl { ProcessManualEnablingResponse: ProcessManualEnablingResponse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/impl.rs index 5e3ad0de07..c2dbf90816 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/impl.rs @@ -35,7 +35,7 @@ impl IMediaProtectionServiceRequest_Vtbl { Type: Type::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs index 91cdba1315..80d3c53dce 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs @@ -83,7 +83,7 @@ impl ISpeechRecognitionConstraint_Vtbl { SetProbability: SetProbability::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index cc661ed9e9..718b5c3aeb 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -17,8 +17,8 @@ impl IMediaExtension_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SetProperties: SetProperties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -160,8 +160,8 @@ impl IMediaFrame_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaMarker_Impl: Sized { @@ -216,8 +216,8 @@ impl IMediaMarker_Vtbl { Text: Text::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -246,7 +246,7 @@ impl IMediaMarkers_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Markers: Markers:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs index 1ae0c28da1..667cdb0e23 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs @@ -124,8 +124,8 @@ impl IBackgroundTransferBase_Vtbl { SetCostPolicy: SetCostPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTransferContentPartFactory_Impl: Sized { @@ -167,8 +167,8 @@ impl IBackgroundTransferContentPartFactory_Vtbl { CreateWithNameAndFileName: CreateWithNameAndFileName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -289,8 +289,8 @@ impl IBackgroundTransferOperation_Vtbl { GetResponseInformation: GetResponseInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundTransferOperationPriority_Impl: Sized { @@ -324,7 +324,7 @@ impl IBackgroundTransferOperationPriority_Vtbl { SetPriority: SetPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs index 11dc4680f1..da16104f0c 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs @@ -23,8 +23,8 @@ impl IControlChannelTriggerEventDetails_Vtbl { ControlChannelTrigger: ControlChannelTrigger::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IControlChannelTriggerResetEventDetails_Impl: Sized { @@ -77,8 +77,8 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { SoftwareSlotReset: SoftwareSlotReset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -158,8 +158,8 @@ impl IWebSocket_Vtbl { CloseWithStatus: CloseWithStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Security_Credentials\"`"] @@ -253,8 +253,8 @@ impl IWebSocketControl_Vtbl { SupportedProtocols: SupportedProtocols::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`"] @@ -286,8 +286,8 @@ impl IWebSocketControl2_Vtbl { IgnorableServerCertificateErrors: IgnorableServerCertificateErrors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebSocketInformation_Impl: Sized { @@ -342,8 +342,8 @@ impl IWebSocketInformation_Vtbl { Protocol: Protocol::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Security_Cryptography_Certificates\"`"] @@ -416,7 +416,7 @@ impl IWebSocketInformation2_Vtbl { ServerIntermediateCertificates: ServerIntermediateCertificates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs index 3f3af0b5d1..4246cf5105 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs @@ -16,8 +16,8 @@ impl IVpnChannelStatics_Vtbl { ProcessEventAsync: ProcessEventAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`"] @@ -91,8 +91,8 @@ impl IVpnCredential_Vtbl { OldPasswordCredential: OldPasswordCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnCustomPrompt_Impl: Sized { @@ -167,8 +167,8 @@ impl IVpnCustomPrompt_Vtbl { Bordered: Bordered::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnCustomPromptElement_Impl: Sized { @@ -243,8 +243,8 @@ impl IVpnCustomPromptElement_Vtbl { Emphasized: Emphasized::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -276,8 +276,8 @@ impl IVpnDomainNameInfoFactory_Vtbl { CreateVpnDomainNameInfo: CreateVpnDomainNameInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnInterfaceIdFactory_Impl: Sized { @@ -305,8 +305,8 @@ impl IVpnInterfaceIdFactory_Vtbl { CreateVpnInterfaceId: CreateVpnInterfaceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -338,8 +338,8 @@ impl IVpnNamespaceInfoFactory_Vtbl { CreateVpnNamespaceInfo: CreateVpnNamespaceInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnPacketBufferFactory_Impl: Sized { @@ -367,8 +367,8 @@ impl IVpnPacketBufferFactory_Vtbl { CreateVpnPacketBuffer: CreateVpnPacketBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnPlugIn_Impl: Sized { @@ -417,8 +417,8 @@ impl IVpnPlugIn_Vtbl { Decapsulate: Decapsulate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -553,8 +553,8 @@ impl IVpnProfile_Vtbl { SetAlwaysOn: SetAlwaysOn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVpnRouteFactory_Impl: Sized { @@ -579,7 +579,7 @@ impl IVpnRouteFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateVpnRoute: CreateVpnRoute:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs index b45a1547e2..8c63ceb845 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs @@ -83,7 +83,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { SetStartedProcessing: SetStartedProcessing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index 9860f5f6e1..68cdf19f25 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -202,8 +202,8 @@ impl IContactInformation_Vtbl { ToVcardWithOptionsAsync: ToVcardWithOptionsAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactInformation2_Impl: Sized { @@ -237,7 +237,7 @@ impl IContactInformation2_Vtbl { SetDisplayPictureDate: SetDisplayPictureDate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs index 6a5d54df7a..bc2c9dd381 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs @@ -27,7 +27,7 @@ impl IToastNotificationManagerStatics3_Vtbl { CreateToastNotifierForSecondaryTile: CreateToastNotifierForSecondaryTile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs index 13b9b10d32..50437be406 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs @@ -27,8 +27,8 @@ impl IWebAccountProviderBaseReportOperation_Vtbl { ReportError: ReportError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebAccountProviderOperation_Impl: Sized { @@ -52,8 +52,8 @@ impl IWebAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Security_Authentication_Web_Core\"`"] @@ -85,8 +85,8 @@ impl IWebAccountProviderSilentReportOperation_Vtbl { ReportUserInteractionRequiredWithError: ReportUserInteractionRequiredWithError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebAccountProviderTokenObjects_Impl: Sized { @@ -114,8 +114,8 @@ impl IWebAccountProviderTokenObjects_Vtbl { Operation: Operation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"System\"`"] @@ -144,8 +144,8 @@ impl IWebAccountProviderTokenObjects2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -211,8 +211,8 @@ impl IWebAccountProviderTokenOperation_Vtbl { CacheExpirationTime: CacheExpirationTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Security_Authentication_Web_Core\"`"] @@ -237,7 +237,7 @@ impl IWebAccountProviderUIReportOperation_Vtbl { ReportUserCanceled: ReportUserCanceled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs index 024d1661ee..0f31ced7c9 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs @@ -50,7 +50,7 @@ impl IWebAccount_Vtbl { State: State::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index b8321a5abf..d83c986dc8 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -206,7 +206,7 @@ impl IStorageItemAccessList_Vtbl { MaximumItemsAllowed: MaximumItemsAllowed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs index a286e907a9..d966d61b82 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs @@ -137,7 +137,7 @@ impl IStorageItemInformation_Vtbl { RemovePropertiesUpdated: RemovePropertiesUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs index 2724ac14cb..12d859a214 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs @@ -55,7 +55,7 @@ impl IStorageItemExtraProperties_Vtbl { SavePropertiesAsyncOverloadDefault: SavePropertiesAsyncOverloadDefault::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs index 1d32037207..9131fad63d 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs @@ -27,8 +27,8 @@ impl IStorageProviderItemPropertySource_Vtbl { GetItemProperties: GetItemProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderKnownFolderSyncInfoSource_Impl: Sized { @@ -76,8 +76,8 @@ impl IStorageProviderKnownFolderSyncInfoSource_Vtbl { RemoveKnownFolderSyncInfoChanged: RemoveKnownFolderSyncInfoChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderKnownFolderSyncInfoSourceFactory_Impl: Sized { @@ -105,8 +105,8 @@ impl IStorageProviderKnownFolderSyncInfoSourceFactory_Vtbl { GetKnownFolderSyncInfoSource: GetKnownFolderSyncInfoSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderPropertyCapabilities_Impl: Sized { @@ -133,8 +133,8 @@ impl IStorageProviderPropertyCapabilities_Vtbl { IsPropertySupported: IsPropertySupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderStatusUISource_Impl: Sized { @@ -182,8 +182,8 @@ impl IStorageProviderStatusUISource_Vtbl { RemoveStatusUIChanged: RemoveStatusUIChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderStatusUISourceFactory_Impl: Sized { @@ -211,8 +211,8 @@ impl IStorageProviderStatusUISourceFactory_Vtbl { GetStatusUISource: GetStatusUISource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderUICommand_Impl: Sized { @@ -288,8 +288,8 @@ impl IStorageProviderUICommand_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderUriSource_Impl: Sized { @@ -317,7 +317,7 @@ impl IStorageProviderUriSource_Vtbl { GetContentInfoForPath: GetContentInfoForPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 48a6fe997f..374ec57329 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -90,8 +90,8 @@ impl IIndexableContent_Vtbl { SetStreamContentType: SetStreamContentType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -344,8 +344,8 @@ impl IStorageFolderQueryOperations_Vtbl { IsCommonFileQuerySupported: IsCommonFileQuerySupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageQueryResultBase_Impl: Sized { @@ -462,7 +462,7 @@ impl IStorageQueryResultBase_Vtbl { ApplyNewQueryOptions: ApplyNewQueryOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs index 0311c074a1..4ffc345db8 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs @@ -42,8 +42,8 @@ impl IBuffer_Vtbl { SetLength: SetLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContentTypeProvider_Impl: Sized { @@ -68,8 +68,8 @@ impl IContentTypeProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ContentType: ContentType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataReader_Impl: Sized { @@ -402,8 +402,8 @@ impl IDataReader_Vtbl { DetachStream: DetachStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataWriter_Impl: Sized { @@ -664,8 +664,8 @@ impl IDataWriter_Vtbl { DetachStream: DetachStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInputStream_Impl: Sized + super::super::Foundation::IClosable_Impl { @@ -690,8 +690,8 @@ impl IInputStream_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ReadAsync: ReadAsync:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInputStreamReference_Impl: Sized { @@ -719,8 +719,8 @@ impl IInputStreamReference_Vtbl { OpenSequentialReadAsync: OpenSequentialReadAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOutputStream_Impl: Sized + super::super::Foundation::IClosable_Impl { @@ -762,8 +762,8 @@ impl IOutputStream_Vtbl { FlushAsync: FlushAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -802,8 +802,8 @@ impl IPropertySetSerializer_Vtbl { Deserialize: Deserialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRandomAccessStream_Impl: Sized + super::super::Foundation::IClosable_Impl + IInputStream_Impl + IOutputStream_Impl { @@ -925,8 +925,8 @@ impl IRandomAccessStream_Vtbl { CanWrite: CanWrite::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRandomAccessStreamReference_Impl: Sized { @@ -954,8 +954,8 @@ impl IRandomAccessStreamReference_Vtbl { OpenReadAsync: OpenReadAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRandomAccessStreamWithContentType_Impl: Sized + super::super::Foundation::IClosable_Impl + IContentTypeProvider_Impl + IInputStream_Impl + IOutputStream_Impl + IRandomAccessStream_Impl {} @@ -966,7 +966,7 @@ impl IRandomAccessStreamWithContentType_Vtbl { pub const fn new, Impl: IRandomAccessStreamWithContentType_Impl, const OFFSET: isize>() -> IRandomAccessStreamWithContentType_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index 8201458f11..58390961d7 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -181,8 +181,8 @@ impl IStorageFile_Vtbl { MoveAndReplaceAsync: MoveAndReplaceAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -228,8 +228,8 @@ impl IStorageFile2_Vtbl { OpenTransactedWriteWithOptionsAsync: OpenTransactedWriteWithOptionsAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageFilePropertiesWithAvailability_Impl: Sized { @@ -256,8 +256,8 @@ impl IStorageFilePropertiesWithAvailability_Vtbl { IsAvailable: IsAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage_FileProperties\"`"] @@ -415,8 +415,8 @@ impl IStorageFolder_Vtbl { GetItemsAsyncOverloadDefaultStartAndCount: GetItemsAsyncOverloadDefaultStartAndCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageFolder2_Impl: Sized { @@ -444,8 +444,8 @@ impl IStorageFolder2_Vtbl { TryGetItemAsync: TryGetItemAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_FileProperties\"`"] @@ -600,8 +600,8 @@ impl IStorageItem_Vtbl { IsOfType: IsOfType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_FileProperties\"`"] @@ -646,8 +646,8 @@ impl IStorageItem2_Vtbl { IsEqual: IsEqual::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_FileProperties\"`, `\"Storage_Streams\"`"] @@ -763,8 +763,8 @@ impl IStorageItemProperties_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_FileProperties\"`, `\"Storage_Streams\"`"] @@ -824,8 +824,8 @@ impl IStorageItemProperties2_Vtbl { GetScaledImageAsThumbnailAsync: GetScaledImageAsThumbnailAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_FileProperties\"`, `\"Storage_Streams\"`"] @@ -857,8 +857,8 @@ impl IStorageItemPropertiesWithProvider_Vtbl { Provider: Provider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamedFileDataRequest_Impl: Sized { @@ -879,7 +879,7 @@ impl IStreamedFileDataRequest_Vtbl { FailAndClose: FailAndClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs index 251e4d9be6..d782b5e748 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs @@ -29,8 +29,8 @@ impl ISysStorageProviderEventSource_Vtbl { RemoveEventReceived: RemoveEventReceived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISysStorageProviderHandlerFactory_Impl: Sized { @@ -72,8 +72,8 @@ impl ISysStorageProviderHandlerFactory_Vtbl { GetEventSource: GetEventSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Web_Http\"`"] @@ -105,7 +105,7 @@ impl ISysStorageProviderHttpRequestProvider_Vtbl { SendRequestAsync: SendRequestAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs index ca31e3055c..cb27b38747 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs @@ -6,7 +6,7 @@ impl IRemoteSystemFilter_Vtbl { pub const fn new, Impl: IRemoteSystemFilter_Impl, const OFFSET: isize>() -> IRemoteSystemFilter_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/System/impl.rs b/crates/libs/windows/src/Windows/System/impl.rs index 1ea8b563b5..c2d886385d 100644 --- a/crates/libs/windows/src/Windows/System/impl.rs +++ b/crates/libs/windows/src/Windows/System/impl.rs @@ -33,7 +33,7 @@ impl ILauncherViewOptions_Vtbl { SetDesiredRemainingView: SetDesiredRemainingView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs index af012385c4..b17ace10dc 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs @@ -6,8 +6,8 @@ impl ICompositionInteractionSource_Vtbl { pub const fn new, Impl: ICompositionInteractionSource_Impl, const OFFSET: isize>() -> ICompositionInteractionSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInteractionTrackerOwner_Impl: Sized { @@ -63,7 +63,7 @@ impl IInteractionTrackerOwner_Vtbl { ValuesChanged: ValuesChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/impl.rs index d7b07dcd72..a516c939c3 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/impl.rs @@ -16,8 +16,8 @@ impl IAnimationObject_Vtbl { PopulatePropertyInfo: PopulatePropertyInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionAnimationBase_Impl: Sized {} @@ -28,8 +28,8 @@ impl ICompositionAnimationBase_Vtbl { pub const fn new, Impl: ICompositionAnimationBase_Impl, const OFFSET: isize>() -> ICompositionAnimationBase_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionSupportsSystemBackdrop_Impl: Sized { @@ -64,8 +64,8 @@ impl ICompositionSupportsSystemBackdrop_Vtbl { SetSystemBackdrop: SetSystemBackdrop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionSurface_Impl: Sized {} @@ -76,8 +76,8 @@ impl ICompositionSurface_Vtbl { pub const fn new, Impl: ICompositionSurface_Impl, const OFFSET: isize>() -> ICompositionSurface_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionSurfaceFacade_Impl: Sized { @@ -105,8 +105,8 @@ impl ICompositionSurfaceFacade_Vtbl { GetRealSurface: GetRealSurface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVisualElement_Impl: Sized {} @@ -117,8 +117,8 @@ impl IVisualElement_Vtbl { pub const fn new, Impl: IVisualElement_Impl, const OFFSET: isize>() -> IVisualElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVisualElement2_Impl: Sized { @@ -146,7 +146,7 @@ impl IVisualElement2_Vtbl { GetVisualInternal: GetVisualInternal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs index 5340787890..04a4908e26 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs @@ -74,7 +74,7 @@ impl IPropertyAnimation_Vtbl { Control2: Control2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/Core/impl.rs index 3be192cb71..7a65011443 100644 --- a/crates/libs/windows/src/Windows/UI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/impl.rs @@ -29,8 +29,8 @@ impl ICoreAcceleratorKeys_Vtbl { RemoveAcceleratorKeyActivated: RemoveAcceleratorKeyActivated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreInputSourceBase_Impl: Sized { @@ -98,8 +98,8 @@ impl ICoreInputSourceBase_Vtbl { RemoveInputEnabled: RemoveInputEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorePointerInputSource_Impl: Sized { @@ -314,8 +314,8 @@ impl ICorePointerInputSource_Vtbl { RemovePointerWheelChanged: RemovePointerWheelChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"System\"`"] @@ -347,8 +347,8 @@ impl ICorePointerInputSource2_Vtbl { DispatcherQueue: DispatcherQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorePointerRedirector_Impl: Sized { @@ -422,8 +422,8 @@ impl ICorePointerRedirector_Vtbl { RemovePointerRoutedReleased: RemovePointerRoutedReleased::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"System\"`"] @@ -977,8 +977,8 @@ impl ICoreWindow_Vtbl { RemoveVisibilityChanged: RemoveVisibilityChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreWindowEventArgs_Impl: Sized { @@ -1012,8 +1012,8 @@ impl ICoreWindowEventArgs_Vtbl { SetHandled: SetHandled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInitializeWithCoreWindow_Impl: Sized { @@ -1034,7 +1034,7 @@ impl IInitializeWithCoreWindow_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs index c94aa666c8..6cf9f860f3 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs @@ -108,8 +108,8 @@ impl IInkAnalysisNode_Vtbl { GetStrokeIds: GetStrokeIds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkAnalyzerFactory_Impl: Sized { @@ -137,7 +137,7 @@ impl IInkAnalyzerFactory_Vtbl { CreateAnalyzer: CreateAnalyzer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs index 6870a546bf..21b6eaeddd 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs @@ -20,8 +20,8 @@ impl IInkPointFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateInkPoint: CreateInkPoint:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkPresenterRulerFactory_Impl: Sized { @@ -46,8 +46,8 @@ impl IInkPresenterRulerFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -158,8 +158,8 @@ impl IInkPresenterStencil_Vtbl { SetTransform: SetTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`"] @@ -212,8 +212,8 @@ impl IInkRecognizerContainer_Vtbl { GetRecognizers: GetRecognizers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Collections\"`, `\"Storage_Streams\"`"] @@ -399,7 +399,7 @@ impl IInkStrokeContainer_Vtbl { GetRecognitionResults: GetRecognitionResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/impl.rs b/crates/libs/windows/src/Windows/UI/Input/impl.rs index 4933d58833..33d14e09d7 100644 --- a/crates/libs/windows/src/Windows/UI/Input/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/impl.rs @@ -49,7 +49,7 @@ impl IPointerPointTransform_Vtbl { TransformBounds: TransformBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs index 3e53eb508f..a5b3bb60fb 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs @@ -40,7 +40,7 @@ impl IAdaptiveNotificationContent_Vtbl { Hints: Hints::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/impl.rs b/crates/libs/windows/src/Windows/UI/Popups/impl.rs index 09a4b7ad05..233c3a8bb1 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/impl.rs @@ -72,7 +72,7 @@ impl IUICommand_Vtbl { SetId: SetId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/UI/Shell/impl.rs index 07457fc37b..0b2e17264e 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/impl.rs @@ -20,8 +20,8 @@ impl IAdaptiveCard_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAdaptiveCardBuilderStatics_Impl: Sized { @@ -49,7 +49,7 @@ impl IAdaptiveCardBuilderStatics_Vtbl { CreateAdaptiveCardFromJson: CreateAdaptiveCardFromJson::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Text/impl.rs b/crates/libs/windows/src/Windows/UI/Text/impl.rs index ee25a5d78a..ae8bb44a82 100644 --- a/crates/libs/windows/src/Windows/UI/Text/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Text/impl.rs @@ -518,8 +518,8 @@ impl ITextCharacterFormat_Vtbl { IsEqual: IsEqual::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -815,8 +815,8 @@ impl ITextDocument_Vtbl { Undo: Undo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextParagraphFormat_Impl: Sized { @@ -1311,8 +1311,8 @@ impl ITextParagraphFormat_Vtbl { SetLineSpacing: SetLineSpacing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -1850,8 +1850,8 @@ impl ITextRange_Vtbl { StartOf: StartOf::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Storage_Streams\"`"] @@ -1987,7 +1987,7 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs index f13cfb1c23..8d9931bf5c 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs @@ -22,8 +22,8 @@ impl ICoreAutomationConnectionBoundObjectProvider_Vtbl { IsComThreadingRequired: IsComThreadingRequired::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreAutomationRemoteOperationExtensionProvider_Impl: Sized { @@ -57,7 +57,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider_Vtbl { IsExtensionSupported: IsExtensionSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs index b0def42b58..6db4db1db5 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs @@ -6,8 +6,8 @@ impl IWebUICommandBarElement_Vtbl { pub const fn new, Impl: IWebUICommandBarElement_Impl, const OFFSET: isize>() -> IWebUICommandBarElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebUICommandBarIcon_Impl: Sized {} @@ -18,7 +18,7 @@ impl IWebUICommandBarIcon_Vtbl { pub const fn new, Impl: IWebUICommandBarIcon_Impl, const OFFSET: isize>() -> IWebUICommandBarIcon_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs index d37583b5c7..48fd913c32 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs @@ -23,8 +23,8 @@ impl IActivatedEventArgsDeferral_Vtbl { ActivatedOperation: ActivatedOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebUIBackgroundTaskInstance_Impl: Sized { @@ -58,8 +58,8 @@ impl IWebUIBackgroundTaskInstance_Vtbl { SetSucceeded: SetSucceeded::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebUINavigatedEventArgs_Impl: Sized { @@ -87,7 +87,7 @@ impl IWebUINavigatedEventArgs_Vtbl { NavigatedOperation: NavigatedOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs index 380aac0207..6d5cc0d775 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs @@ -20,7 +20,7 @@ impl IHttpFilter_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SendRequestAsync: SendRequestAsync:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Http/impl.rs b/crates/libs/windows/src/Windows/Web/Http/impl.rs index 41b2028804..386520d3d8 100644 --- a/crates/libs/windows/src/Windows/Web/Http/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/impl.rs @@ -110,7 +110,7 @@ impl IHttpContent_Vtbl { WriteToStreamAsync: WriteToStreamAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index c87b8b843a..2a0a9edaf0 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -136,8 +136,8 @@ impl ISyndicationClient_Vtbl { RetrieveFeedAsync: RetrieveFeedAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`"] @@ -302,8 +302,8 @@ impl ISyndicationNode_Vtbl { GetXmlDocument: GetXmlDocument::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`"] @@ -384,7 +384,7 @@ impl ISyndicationText_Vtbl { SetXml: SetXml::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index 7a97ae5cbd..6d53d244d0 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -594,8 +594,8 @@ impl IWebViewControl_Vtbl { RemoveWebResourceRequested: RemoveWebResourceRequested::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebViewControl2_Impl: Sized { @@ -616,7 +616,7 @@ impl IWebViewControl2_Vtbl { AddInitializeScript: AddInitializeScript::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Web/impl.rs b/crates/libs/windows/src/Windows/Web/impl.rs index b5c04bc537..895cf87e8f 100644 --- a/crates/libs/windows/src/Windows/Web/impl.rs +++ b/crates/libs/windows/src/Windows/Web/impl.rs @@ -27,7 +27,7 @@ impl IUriToStreamResolver_Vtbl { UriToStreamAsync: UriToStreamAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs index 238baee4a3..9ec7c071d9 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs @@ -46,8 +46,8 @@ impl IDMLBindingTable_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -67,8 +67,8 @@ impl IDMLCommandRecorder_Vtbl { } Self { base__: IDMLDeviceChild_Vtbl::new::(), RecordDispatch: RecordDispatch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLCompiledOperator_Impl: Sized + IDMLDispatchable_Impl {} @@ -77,8 +77,8 @@ impl IDMLCompiledOperator_Vtbl { pub const fn new, Impl: IDMLCompiledOperator_Impl, const OFFSET: isize>() -> IDMLCompiledOperator_Vtbl { Self { base__: IDMLDispatchable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLDebugDevice_Impl: Sized { @@ -94,8 +94,8 @@ impl IDMLDebugDevice_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetMuteDebugOutput: SetMuteDebugOutput:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -181,8 +181,8 @@ impl IDMLDevice_Vtbl { GetParentDevice: GetParentDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -202,8 +202,8 @@ impl IDMLDevice1_Vtbl { } Self { base__: IDMLDevice_Vtbl::new::(), CompileGraph: CompileGraph:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLDeviceChild_Impl: Sized + IDMLObject_Impl { @@ -219,8 +219,8 @@ impl IDMLDeviceChild_Vtbl { } Self { base__: IDMLObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDMLDispatchable_Impl: Sized + IDMLPageable_Impl { @@ -236,8 +236,8 @@ impl IDMLDispatchable_Vtbl { } Self { base__: IDMLPageable_Vtbl::new::(), GetBindingProperties: GetBindingProperties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLObject_Impl: Sized { @@ -277,8 +277,8 @@ impl IDMLObject_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDMLOperator_Impl: Sized + IDMLDeviceChild_Impl {} @@ -287,8 +287,8 @@ impl IDMLOperator_Vtbl { pub const fn new, Impl: IDMLOperator_Impl, const OFFSET: isize>() -> IDMLOperator_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLOperatorInitializer_Impl: Sized + IDMLDispatchable_Impl { @@ -304,8 +304,8 @@ impl IDMLOperatorInitializer_Vtbl { } Self { base__: IDMLDispatchable_Vtbl::new::(), Reset: Reset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDMLPageable_Impl: Sized + IDMLDeviceChild_Impl {} @@ -314,7 +314,7 @@ impl IDMLPageable_Vtbl { pub const fn new, Impl: IDMLPageable_Impl, const OFFSET: isize>() -> IDMLPageable_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs index 8f7aafae73..7e1294ea6e 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs @@ -47,8 +47,8 @@ impl IMLOperatorAttributes_Vtbl { GetStringAttributeElement: GetStringAttributeElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorKernel_Impl: Sized { @@ -64,8 +64,8 @@ impl IMLOperatorKernel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compute: Compute:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorKernelContext_Impl: Sized { @@ -136,8 +136,8 @@ impl IMLOperatorKernelContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorKernelCreationContext_Impl: Sized + IMLOperatorAttributes_Impl { @@ -230,8 +230,8 @@ impl IMLOperatorKernelCreationContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMLOperatorKernelFactory_Impl: Sized { @@ -253,8 +253,8 @@ impl IMLOperatorKernelFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateKernel: CreateKernel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorRegistry_Impl: Sized { @@ -280,8 +280,8 @@ impl IMLOperatorRegistry_Vtbl { RegisterOperatorKernel: RegisterOperatorKernel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorShapeInferenceContext_Impl: Sized + IMLOperatorAttributes_Impl { @@ -361,8 +361,8 @@ impl IMLOperatorShapeInferenceContext_Vtbl { SetOutputTensorShape: SetOutputTensorShape::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMLOperatorShapeInferrer_Impl: Sized { @@ -378,8 +378,8 @@ impl IMLOperatorShapeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputShapes: InferOutputShapes:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorTensor_Impl: Sized { @@ -440,8 +440,8 @@ impl IMLOperatorTensor_Vtbl { GetDataInterface: GetDataInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorTensorShapeDescription_Impl: Sized { @@ -500,8 +500,8 @@ impl IMLOperatorTensorShapeDescription_Vtbl { GetOutputTensorShape: GetOutputTensorShape::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLOperatorTypeInferenceContext_Impl: Sized + IMLOperatorAttributes_Impl { @@ -561,8 +561,8 @@ impl IMLOperatorTypeInferenceContext_Vtbl { SetOutputEdgeDescription: SetOutputEdgeDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMLOperatorTypeInferrer_Impl: Sized { @@ -578,8 +578,8 @@ impl IMLOperatorTypeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputTypes: InferOutputTypes:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -622,8 +622,8 @@ impl IWinMLEvaluationContext_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinMLModel_Impl: Sized { @@ -681,8 +681,8 @@ impl IWinMLModel_Vtbl { EnumerateModelOutputs: EnumerateModelOutputs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -731,8 +731,8 @@ impl IWinMLRuntime_Vtbl { EvaluateModel: EvaluateModel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinMLRuntimeFactory_Impl: Sized { @@ -754,7 +754,7 @@ impl IWinMLRuntimeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRuntime: CreateRuntime:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs index 5edb8504ce..9d5e7cbec9 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs @@ -42,8 +42,8 @@ impl IITDatabase_Vtbl { GetObjectPersistence: GetObjectPersistence::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -185,8 +185,8 @@ impl IITPropList_Vtbl { SaveToMem: SaveToMem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IITResultSet_Impl: Sized { @@ -408,8 +408,8 @@ impl IITResultSet_Vtbl { GetColumnStatus: GetColumnStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStemSink_Impl: Sized { @@ -435,8 +435,8 @@ impl IStemSink_Vtbl { PutWord: PutWord::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -487,8 +487,8 @@ impl IStemmerConfig_Vtbl { LoadExternalStemmerData: LoadExternalStemmerData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Search\"`"] @@ -573,7 +573,7 @@ impl IWordBreakerConfig_Vtbl { GetWordStemmer: GetWordStemmer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs index 9e8c776a3a..fd6653217d 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs @@ -88,8 +88,8 @@ impl IMXAttributes_Vtbl { setValue: setValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -181,8 +181,8 @@ impl IMXNamespaceManager_Vtbl { getURI: getURI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -237,8 +237,8 @@ impl IMXNamespacePrefixes_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -275,8 +275,8 @@ impl IMXReaderControl_Vtbl { suspend: suspend::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -299,8 +299,8 @@ impl IMXSchemaDeclHandler_Vtbl { schemaElementDecl: schemaElementDecl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -483,8 +483,8 @@ impl IMXWriter_Vtbl { flush: flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -620,8 +620,8 @@ impl IMXXMLFilter_Vtbl { putref_errorHandler: putref_errorHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISAXAttributes_Impl: Sized { @@ -742,8 +742,8 @@ impl ISAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXContentHandler_Impl: Sized { @@ -832,8 +832,8 @@ impl ISAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXDTDHandler_Impl: Sized { @@ -859,8 +859,8 @@ impl ISAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXDeclHandler_Impl: Sized { @@ -900,8 +900,8 @@ impl ISAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -927,8 +927,8 @@ impl ISAXEntityResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), resolveEntity: resolveEntity:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXErrorHandler_Impl: Sized { @@ -961,8 +961,8 @@ impl ISAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXLexicalHandler_Impl: Sized { @@ -1023,8 +1023,8 @@ impl ISAXLexicalHandler_Vtbl { comment: comment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISAXLocator_Impl: Sized { @@ -1088,8 +1088,8 @@ impl ISAXLocator_Vtbl { getSystemId: getSystemId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1125,8 +1125,8 @@ impl ISAXXMLFilter_Vtbl { putParent: putParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1316,8 +1316,8 @@ impl ISAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1450,8 +1450,8 @@ impl ISchema_Vtbl { schemaLocations: schemaLocations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1493,8 +1493,8 @@ impl ISchemaAny_Vtbl { processContents: processContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1588,8 +1588,8 @@ impl ISchemaAttribute_Vtbl { isReference: isReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1631,8 +1631,8 @@ impl ISchemaAttributeGroup_Vtbl { attributes: attributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1726,8 +1726,8 @@ impl ISchemaComplexType_Vtbl { prohibitedSubstitutions: prohibitedSubstitutions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1886,8 +1886,8 @@ impl ISchemaElement_Vtbl { isReference: isReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1942,8 +1942,8 @@ impl ISchemaIdentityConstraint_Vtbl { referencedKey: referencedKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2050,8 +2050,8 @@ impl ISchemaItem_Vtbl { writeAnnotation: writeAnnotation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2132,8 +2132,8 @@ impl ISchemaItemCollection_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2159,8 +2159,8 @@ impl ISchemaModelGroup_Vtbl { } Self { base__: ISchemaParticle_Vtbl::new::(), particles: particles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2202,8 +2202,8 @@ impl ISchemaNotation_Vtbl { publicIdentifier: publicIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2245,8 +2245,8 @@ impl ISchemaParticle_Vtbl { maxOccurs: maxOccurs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2301,8 +2301,8 @@ impl ISchemaStringCollection_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2539,8 +2539,8 @@ impl ISchemaType_Vtbl { patterns: patterns::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2596,8 +2596,8 @@ impl IServerXMLHTTPRequest_Vtbl { setOption: setOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2627,8 +2627,8 @@ impl IServerXMLHTTPRequest2_Vtbl { setProxyCredentials: setProxyCredentials::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2751,8 +2751,8 @@ impl IVBMXNamespaceManager_Vtbl { getURIFromNode: getURIFromNode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2924,8 +2924,8 @@ impl IVBSAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3018,8 +3018,8 @@ impl IVBSAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3049,8 +3049,8 @@ impl IVBSAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3094,8 +3094,8 @@ impl IVBSAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3118,8 +3118,8 @@ impl IVBSAXEntityResolver_Vtbl { resolveEntity: resolveEntity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3156,8 +3156,8 @@ impl IVBSAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3222,8 +3222,8 @@ impl IVBSAXLexicalHandler_Vtbl { comment: comment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3291,8 +3291,8 @@ impl IVBSAXLocator_Vtbl { systemId: systemId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3328,8 +3328,8 @@ impl IVBSAXXMLFilter_Vtbl { putref_parent: putref_parent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3519,8 +3519,8 @@ impl IVBSAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3562,8 +3562,8 @@ impl IXMLAttribute_Vtbl { value: value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3612,8 +3612,8 @@ impl IXMLDOMAttribute_Vtbl { Setvalue: Setvalue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3626,8 +3626,8 @@ impl IXMLDOMCDATASection_Vtbl { pub const fn new, Impl: IXMLDOMCDATASection_Impl, const OFFSET: isize>() -> IXMLDOMCDATASection_Vtbl { Self { base__: IXMLDOMText_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3717,8 +3717,8 @@ impl IXMLDOMCharacterData_Vtbl { replaceData: replaceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3731,8 +3731,8 @@ impl IXMLDOMComment_Vtbl { pub const fn new, Impl: IXMLDOMComment_Impl, const OFFSET: isize>() -> IXMLDOMComment_Vtbl { Self { base__: IXMLDOMCharacterData_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4117,8 +4117,8 @@ impl IXMLDOMDocument_Vtbl { Setontransformnode: Setontransformnode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4200,8 +4200,8 @@ impl IXMLDOMDocument2_Vtbl { getProperty: getProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4243,8 +4243,8 @@ impl IXMLDOMDocument3_Vtbl { importNode: importNode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4257,8 +4257,8 @@ impl IXMLDOMDocumentFragment_Vtbl { pub const fn new, Impl: IXMLDOMDocumentFragment_Impl, const OFFSET: isize>() -> IXMLDOMDocumentFragment_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4313,8 +4313,8 @@ impl IXMLDOMDocumentType_Vtbl { notations: notations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4429,8 +4429,8 @@ impl IXMLDOMElement_Vtbl { normalize: normalize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4485,8 +4485,8 @@ impl IXMLDOMEntity_Vtbl { notationName: notationName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4499,8 +4499,8 @@ impl IXMLDOMEntityReference_Vtbl { pub const fn new, Impl: IXMLDOMEntityReference_Impl, const OFFSET: isize>() -> IXMLDOMEntityReference_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4526,8 +4526,8 @@ impl IXMLDOMImplementation_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), hasFeature: hasFeature:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4667,8 +4667,8 @@ impl IXMLDOMNamedNodeMap_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5122,8 +5122,8 @@ impl IXMLDOMNode_Vtbl { transformNodeToObject: transformNodeToObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5198,8 +5198,8 @@ impl IXMLDOMNodeList_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5241,8 +5241,8 @@ impl IXMLDOMNotation_Vtbl { systemId: systemId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5349,8 +5349,8 @@ impl IXMLDOMParseError_Vtbl { filepos: filepos::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5418,8 +5418,8 @@ impl IXMLDOMParseError2_Vtbl { errorParametersCount: errorParametersCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5494,8 +5494,8 @@ impl IXMLDOMParseErrorCollection_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5544,8 +5544,8 @@ impl IXMLDOMProcessingInstruction_Vtbl { Setdata: Setdata::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5634,8 +5634,8 @@ impl IXMLDOMSchemaCollection_Vtbl { _newEnum: _newEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5704,8 +5704,8 @@ impl IXMLDOMSchemaCollection2_Vtbl { getDeclaration: getDeclaration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5840,8 +5840,8 @@ impl IXMLDOMSelection_Vtbl { setProperty: setProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5867,8 +5867,8 @@ impl IXMLDOMText_Vtbl { } Self { base__: IXMLDOMCharacterData_Vtbl::new::(), splitText: splitText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5937,8 +5937,8 @@ impl IXMLDSOControl_Vtbl { readyState: readyState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6124,8 +6124,8 @@ impl IXMLDocument_Vtbl { createElement: createElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6331,8 +6331,8 @@ impl IXMLDocument2_Vtbl { Setasync: Setasync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6468,8 +6468,8 @@ impl IXMLElement_Vtbl { removeChild: removeChild::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6618,8 +6618,8 @@ impl IXMLElement2_Vtbl { attributes: attributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6681,8 +6681,8 @@ impl IXMLElementCollection_Vtbl { item: item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXMLError_Impl: Sized { @@ -6698,8 +6698,8 @@ impl IXMLError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6867,8 +6867,8 @@ impl IXMLHTTPRequest_Vtbl { Setonreadystatechange: Setonreadystatechange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6972,8 +6972,8 @@ impl IXMLHTTPRequest2_Vtbl { GetResponseHeader: GetResponseHeader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7024,8 +7024,8 @@ impl IXMLHTTPRequest2Callback_Vtbl { OnError: OnError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7045,8 +7045,8 @@ impl IXMLHTTPRequest3_Vtbl { } Self { base__: IXMLHTTPRequest2_Vtbl::new::(), SetClientCertificate: SetClientCertificate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7076,8 +7076,8 @@ impl IXMLHTTPRequest3Callback_Vtbl { OnClientCertificateRequested: OnClientCertificateRequested::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7239,8 +7239,8 @@ impl IXSLProcessor_Vtbl { stylesheet: stylesheet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7289,8 +7289,8 @@ impl IXSLTemplate_Vtbl { createProcessor: createProcessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7423,8 +7423,8 @@ impl IXTLRuntime_Vtbl { formatTime: formatTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7437,7 +7437,7 @@ impl XMLDOMDocumentEvents_Vtbl { pub const fn new, Impl: XMLDOMDocumentEvents_Impl, const OFFSET: isize>() -> XMLDOMDocumentEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs index b7715474e4..555b686d4c 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs @@ -204,8 +204,8 @@ impl IXmlReader_Vtbl { IsEOF: IsEOF::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlResolver_Impl: Sized { @@ -227,8 +227,8 @@ impl IXmlResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveUri: ResolveUri:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlWriter_Impl: Sized { @@ -449,8 +449,8 @@ impl IXmlWriter_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXmlWriterLite_Impl: Sized { @@ -664,7 +664,7 @@ impl IXmlWriterLite_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs index 682aa08967..dbae84bd7d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs @@ -35,8 +35,8 @@ impl ICreateDeviceAccessAsync_Vtbl { GetResult: GetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeviceIoControl_Impl: Sized { @@ -69,8 +69,8 @@ impl IDeviceIoControl_Vtbl { CancelOperation: CancelOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeviceRequestCompletionCallback_Impl: Sized { @@ -86,7 +86,7 @@ impl IDeviceRequestCompletionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs index 14d3ba69fb..cafe8c318d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs @@ -35,8 +35,8 @@ impl ICloneViewHelper_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -100,7 +100,7 @@ impl IViewHelper_Vtbl { GetProceedOnNewConfiguration: GetProceedOnNewConfiguration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs index e13754f4dd..38d0f2b339 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs @@ -27,8 +27,8 @@ impl IUPnPAddressFamilyControl_Vtbl { GetAddressFamily: GetAddressFamily::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPAsyncResult_Impl: Sized { @@ -44,8 +44,8 @@ impl IUPnPAsyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -134,8 +134,8 @@ impl IUPnPDescriptionDocument_Vtbl { DeviceByUDN: DeviceByUDN::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUPnPDescriptionDocumentCallback_Impl: Sized { @@ -151,8 +151,8 @@ impl IUPnPDescriptionDocumentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadComplete: LoadComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -415,8 +415,8 @@ impl IUPnPDevice_Vtbl { Services: Services::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -452,8 +452,8 @@ impl IUPnPDeviceControl_Vtbl { GetServiceObject: GetServiceObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPDeviceControlHttpHeaders_Impl: Sized { @@ -478,8 +478,8 @@ impl IUPnPDeviceControlHttpHeaders_Vtbl { GetAdditionalResponseHeaders: GetAdditionalResponseHeaders::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPDeviceDocumentAccess_Impl: Sized { @@ -501,8 +501,8 @@ impl IUPnPDeviceDocumentAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocumentURL: GetDocumentURL:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPDeviceDocumentAccessEx_Impl: Sized { @@ -524,8 +524,8 @@ impl IUPnPDeviceDocumentAccessEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocument: GetDocument:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -594,8 +594,8 @@ impl IUPnPDeviceFinder_Vtbl { FindByUDN: FindByUDN::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -615,8 +615,8 @@ impl IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeviceAddedWithInterface: DeviceAddedWithInterface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -653,8 +653,8 @@ impl IUPnPDeviceFinderCallback_Vtbl { SearchComplete: SearchComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPDeviceProvider_Impl: Sized { @@ -676,8 +676,8 @@ impl IUPnPDeviceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -732,8 +732,8 @@ impl IUPnPDevices_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -763,8 +763,8 @@ impl IUPnPEventSink_Vtbl { OnStateChangedSafe: OnStateChangedSafe::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPEventSource_Impl: Sized { @@ -790,8 +790,8 @@ impl IUPnPEventSource_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPHttpHeaderControl_Impl: Sized { @@ -807,8 +807,8 @@ impl IUPnPHttpHeaderControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddRequestHeaders: AddRequestHeaders:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPRegistrar_Impl: Sized { @@ -880,8 +880,8 @@ impl IUPnPRegistrar_Vtbl { UnregisterDeviceProvider: UnregisterDeviceProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPRemoteEndpointInfo_Impl: Sized { @@ -932,8 +932,8 @@ impl IUPnPRemoteEndpointInfo_Vtbl { GetGuidValue: GetGuidValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPReregistrar_Impl: Sized { @@ -959,8 +959,8 @@ impl IUPnPReregistrar_Vtbl { ReregisterRunningDevice: ReregisterRunningDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1042,8 +1042,8 @@ impl IUPnPService_Vtbl { LastTransportStatus: LastTransportStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1152,8 +1152,8 @@ impl IUPnPServiceAsync_Vtbl { CancelAsyncOperation: CancelAsyncOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1183,8 +1183,8 @@ impl IUPnPServiceCallback_Vtbl { ServiceInstanceDied: ServiceInstanceDied::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPServiceDocumentAccess_Impl: Sized { @@ -1222,8 +1222,8 @@ impl IUPnPServiceDocumentAccess_Vtbl { GetDocument: GetDocument::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUPnPServiceEnumProperty_Impl: Sized { @@ -1239,8 +1239,8 @@ impl IUPnPServiceEnumProperty_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetServiceEnumProperty: SetServiceEnumProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1295,7 +1295,7 @@ impl IUPnPServices_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs index c2333204f5..8440d6975b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs @@ -57,8 +57,8 @@ impl IFaxAccount_Vtbl { RegisteredEvents: RegisteredEvents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -126,8 +126,8 @@ impl IFaxAccountFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -202,8 +202,8 @@ impl IFaxAccountIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -245,8 +245,8 @@ impl IFaxAccountIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -339,8 +339,8 @@ impl IFaxAccountNotify_Vtbl { OnServerShutDown: OnServerShutDown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -415,8 +415,8 @@ impl IFaxAccountOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -458,8 +458,8 @@ impl IFaxAccountOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -521,8 +521,8 @@ impl IFaxAccountSet_Vtbl { RemoveAccount: RemoveAccount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -577,8 +577,8 @@ impl IFaxAccounts_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -653,8 +653,8 @@ impl IFaxActivity_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -744,8 +744,8 @@ impl IFaxActivityLogging_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1181,8 +1181,8 @@ impl IFaxConfiguration_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1470,8 +1470,8 @@ impl IFaxDevice_Vtbl { AnswerCall: AnswerCall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1547,8 +1547,8 @@ impl IFaxDeviceIds_Vtbl { SetOrder: SetOrder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1720,8 +1720,8 @@ impl IFaxDeviceProvider_Vtbl { DeviceIds: DeviceIds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1776,8 +1776,8 @@ impl IFaxDeviceProviders_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1845,8 +1845,8 @@ impl IFaxDevices_Vtbl { get_ItemById: get_ItemById::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2214,8 +2214,8 @@ impl IFaxDocument_Vtbl { SetAttachFaxToReceipt: SetAttachFaxToReceipt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2278,8 +2278,8 @@ impl IFaxDocument2_Vtbl { ConnectedSubmit2: ConnectedSubmit2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2389,8 +2389,8 @@ impl IFaxEventLogging_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2458,8 +2458,8 @@ impl IFaxFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2501,8 +2501,8 @@ impl IFaxInboundRouting_Vtbl { GetMethods: GetMethods::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2661,8 +2661,8 @@ impl IFaxInboundRoutingExtension_Vtbl { Methods: Methods::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2717,8 +2717,8 @@ impl IFaxInboundRoutingExtensions_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2833,8 +2833,8 @@ impl IFaxInboundRoutingMethod_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2889,8 +2889,8 @@ impl IFaxInboundRoutingMethods_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3092,8 +3092,8 @@ impl IFaxIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3338,8 +3338,8 @@ impl IFaxIncomingJob_Vtbl { CopyTiff: CopyTiff::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3394,8 +3394,8 @@ impl IFaxIncomingJobs_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3568,8 +3568,8 @@ impl IFaxIncomingMessage_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3739,8 +3739,8 @@ impl IFaxIncomingMessage2_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3816,8 +3816,8 @@ impl IFaxIncomingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3893,8 +3893,8 @@ impl IFaxIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4131,8 +4131,8 @@ impl IFaxJobStatus_Vtbl { RoutingInformation: RoutingInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4174,8 +4174,8 @@ impl IFaxLoggingOptions_Vtbl { ActivityLogging: ActivityLogging::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4217,8 +4217,8 @@ impl IFaxOutboundRouting_Vtbl { GetRules: GetRules::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4273,8 +4273,8 @@ impl IFaxOutboundRoutingGroup_Vtbl { DeviceIds: DeviceIds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4349,8 +4349,8 @@ impl IFaxOutboundRoutingGroups_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4479,8 +4479,8 @@ impl IFaxOutboundRoutingRule_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4575,8 +4575,8 @@ impl IFaxOutboundRoutingRules_Vtbl { Add: Add::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4778,8 +4778,8 @@ impl IFaxOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5162,8 +5162,8 @@ impl IFaxOutgoingJob_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5218,8 +5218,8 @@ impl IFaxOutgoingJob2_Vtbl { ScheduleType: ScheduleType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5274,8 +5274,8 @@ impl IFaxOutgoingJobs_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5526,8 +5526,8 @@ impl IFaxOutgoingMessage_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5616,8 +5616,8 @@ impl IFaxOutgoingMessage2_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5693,8 +5693,8 @@ impl IFaxOutgoingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5950,8 +5950,8 @@ impl IFaxOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6141,8 +6141,8 @@ impl IFaxReceiptOptions_Vtbl { SetUseForInboundRouting: SetUseForInboundRouting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6198,8 +6198,8 @@ impl IFaxRecipient_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6274,8 +6274,8 @@ impl IFaxRecipients_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6358,8 +6358,8 @@ impl IFaxSecurity_Vtbl { SetInformationType: SetInformationType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6442,8 +6442,8 @@ impl IFaxSecurity2_Vtbl { SetInformationType: SetInformationType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6793,8 +6793,8 @@ impl IFaxSender_Vtbl { SaveDefaultSender: SaveDefaultSender::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7100,8 +7100,8 @@ impl IFaxServer_Vtbl { APIVersion: APIVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7169,8 +7169,8 @@ impl IFaxServer2_Vtbl { Security2: Security2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7183,8 +7183,8 @@ impl IFaxServerNotify_Vtbl { pub const fn new, Impl: IFaxServerNotify_Impl, const OFFSET: isize>() -> IFaxServerNotify_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7382,8 +7382,8 @@ impl IFaxServerNotify2_Vtbl { OnGeneralServerConfigChanged: OnGeneralServerConfigChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_IO\"`"] @@ -7524,8 +7524,8 @@ impl IStiDevice_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_IO\"`"] @@ -7618,8 +7618,8 @@ impl IStiDeviceControl_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_IO\"`, `\"Win32_System_Registry\"`"] @@ -7759,8 +7759,8 @@ impl IStiUSD_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStillImageW_Impl: Sized { @@ -7883,7 +7883,7 @@ impl IStillImageW_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index 9066773e85..d1865f2142 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -71,8 +71,8 @@ impl IFunctionDiscovery_Vtbl { RemoveInstance: RemoveInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -109,8 +109,8 @@ impl IFunctionDiscoveryNotification_Vtbl { OnEvent: OnEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -206,8 +206,8 @@ impl IFunctionDiscoveryProvider_Vtbl { InstanceReleased: InstanceReleased::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -262,8 +262,8 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { CreateFunctionInstanceCollection: CreateFunctionInstanceCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFunctionDiscoveryProviderQuery_Impl: Sized { @@ -315,8 +315,8 @@ impl IFunctionDiscoveryProviderQuery_Vtbl { GetPropertyConstraints: GetPropertyConstraints::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -336,8 +336,8 @@ impl IFunctionDiscoveryServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -399,8 +399,8 @@ impl IFunctionInstance_Vtbl { GetCategory: GetCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -483,8 +483,8 @@ impl IFunctionInstanceCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -527,8 +527,8 @@ impl IFunctionInstanceCollectionQuery_Vtbl { Execute: Execute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -554,8 +554,8 @@ impl IFunctionInstanceQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Execute: Execute:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPNPXAssociation_Impl: Sized { @@ -588,8 +588,8 @@ impl IPNPXAssociation_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPNPXDeviceAssociation_Impl: Sized { @@ -622,8 +622,8 @@ impl IPNPXDeviceAssociation_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -706,8 +706,8 @@ impl IPropertyStoreCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -763,8 +763,8 @@ impl IProviderProperties_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -828,8 +828,8 @@ impl IProviderPropertyConstraintCollection_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -865,8 +865,8 @@ impl IProviderPublishing_Vtbl { RemoveInstance: RemoveInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProviderQueryConstraintCollection_Impl: Sized { @@ -932,7 +932,7 @@ impl IProviderQueryConstraintCollection_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index 448bea8fa8..ad200d6caa 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -102,8 +102,8 @@ impl ICivicAddressReport_Vtbl { GetDetailLevel: GetDetailLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -129,8 +129,8 @@ impl ICivicAddressReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), CivicAddressReport: CivicAddressReport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDefaultLocation_Impl: Sized { @@ -162,8 +162,8 @@ impl IDefaultLocation_Vtbl { GetReport: GetReport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -283,8 +283,8 @@ impl IDispCivicAddressReport_Vtbl { Timestamp: Timestamp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -378,8 +378,8 @@ impl IDispLatLongReport_Vtbl { Timestamp: Timestamp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -460,8 +460,8 @@ impl ILatLongReport_Vtbl { GetAltitudeError: GetAltitudeError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -487,8 +487,8 @@ impl ILatLongReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), LatLongReport: LatLongReport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_Sensors\"`"] @@ -591,8 +591,8 @@ impl ILocation_Vtbl { RequestPermissions: RequestPermissions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILocationEvents_Impl: Sized { @@ -618,8 +618,8 @@ impl ILocationEvents_Vtbl { OnStatusChanged: OnStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILocationPower_Impl: Sized { @@ -645,8 +645,8 @@ impl ILocationPower_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -701,8 +701,8 @@ impl ILocationReport_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -792,8 +792,8 @@ impl ILocationReportFactory_Vtbl { RequestPermissions: RequestPermissions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -806,8 +806,8 @@ impl _ICivicAddressReportFactoryEvents_Vtbl { pub const fn new, Impl: _ICivicAddressReportFactoryEvents_Impl, const OFFSET: isize>() -> _ICivicAddressReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -820,7 +820,7 @@ impl _ILatLongReportFactoryEvents_Vtbl { pub const fn new, Impl: _ILatLongReportFactoryEvents_Impl, const OFFSET: isize>() -> _ILatLongReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs index c01874cf7b..5aa799ba2b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs @@ -11,8 +11,8 @@ impl IDirectInput2A_Vtbl { } Self { base__: IDirectInputA_Vtbl::new::(), FindDevice: FindDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectInput2W_Impl: Sized + IDirectInputW_Impl { @@ -28,8 +28,8 @@ impl IDirectInput2W_Vtbl { } Self { base__: IDirectInputW_Vtbl::new::(), FindDevice: FindDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectInput7A_Impl: Sized + IDirectInput2A_Impl { @@ -45,8 +45,8 @@ impl IDirectInput7A_Vtbl { } Self { base__: IDirectInput2A_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirectInput7W_Impl: Sized + IDirectInput2W_Impl { @@ -62,8 +62,8 @@ impl IDirectInput7W_Vtbl { } Self { base__: IDirectInput2W_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirectInput8A_Impl: Sized { @@ -131,8 +131,8 @@ impl IDirectInput8A_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInput8W_Impl: Sized { @@ -200,8 +200,8 @@ impl IDirectInput8W_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputA_Impl: Sized { @@ -248,8 +248,8 @@ impl IDirectInputA_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputDevice2A_Impl: Sized + IDirectInputDeviceA_Impl { @@ -324,8 +324,8 @@ impl IDirectInputDevice2A_Vtbl { SendDeviceData: SendDeviceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectInputDevice2W_Impl: Sized + IDirectInputDeviceW_Impl { @@ -400,8 +400,8 @@ impl IDirectInputDevice2W_Vtbl { SendDeviceData: SendDeviceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectInputDevice7A_Impl: Sized + IDirectInputDevice2A_Impl { @@ -427,8 +427,8 @@ impl IDirectInputDevice7A_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirectInputDevice7W_Impl: Sized + IDirectInputDevice2W_Impl { @@ -454,8 +454,8 @@ impl IDirectInputDevice7W_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirectInputDevice8A_Impl: Sized { @@ -670,8 +670,8 @@ impl IDirectInputDevice8A_Vtbl { GetImageInfo: GetImageInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputDevice8W_Impl: Sized { @@ -886,8 +886,8 @@ impl IDirectInputDevice8W_Vtbl { GetImageInfo: GetImageInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputDeviceA_Impl: Sized { @@ -1004,8 +1004,8 @@ impl IDirectInputDeviceA_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputDeviceW_Impl: Sized { @@ -1122,8 +1122,8 @@ impl IDirectInputDeviceW_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputEffect_Impl: Sized { @@ -1205,8 +1205,8 @@ impl IDirectInputEffect_Vtbl { Escape: Escape::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputEffectDriver_Impl: Sized { @@ -1295,8 +1295,8 @@ impl IDirectInputEffectDriver_Vtbl { GetEffectStatus: GetEffectStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -1424,8 +1424,8 @@ impl IDirectInputJoyConfig_Vtbl { OpenConfigKey: OpenConfigKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -1553,8 +1553,8 @@ impl IDirectInputJoyConfig8_Vtbl { OpenAppStatusKey: OpenAppStatusKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectInputW_Impl: Sized { @@ -1601,7 +1601,7 @@ impl IDirectInputW_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index 9607a73253..945fd0054b 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -54,8 +54,8 @@ impl IEnumWIA_DEV_CAPS_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumWIA_DEV_INFO_Impl: Sized { @@ -114,8 +114,8 @@ impl IEnumWIA_DEV_INFO_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumWIA_FORMAT_INFO_Impl: Sized { @@ -174,8 +174,8 @@ impl IEnumWIA_FORMAT_INFO_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumWiaItem_Impl: Sized { @@ -234,8 +234,8 @@ impl IEnumWiaItem_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumWiaItem2_Impl: Sized { @@ -294,8 +294,8 @@ impl IEnumWiaItem2_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaAppErrorHandler_Impl: Sized { @@ -327,8 +327,8 @@ impl IWiaAppErrorHandler_Vtbl { ReportStatus: ReportStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaDataCallback_Impl: Sized { @@ -344,8 +344,8 @@ impl IWiaDataCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BandedDataCallback: BandedDataCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -402,8 +402,8 @@ impl IWiaDataTransfer_Vtbl { idtGetExtendedTransferInfo: idtGetExtendedTransferInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaDevMgr_Impl: Sized { @@ -496,8 +496,8 @@ impl IWiaDevMgr_Vtbl { AddDeviceDlg: AddDeviceDlg::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaDevMgr2_Impl: Sized { @@ -583,8 +583,8 @@ impl IWiaDevMgr2_Vtbl { GetImageDlg: GetImageDlg::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaDrvItem_Impl: Sized { @@ -747,8 +747,8 @@ impl IWiaDrvItem_Vtbl { DumpItemData: DumpItemData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaErrorHandler_Impl: Sized { @@ -780,8 +780,8 @@ impl IWiaErrorHandler_Vtbl { GetStatusDescription: GetStatusDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaEventCallback_Impl: Sized { @@ -797,8 +797,8 @@ impl IWiaEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ImageEventCallback: ImageEventCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -842,8 +842,8 @@ impl IWiaImageFilter_Vtbl { ApplyProperties: ApplyProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaItem_Impl: Sized { @@ -1020,8 +1020,8 @@ impl IWiaItem_Vtbl { Diagnostic: Diagnostic::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaItem2_Impl: Sized { @@ -1205,8 +1205,8 @@ impl IWiaItem2_Vtbl { Diagnostic: Diagnostic::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaItemExtras_Impl: Sized { @@ -1245,8 +1245,8 @@ impl IWiaItemExtras_Vtbl { CancelPendingIO: CancelPendingIO::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaLog_Impl: Sized { @@ -1279,8 +1279,8 @@ impl IWiaLog_Vtbl { Log: Log::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaLogEx_Impl: Sized { @@ -1327,8 +1327,8 @@ impl IWiaLogEx_Vtbl { LogEx: LogEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1522,8 +1522,8 @@ impl IWiaMiniDrv_Vtbl { drvUnInitializeWia: drvUnInitializeWia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaMiniDrvCallBack_Impl: Sized { @@ -1539,8 +1539,8 @@ impl IWiaMiniDrvCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MiniDrvCallback: MiniDrvCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1576,8 +1576,8 @@ impl IWiaMiniDrvTransferCallback_Vtbl { SendMessage: SendMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaNotifyDevMgr_Impl: Sized { @@ -1593,8 +1593,8 @@ impl IWiaNotifyDevMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewDeviceArrival: NewDeviceArrival:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaPreview_Impl: Sized { @@ -1634,8 +1634,8 @@ impl IWiaPreview_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1775,8 +1775,8 @@ impl IWiaPropertyStorage_Vtbl { SetPropertyStream: SetPropertyStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1796,8 +1796,8 @@ impl IWiaSegmentationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DetectRegions: DetectRegions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1847,8 +1847,8 @@ impl IWiaTransfer_Vtbl { EnumWIA_FORMAT_INFO: EnumWIA_FORMAT_INFO::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1884,8 +1884,8 @@ impl IWiaTransferCallback_Vtbl { GetNextStream: GetNextStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1922,8 +1922,8 @@ impl IWiaUIExtension_Vtbl { GetDeviceBitmapLogo: GetDeviceBitmapLogo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1953,8 +1953,8 @@ impl IWiaUIExtension2_Vtbl { GetDeviceIcon: GetDeviceIcon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWiaVideo_Impl: Sized { @@ -2081,7 +2081,7 @@ impl IWiaVideo_Vtbl { GetCurrentState: GetCurrentState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index a1722db363..694b53eade 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -11,8 +11,8 @@ impl IConnectionRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumPortableDeviceConnectors_Impl: Sized { @@ -58,8 +58,8 @@ impl IEnumPortableDeviceConnectors_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumPortableDeviceObjectIDs_Impl: Sized { @@ -112,8 +112,8 @@ impl IEnumPortableDeviceObjectIDs_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaRadioManager_Impl: Sized { @@ -145,8 +145,8 @@ impl IMediaRadioManager_Vtbl { OnSystemRadioStateChange: OnSystemRadioStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaRadioManagerNotifySink_Impl: Sized { @@ -179,8 +179,8 @@ impl IMediaRadioManagerNotifySink_Vtbl { OnInstanceRadioChange: OnInstanceRadioChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDevice_Impl: Sized { @@ -285,8 +285,8 @@ impl IPortableDevice_Vtbl { GetPnPDeviceID: GetPnPDeviceID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -439,8 +439,8 @@ impl IPortableDeviceCapabilities_Vtbl { GetEventOptions: GetEventOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_Properties\"`"] @@ -504,8 +504,8 @@ impl IPortableDeviceConnector_Vtbl { GetPnPID: GetPnPID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -615,8 +615,8 @@ impl IPortableDeviceContent_Vtbl { Copy: Copy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -639,8 +639,8 @@ impl IPortableDeviceContent2_Vtbl { UpdateObjectWithPropertiesAndData: UpdateObjectWithPropertiesAndData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -676,8 +676,8 @@ impl IPortableDeviceDataStream_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -703,8 +703,8 @@ impl IPortableDeviceDispatchFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceDispatch: GetDeviceDispatch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceEventCallback_Impl: Sized { @@ -720,8 +720,8 @@ impl IPortableDeviceEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -772,8 +772,8 @@ impl IPortableDeviceKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceManager_Impl: Sized { @@ -834,8 +834,8 @@ impl IPortableDeviceManager_Vtbl { GetPrivateDevices: GetPrivateDevices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -906,8 +906,8 @@ impl IPortableDevicePropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -989,8 +989,8 @@ impl IPortableDeviceProperties_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDevicePropertiesBulk_Impl: Sized { @@ -1055,8 +1055,8 @@ impl IPortableDevicePropertiesBulk_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDevicePropertiesBulkCallback_Impl: Sized { @@ -1089,8 +1089,8 @@ impl IPortableDevicePropertiesBulkCallback_Vtbl { OnEnd: OnEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1160,8 +1160,8 @@ impl IPortableDeviceResources_Vtbl { CreateResource: CreateResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceService_Impl: Sized { @@ -1292,8 +1292,8 @@ impl IPortableDeviceService_Vtbl { SendCommand: SendCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceServiceActivation_Impl: Sized { @@ -1319,8 +1319,8 @@ impl IPortableDeviceServiceActivation_Vtbl { CancelOpenAsync: CancelOpenAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1538,8 +1538,8 @@ impl IPortableDeviceServiceCapabilities_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceServiceManager_Impl: Sized { @@ -1571,8 +1571,8 @@ impl IPortableDeviceServiceManager_Vtbl { GetDeviceForService: GetDeviceForService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceServiceMethodCallback_Impl: Sized { @@ -1588,8 +1588,8 @@ impl IPortableDeviceServiceMethodCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceServiceMethods_Impl: Sized { @@ -1622,8 +1622,8 @@ impl IPortableDeviceServiceMethods_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceServiceOpenCallback_Impl: Sized { @@ -1639,8 +1639,8 @@ impl IPortableDeviceServiceOpenCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceUnitsStream_Impl: Sized { @@ -1666,8 +1666,8 @@ impl IPortableDeviceUnitsStream_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -2053,8 +2053,8 @@ impl IPortableDeviceValues_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPortableDeviceValuesCollection_Impl: Sized { @@ -2107,8 +2107,8 @@ impl IPortableDeviceValuesCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2144,8 +2144,8 @@ impl IPortableDeviceWebControl_Vtbl { GetDeviceFromIdAsync: GetDeviceFromIdAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRadioInstance_Impl: Sized { @@ -2230,8 +2230,8 @@ impl IRadioInstance_Vtbl { IsAssociatingDevice: IsAssociatingDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRadioInstanceCollection_Impl: Sized { @@ -2269,8 +2269,8 @@ impl IRadioInstanceCollection_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWpdSerializer_Impl: Sized { @@ -2322,7 +2322,7 @@ impl IWpdSerializer_Vtbl { GetSerializedSize: GetSerializedSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index ab8c13304e..8216bc6055 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -27,8 +27,8 @@ impl ILocationPermissions_Vtbl { CheckLocationCapability: CheckLocationCapability::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -221,8 +221,8 @@ impl ISensor_Vtbl { SetEventSink: SetEventSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISensorCollection_Impl: Sized { @@ -288,8 +288,8 @@ impl ISensorCollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -344,8 +344,8 @@ impl ISensorDataReport_Vtbl { GetSensorValues: GetSensorValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_PortableDevices\"`"] @@ -389,8 +389,8 @@ impl ISensorEvents_Vtbl { OnLeave: OnLeave::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISensorManager_Impl: Sized { @@ -455,8 +455,8 @@ impl ISensorManager_Vtbl { RequestPermissions: RequestPermissions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISensorManagerEvents_Impl: Sized { @@ -472,7 +472,7 @@ impl ISensorManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSensorEnter: OnSensorEnter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs index 79db3e06ff..4d8a6a7b5a 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs @@ -45,8 +45,8 @@ impl IEnumACDGroup_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -96,8 +96,8 @@ impl IEnumAddress_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -147,8 +147,8 @@ impl IEnumAgent_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -198,8 +198,8 @@ impl IEnumAgentHandler_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -249,8 +249,8 @@ impl IEnumAgentSession_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBstr_Impl: Sized { @@ -296,8 +296,8 @@ impl IEnumBstr_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -347,8 +347,8 @@ impl IEnumCall_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -398,8 +398,8 @@ impl IEnumCallHub_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -449,8 +449,8 @@ impl IEnumCallingCard_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDialableAddrs_Impl: Sized { @@ -496,8 +496,8 @@ impl IEnumDialableAddrs_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -547,8 +547,8 @@ impl IEnumDirectory_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -598,8 +598,8 @@ impl IEnumDirectoryObject_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -649,8 +649,8 @@ impl IEnumLocation_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -700,8 +700,8 @@ impl IEnumMcastScope_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -751,8 +751,8 @@ impl IEnumPhone_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -802,8 +802,8 @@ impl IEnumPluggableSuperclassInfo_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -853,8 +853,8 @@ impl IEnumPluggableTerminalClassInfo_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -904,8 +904,8 @@ impl IEnumQueue_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -955,8 +955,8 @@ impl IEnumStream_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1006,8 +1006,8 @@ impl IEnumSubStream_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1057,8 +1057,8 @@ impl IEnumTerminal_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTerminalClass_Impl: Sized { @@ -1104,8 +1104,8 @@ impl IEnumTerminalClass_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1206,8 +1206,8 @@ impl IMcastAddressAllocation_Vtbl { CreateLeaseInfoFromVariant: CreateLeaseInfoFromVariant::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1341,8 +1341,8 @@ impl IMcastLeaseInfo_Vtbl { EnumerateAddresses: EnumerateAddresses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1423,8 +1423,8 @@ impl IMcastScope_Vtbl { TTL: TTL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1479,8 +1479,8 @@ impl ITACDGroup_Vtbl { Queues: Queues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1522,8 +1522,8 @@ impl ITACDGroupEvent_Vtbl { Event: Event::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -1559,8 +1559,8 @@ impl ITAMMediaFormat_Vtbl { SetMediaFormat: SetMediaFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1615,8 +1615,8 @@ impl ITASRTerminalEvent_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1809,8 +1809,8 @@ impl ITAddress_Vtbl { DoNotDisturb: DoNotDisturb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1938,8 +1938,8 @@ impl ITAddress2_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2059,8 +2059,8 @@ impl ITAddressCapabilities_Vtbl { EnumerateDeviceClasses: EnumerateDeviceClasses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2141,8 +2141,8 @@ impl ITAddressDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2197,8 +2197,8 @@ impl ITAddressEvent_Vtbl { Terminal: Terminal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2286,8 +2286,8 @@ impl ITAddressTranslation_Vtbl { CallingCards: CallingCards::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2368,8 +2368,8 @@ impl ITAddressTranslationInfo_Vtbl { TranslationResults: TranslationResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2594,8 +2594,8 @@ impl ITAgent_Vtbl { AgentSessions: AgentSessions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2637,8 +2637,8 @@ impl ITAgentEvent_Vtbl { Event: Event::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2745,8 +2745,8 @@ impl ITAgentHandler_Vtbl { UsableAddresses: UsableAddresses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2788,8 +2788,8 @@ impl ITAgentHandlerEvent_Vtbl { Event: Event::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3020,8 +3020,8 @@ impl ITAgentSession_Vtbl { AverageTimeToAnswer: AverageTimeToAnswer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3063,8 +3063,8 @@ impl ITAgentSessionEvent_Vtbl { Event: Event::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`"] @@ -3140,8 +3140,8 @@ impl ITAllocatorProperties_Vtbl { GetBufferSize: GetBufferSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3471,8 +3471,8 @@ impl ITAutomatedPhoneControl_Vtbl { SelectedCalls: SelectedCalls::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3528,8 +3528,8 @@ impl ITBasicAudioTerminal_Vtbl { Balance: Balance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3677,8 +3677,8 @@ impl ITBasicCallControl_Vtbl { RemoveFromConference: RemoveFromConference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3721,8 +3721,8 @@ impl ITBasicCallControl2_Vtbl { UnselectTerminalOnCall: UnselectTerminalOnCall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3797,8 +3797,8 @@ impl ITCallHub_Vtbl { State: State::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3853,8 +3853,8 @@ impl ITCallHubEvent_Vtbl { Call: Call::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4003,8 +4003,8 @@ impl ITCallInfo_Vtbl { ReleaseUserUserInfo: ReleaseUserUserInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4040,8 +4040,8 @@ impl ITCallInfo2_Vtbl { put_EventFilter: put_EventFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4096,8 +4096,8 @@ impl ITCallInfoChangeEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4191,8 +4191,8 @@ impl ITCallMediaEvent_Vtbl { Cause: Cause::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4247,8 +4247,8 @@ impl ITCallNotificationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4316,8 +4316,8 @@ impl ITCallStateEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4424,8 +4424,8 @@ impl ITCallingCard_Vtbl { InternationalDialingRule: InternationalDialingRule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4480,8 +4480,8 @@ impl ITCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4507,8 +4507,8 @@ impl ITCollection2_Vtbl { } Self { base__: ITCollection_Vtbl::new::(), Add: Add::, Remove: Remove:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4604,8 +4604,8 @@ impl ITCustomTone_Vtbl { SetVolume: SetVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4681,8 +4681,8 @@ impl ITDetectTone_Vtbl { put_Frequency: put_Frequency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4763,8 +4763,8 @@ impl ITDigitDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4832,8 +4832,8 @@ impl ITDigitGenerationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4914,8 +4914,8 @@ impl ITDigitsGatheredEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5065,8 +5065,8 @@ impl ITDirectory_Vtbl { EnumerateDirectoryObjects: EnumerateDirectoryObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5161,8 +5161,8 @@ impl ITDirectoryObject_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5331,8 +5331,8 @@ impl ITDirectoryObjectConference_Vtbl { SetStopTime: SetStopTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5368,8 +5368,8 @@ impl ITDirectoryObjectUser_Vtbl { SetIPPhonePrimary: SetIPPhonePrimary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5398,8 +5398,8 @@ impl ITDispatchMapper_Vtbl { QueryDispatchInterface: QueryDispatchInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5493,8 +5493,8 @@ impl ITFileTerminalEvent_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5576,8 +5576,8 @@ impl ITFileTrack_Vtbl { EmptyAudioFormatForScripting: EmptyAudioFormatForScripting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5660,8 +5660,8 @@ impl ITForwardInformation_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5717,8 +5717,8 @@ impl ITForwardInformation2_Vtbl { get_ForwardTypeCallerAddressType: get_ForwardTypeCallerAddressType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5754,8 +5754,8 @@ impl ITILSConfig_Vtbl { SetPort: SetPort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITLegacyAddressMediaControl_Impl: Sized { @@ -5788,8 +5788,8 @@ impl ITLegacyAddressMediaControl_Vtbl { SetDevConfig: SetDevConfig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITLegacyAddressMediaControl2_Impl: Sized + ITLegacyAddressMediaControl_Impl { @@ -5815,8 +5815,8 @@ impl ITLegacyAddressMediaControl2_Vtbl { ConfigDialogEdit: ConfigDialogEdit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5867,8 +5867,8 @@ impl ITLegacyCallMediaControl_Vtbl { MonitorMedia: MonitorMedia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5972,8 +5972,8 @@ impl ITLegacyCallMediaControl2_Vtbl { GetIDAsVariant: GetIDAsVariant::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5999,8 +5999,8 @@ impl ITLegacyWaveSupport_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), IsFullDuplex: IsFullDuplex:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6159,8 +6159,8 @@ impl ITLocationInfo_Vtbl { CancelCallWaitingCode: CancelCallWaitingCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITMSPAddress_Impl: Sized { @@ -6220,8 +6220,8 @@ impl ITMSPAddress_Vtbl { GetEvent: GetEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6271,8 +6271,8 @@ impl ITMediaControl_Vtbl { MediaState: MediaState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6308,8 +6308,8 @@ impl ITMediaPlayback_Vtbl { PlayList: PlayList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6345,8 +6345,8 @@ impl ITMediaRecord_Vtbl { FileName: FileName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6388,8 +6388,8 @@ impl ITMediaSupport_Vtbl { QueryMediaType: QueryMediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6477,8 +6477,8 @@ impl ITMultiTrackTerminal_Vtbl { RemoveTrackTerminal: RemoveTrackTerminal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6845,8 +6845,8 @@ impl ITPhone_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6914,8 +6914,8 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7048,8 +7048,8 @@ impl ITPhoneEvent_Vtbl { Call: Call::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7156,8 +7156,8 @@ impl ITPluggableTerminalClassInfo_Vtbl { MediaTypes: MediaTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7177,8 +7177,8 @@ impl ITPluggableTerminalEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITPluggableTerminalEventSinkRegistration_Impl: Sized { @@ -7204,8 +7204,8 @@ impl ITPluggableTerminalEventSinkRegistration_Vtbl { UnregisterSink: UnregisterSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7247,8 +7247,8 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { CLSID: CLSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7329,8 +7329,8 @@ impl ITPrivateEvent_Vtbl { EventInterface: EventInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7385,8 +7385,8 @@ impl ITQOSEvent_Vtbl { MediaType: MediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7552,8 +7552,8 @@ impl ITQueue_Vtbl { Name: Name::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7595,8 +7595,8 @@ impl ITQueueEvent_Vtbl { Event: Event::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7664,8 +7664,8 @@ impl ITRendezvous_Vtbl { CreateDirectoryObject: CreateDirectoryObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7685,8 +7685,8 @@ impl ITRequest_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), MakeCall: MakeCall:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7780,8 +7780,8 @@ impl ITRequestEvent_Vtbl { Comment: Comment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7917,8 +7917,8 @@ impl ITScriptableAudioFormat_Vtbl { SetFormatTag: SetFormatTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7944,8 +7944,8 @@ impl ITStaticAudioTerminal_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), WaveId: WaveId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8061,8 +8061,8 @@ impl ITStream_Vtbl { Terminals: Terminals::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8124,8 +8124,8 @@ impl ITStreamControl_Vtbl { Streams: Streams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8215,8 +8215,8 @@ impl ITSubStream_Vtbl { Stream: Stream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8278,8 +8278,8 @@ impl ITSubStreamControl_Vtbl { SubStreams: SubStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8455,8 +8455,8 @@ impl ITTAPI_Vtbl { EventFilter: EventFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8511,8 +8511,8 @@ impl ITTAPI2_Vtbl { CreateEmptyCollectionObject: CreateEmptyCollectionObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8554,8 +8554,8 @@ impl ITTAPICallCenter_Vtbl { AgentHandlers: AgentHandlers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8568,8 +8568,8 @@ impl ITTAPIDispatchEventNotification_Vtbl { pub const fn new, Impl: ITTAPIDispatchEventNotification_Impl, const OFFSET: isize>() -> ITTAPIDispatchEventNotification_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8589,8 +8589,8 @@ impl ITTAPIEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8658,8 +8658,8 @@ impl ITTAPIObjectEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8685,8 +8685,8 @@ impl ITTAPIObjectEvent2_Vtbl { } Self { base__: ITTAPIObjectEvent_Vtbl::new::(), Phone: Phone:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8741,8 +8741,8 @@ impl ITTTSTerminalEvent_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8836,8 +8836,8 @@ impl ITTerminal_Vtbl { Direction: Direction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8931,8 +8931,8 @@ impl ITTerminalSupport_Vtbl { GetDefaultStaticTerminal: GetDefaultStaticTerminal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9000,8 +9000,8 @@ impl ITTerminalSupport2_Vtbl { EnumeratePluggableTerminalClasses: EnumeratePluggableTerminalClasses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9069,8 +9069,8 @@ impl ITToneDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9125,8 +9125,8 @@ impl ITToneTerminalEvent_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`"] @@ -9197,7 +9197,7 @@ impl ITnef_Vtbl { FinishComponent: FinishComponent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs index b2546bc82f..10f2fafd88 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs @@ -21,8 +21,8 @@ impl IWSDAddress_Vtbl { Deserialize: Deserialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDAsyncCallback_Impl: Sized { @@ -38,8 +38,8 @@ impl IWSDAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDAsyncResult_Impl: Sized { @@ -112,8 +112,8 @@ impl IWSDAsyncResult_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDAttachment_Impl: Sized {} @@ -122,8 +122,8 @@ impl IWSDAttachment_Vtbl { pub const fn new, Impl: IWSDAttachment_Impl, const OFFSET: isize>() -> IWSDAttachment_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDDeviceHost_Impl: Sized { @@ -219,8 +219,8 @@ impl IWSDDeviceHost_Vtbl { SignalEvent: SignalEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDDeviceHostNotify_Impl: Sized { @@ -242,8 +242,8 @@ impl IWSDDeviceHostNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDDeviceProxy_Impl: Sized { @@ -373,8 +373,8 @@ impl IWSDDeviceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDEndpointProxy_Impl: Sized { @@ -453,8 +453,8 @@ impl IWSDEndpointProxy_Vtbl { GetFaultInfo: GetFaultInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDEventingStatus_Impl: Sized { @@ -487,8 +487,8 @@ impl IWSDEventingStatus_Vtbl { SubscriptionEnded: SubscriptionEnded::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDHttpAddress_Impl: Sized + IWSDTransportAddress_Impl { @@ -534,8 +534,8 @@ impl IWSDHttpAddress_Vtbl { SetPath: SetPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWSDHttpAuthParameters_Impl: Sized { @@ -573,8 +573,8 @@ impl IWSDHttpAuthParameters_Vtbl { GetAuthType: GetAuthType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDHttpMessageParameters_Impl: Sized + IWSDMessageParameters_Impl { @@ -673,8 +673,8 @@ impl IWSDHttpMessageParameters_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWSDInboundAttachment_Impl: Sized + IWSDAttachment_Impl { @@ -696,8 +696,8 @@ impl IWSDInboundAttachment_Vtbl { } Self { base__: IWSDAttachment_Vtbl::new::(), Read: Read::, Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWSDMessageParameters_Impl: Sized { @@ -762,8 +762,8 @@ impl IWSDMessageParameters_Vtbl { GetLowerParameters: GetLowerParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDMetadataExchange_Impl: Sized { @@ -785,8 +785,8 @@ impl IWSDMetadataExchange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMetadata: GetMetadata:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDOutboundAttachment_Impl: Sized + IWSDAttachment_Impl { @@ -825,8 +825,8 @@ impl IWSDOutboundAttachment_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Cryptography\"`"] @@ -868,8 +868,8 @@ impl IWSDSSLClientCertificate_Vtbl { GetMappedAccessToken: GetMappedAccessToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDScopeMatchingRule_Impl: Sized { @@ -907,8 +907,8 @@ impl IWSDScopeMatchingRule_Vtbl { MatchScopes: MatchScopes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDServiceMessaging_Impl: Sized { @@ -934,8 +934,8 @@ impl IWSDServiceMessaging_Vtbl { FaultRequest: FaultRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDServiceProxy_Impl: Sized + IWSDMetadataExchange_Impl { @@ -1020,8 +1020,8 @@ impl IWSDServiceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWSDServiceProxyEventing_Impl: Sized + IWSDServiceProxy_Impl { @@ -1141,8 +1141,8 @@ impl IWSDServiceProxyEventing_Vtbl { EndGetStatusForMultipleOperations: EndGetStatusForMultipleOperations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWSDSignatureProperty_Impl: Sized { @@ -1201,8 +1201,8 @@ impl IWSDSignatureProperty_Vtbl { GetSignedInfoHash: GetSignedInfoHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDTransportAddress_Impl: Sized + IWSDAddress_Impl { @@ -1267,8 +1267,8 @@ impl IWSDTransportAddress_Vtbl { SetTransportAddress: SetTransportAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] @@ -1372,8 +1372,8 @@ impl IWSDUdpAddress_Vtbl { GetAlias: GetAlias::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWSDUdpMessageParameters_Impl: Sized + IWSDMessageParameters_Impl { @@ -1399,8 +1399,8 @@ impl IWSDUdpMessageParameters_Vtbl { GetRetransmitParams: GetRetransmitParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWSDXMLContext_Impl: Sized { @@ -1440,8 +1440,8 @@ impl IWSDXMLContext_Vtbl { SetTypes: SetTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDiscoveredService_Impl: Sized { @@ -1590,8 +1590,8 @@ impl IWSDiscoveredService_Vtbl { GetInstanceId: GetInstanceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDiscoveryProvider_Impl: Sized { @@ -1658,8 +1658,8 @@ impl IWSDiscoveryProvider_Vtbl { GetXMLContext: GetXMLContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDiscoveryProviderNotify_Impl: Sized { @@ -1699,8 +1699,8 @@ impl IWSDiscoveryProviderNotify_Vtbl { SearchComplete: SearchComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDiscoveryPublisher_Impl: Sized { @@ -1858,8 +1858,8 @@ impl IWSDiscoveryPublisher_Vtbl { GetXMLContext: GetXMLContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWSDiscoveryPublisherNotify_Impl: Sized { @@ -1885,7 +1885,7 @@ impl IWSDiscoveryPublisherNotify_Vtbl { ResolveHandler: ResolveHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs index 3cb078a806..c5b728c795 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs @@ -41,8 +41,8 @@ impl IGameExplorer_Vtbl { VerifyAccess: VerifyAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGameExplorer2_Impl: Sized { @@ -81,8 +81,8 @@ impl IGameExplorer2_Vtbl { CheckAccess: CheckAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGameStatistics_Impl: Sized { @@ -220,8 +220,8 @@ impl IGameStatistics_Vtbl { GetLastPlayedCategory: GetLastPlayedCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGameStatisticsMgr_Impl: Sized { @@ -247,8 +247,8 @@ impl IGameStatisticsMgr_Vtbl { RemoveGameStatistics: RemoveGameStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXblIdpAuthManager_Impl: Sized { @@ -320,8 +320,8 @@ impl IXblIdpAuthManager_Vtbl { GetTokenAndSignatureWithTokenResult: GetTokenAndSignatureWithTokenResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXblIdpAuthManager2_Impl: Sized { @@ -346,8 +346,8 @@ impl IXblIdpAuthManager2_Vtbl { GetUserlessTokenAndSignatureWithTokenResult: GetUserlessTokenAndSignatureWithTokenResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXblIdpAuthTokenResult_Impl: Sized { @@ -619,8 +619,8 @@ impl IXblIdpAuthTokenResult_Vtbl { GetTitleRestrictions: GetTitleRestrictions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXblIdpAuthTokenResult2_Impl: Sized { @@ -671,7 +671,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { GetUniqueModernGamertag: GetUniqueModernGamertag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index 831b4303b2..fb4fbdf3be 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -17,8 +17,8 @@ impl IComprehensiveSpellCheckProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComprehensiveCheck: ComprehensiveCheck:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumCodePage_Impl: Sized { @@ -58,8 +58,8 @@ impl IEnumCodePage_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRfc1766_Impl: Sized { @@ -99,8 +99,8 @@ impl IEnumRfc1766_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumScript_Impl: Sized { @@ -140,8 +140,8 @@ impl IEnumScript_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSpellingError_Impl: Sized { @@ -157,8 +157,8 @@ impl IEnumSpellingError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangCodePages_Impl: Sized { @@ -216,8 +216,8 @@ impl IMLangCodePages_Vtbl { CodePagesToCodePage: CodePagesToCodePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangConvertCharset_Impl: Sized { @@ -296,8 +296,8 @@ impl IMLangConvertCharset_Vtbl { DoConversionFromUnicode: DoConversionFromUnicode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -341,8 +341,8 @@ impl IMLangFontLink_Vtbl { ResetFontMapping: ResetFontMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -413,8 +413,8 @@ impl IMLangFontLink2_Vtbl { CodePageToScriptID: CodePageToScriptID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMLangLineBreakConsole_Impl: Sized { @@ -447,8 +447,8 @@ impl IMLangLineBreakConsole_Vtbl { BreakLineA: BreakLineA::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangString_Impl: Sized { @@ -488,8 +488,8 @@ impl IMLangString_Vtbl { GetMLStr: GetMLStr::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangStringAStr_Impl: Sized + IMLangString_Impl { @@ -557,8 +557,8 @@ impl IMLangStringAStr_Vtbl { GetLocale: GetLocale::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMLangStringBufA_Impl: Sized { @@ -605,8 +605,8 @@ impl IMLangStringBufA_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangStringBufW_Impl: Sized { @@ -653,8 +653,8 @@ impl IMLangStringBufW_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMLangStringWStr_Impl: Sized + IMLangString_Impl { @@ -722,8 +722,8 @@ impl IMLangStringWStr_Vtbl { GetLocale: GetLocale::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMultiLanguage_Impl: Sized { @@ -876,8 +876,8 @@ impl IMultiLanguage_Vtbl { CreateConvertCharset: CreateConvertCharset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1130,8 +1130,8 @@ impl IMultiLanguage2_Vtbl { ValidateCodePageEx: ValidateCodePageEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1161,8 +1161,8 @@ impl IMultiLanguage3_Vtbl { DetectOutboundCodePageInIStream: DetectOutboundCodePageInIStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1230,8 +1230,8 @@ impl IOptionDescription_Vtbl { Labels: Labels::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1365,8 +1365,8 @@ impl ISpellCheckProvider_Vtbl { InitializeWordlist: InitializeWordlist::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1421,8 +1421,8 @@ impl ISpellCheckProviderFactory_Vtbl { CreateSpellCheckProvider: CreateSpellCheckProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1596,8 +1596,8 @@ impl ISpellChecker_Vtbl { ComprehensiveCheck: ComprehensiveCheck::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1617,8 +1617,8 @@ impl ISpellChecker2_Vtbl { } Self { base__: ISpellChecker_Vtbl::new::(), Remove: Remove:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpellCheckerChangedEventHandler_Impl: Sized { @@ -1634,8 +1634,8 @@ impl ISpellCheckerChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1690,8 +1690,8 @@ impl ISpellCheckerFactory_Vtbl { CreateSpellChecker: CreateSpellChecker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpellingError_Impl: Sized { @@ -1755,8 +1755,8 @@ impl ISpellingError_Vtbl { Replacement: Replacement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserDictionariesRegistrar_Impl: Sized { @@ -1782,7 +1782,7 @@ impl IUserDictionariesRegistrar_Vtbl { UnregisterUserDictionary: UnregisterUserDictionary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs index 3e5c9a988d..c5c5a10185 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs @@ -32,8 +32,8 @@ impl ICompositionFramePresentStatistics_Vtbl { GetDisplayInstanceArray: GetDisplayInstanceArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IIndependentFlipFramePresentStatistics_Impl: Sized + IPresentStatistics_Impl { @@ -80,8 +80,8 @@ impl IIndependentFlipFramePresentStatistics_Vtbl { GetPresentDuration: GetPresentDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPresentStatistics_Impl: Sized { @@ -107,8 +107,8 @@ impl IPresentStatistics_Vtbl { GetKind: GetKind::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPresentStatusPresentStatistics_Impl: Sized + IPresentStatistics_Impl { @@ -134,8 +134,8 @@ impl IPresentStatusPresentStatistics_Vtbl { GetPresentStatus: GetPresentStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPresentationBuffer_Impl: Sized { @@ -173,8 +173,8 @@ impl IPresentationBuffer_Vtbl { IsAvailable: IsAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPresentationContent_Impl: Sized { @@ -190,8 +190,8 @@ impl IPresentationContent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTag: SetTag:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPresentationFactory_Impl: Sized { @@ -230,8 +230,8 @@ impl IPresentationFactory_Vtbl { CreatePresentationManager: CreatePresentationManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPresentationManager_Impl: Sized { @@ -370,8 +370,8 @@ impl IPresentationManager_Vtbl { GetNextPresentStatistics: GetNextPresentStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -443,7 +443,7 @@ impl IPresentationSurface_Vtbl { SetLetterboxingMargins: SetLetterboxingMargins::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs index 320e0410f7..300a82e2c4 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs @@ -83,8 +83,8 @@ impl IDXCoreAdapter_Vtbl { GetFactory: GetFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXCoreAdapterFactory_Impl: Sized { @@ -137,8 +137,8 @@ impl IDXCoreAdapterFactory_Vtbl { UnregisterEventNotification: UnregisterEventNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXCoreAdapterList_Impl: Sized { @@ -192,7 +192,7 @@ impl IDXCoreAdapterList_Vtbl { IsAdapterPreferenceSupported: IsAdapterPreferenceSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs index a8e8e733d0..ba263e6bd2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs @@ -56,7 +56,7 @@ impl ID2D1SimplifiedGeometrySink_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs index 4c9b37fe45..480634e7ab 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs @@ -11,8 +11,8 @@ impl ID2D1AnalysisTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessAnalysisResults: ProcessAnalysisResults:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -77,8 +77,8 @@ impl ID2D1Bitmap_Vtbl { CopyFromMemory: CopyFromMemory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -141,8 +141,8 @@ impl ID2D1Bitmap1_Vtbl { Unmap: Unmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -214,8 +214,8 @@ impl ID2D1BitmapBrush_Vtbl { GetBitmap: GetBitmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -245,8 +245,8 @@ impl ID2D1BitmapBrush1_Vtbl { GetInterpolationMode1: GetInterpolationMode1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -272,8 +272,8 @@ impl ID2D1BitmapRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1BlendTransform_Impl: Sized + ID2D1ConcreteTransform_Impl { @@ -299,8 +299,8 @@ impl ID2D1BlendTransform_Vtbl { GetDescription: GetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1BorderTransform_Impl: Sized + ID2D1ConcreteTransform_Impl { @@ -340,8 +340,8 @@ impl ID2D1BorderTransform_Vtbl { GetExtendModeY: GetExtendModeY::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1BoundsAdjustmentTransform_Impl: Sized + ID2D1TransformNode_Impl { @@ -367,8 +367,8 @@ impl ID2D1BoundsAdjustmentTransform_Vtbl { GetOutputBounds: GetOutputBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -412,8 +412,8 @@ impl ID2D1Brush_Vtbl { GetTransform: GetTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1ColorContext_Impl: Sized + ID2D1Resource_Impl { @@ -446,8 +446,8 @@ impl ID2D1ColorContext_Vtbl { GetProfile: GetProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -484,8 +484,8 @@ impl ID2D1ColorContext1_Vtbl { GetSimpleColorProfile: GetSimpleColorProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1CommandList_Impl: Sized + ID2D1Image_Impl { @@ -507,8 +507,8 @@ impl ID2D1CommandList_Vtbl { } Self { base__: ID2D1Image_Vtbl::new::(), Stream: Stream::, Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -699,8 +699,8 @@ impl ID2D1CommandSink_Vtbl { PopLayer: PopLayer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -720,8 +720,8 @@ impl ID2D1CommandSink1_Vtbl { } Self { base__: ID2D1CommandSink_Vtbl::new::(), SetPrimitiveBlend1: SetPrimitiveBlend1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -758,8 +758,8 @@ impl ID2D1CommandSink2_Vtbl { DrawGdiMetafile2: DrawGdiMetafile2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -779,8 +779,8 @@ impl ID2D1CommandSink3_Vtbl { } Self { base__: ID2D1CommandSink2_Vtbl::new::(), DrawSpriteBatch: DrawSpriteBatch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -800,8 +800,8 @@ impl ID2D1CommandSink4_Vtbl { } Self { base__: ID2D1CommandSink3_Vtbl::new::(), SetPrimitiveBlend2: SetPrimitiveBlend2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -821,8 +821,8 @@ impl ID2D1CommandSink5_Vtbl { } Self { base__: ID2D1CommandSink4_Vtbl::new::(), BlendImage: BlendImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1ComputeInfo_Impl: Sized + ID2D1RenderInfo_Impl { @@ -855,8 +855,8 @@ impl ID2D1ComputeInfo_Vtbl { SetResourceTexture: SetResourceTexture::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1ComputeTransform_Impl: Sized + ID2D1Transform_Impl { @@ -882,8 +882,8 @@ impl ID2D1ComputeTransform_Vtbl { CalculateThreadgroups: CalculateThreadgroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1ConcreteTransform_Impl: Sized + ID2D1TransformNode_Impl { @@ -909,8 +909,8 @@ impl ID2D1ConcreteTransform_Vtbl { SetCached: SetCached::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Graphics_Imaging\"`"] @@ -930,8 +930,8 @@ impl ID2D1DCRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), BindDC: BindDC:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -994,8 +994,8 @@ impl ID2D1Device_Vtbl { ClearResources: ClearResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1038,8 +1038,8 @@ impl ID2D1Device1_Vtbl { CreateDeviceContext2: CreateDeviceContext2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1088,8 +1088,8 @@ impl ID2D1Device2_Vtbl { GetDxgiDevice: GetDxgiDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1115,8 +1115,8 @@ impl ID2D1Device3_Vtbl { } Self { base__: ID2D1Device2_Vtbl::new::(), CreateDeviceContext4: CreateDeviceContext4:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1159,8 +1159,8 @@ impl ID2D1Device4_Vtbl { GetMaximumColorGlyphCacheMemory: GetMaximumColorGlyphCacheMemory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1186,8 +1186,8 @@ impl ID2D1Device5_Vtbl { } Self { base__: ID2D1Device4_Vtbl::new::(), CreateDeviceContext6: CreateDeviceContext6:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`"] @@ -1213,8 +1213,8 @@ impl ID2D1Device6_Vtbl { } Self { base__: ID2D1Device5_Vtbl::new::(), CreateDeviceContext7: CreateDeviceContext7:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -1565,8 +1565,8 @@ impl ID2D1DeviceContext_Vtbl { FillOpacityMask2: FillOpacityMask2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -1615,8 +1615,8 @@ impl ID2D1DeviceContext1_Vtbl { DrawGeometryRealization: DrawGeometryRealization::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -1757,8 +1757,8 @@ impl ID2D1DeviceContext2_Vtbl { CreateTransformedImageSource: CreateTransformedImageSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -1794,8 +1794,8 @@ impl ID2D1DeviceContext3_Vtbl { DrawSpriteBatch: DrawSpriteBatch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -1880,8 +1880,8 @@ impl ID2D1DeviceContext4_Vtbl { GetSvgGlyphImage: GetSvgGlyphImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -1943,8 +1943,8 @@ impl ID2D1DeviceContext5_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -1964,8 +1964,8 @@ impl ID2D1DeviceContext6_Vtbl { } Self { base__: ID2D1DeviceContext5_Vtbl::new::(), BlendImage: BlendImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1DrawInfo_Impl: Sized + ID2D1RenderInfo_Impl { @@ -2012,8 +2012,8 @@ impl ID2D1DrawInfo_Vtbl { SetVertexProcessing: SetVertexProcessing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1DrawTransform_Impl: Sized + ID2D1Transform_Impl { @@ -2029,8 +2029,8 @@ impl ID2D1DrawTransform_Vtbl { } Self { base__: ID2D1Transform_Vtbl::new::(), SetDrawInfo: SetDrawInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -2074,8 +2074,8 @@ impl ID2D1DrawingStateBlock_Vtbl { GetTextRenderingParams: GetTextRenderingParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`"] @@ -2105,8 +2105,8 @@ impl ID2D1DrawingStateBlock1_Vtbl { SetDescription2: SetDescription2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1Effect_Impl: Sized + ID2D1Properties_Impl { @@ -2153,8 +2153,8 @@ impl ID2D1Effect_Vtbl { GetOutput: GetOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -2401,8 +2401,8 @@ impl ID2D1EffectContext_Vtbl { IsBufferPrecisionSupported: IsBufferPrecisionSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -2428,8 +2428,8 @@ impl ID2D1EffectContext1_Vtbl { } Self { base__: ID2D1EffectContext_Vtbl::new::(), CreateLookupTable3D: CreateLookupTable3D:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -2471,8 +2471,8 @@ impl ID2D1EffectContext2_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1EffectImpl_Impl: Sized { @@ -2505,8 +2505,8 @@ impl ID2D1EffectImpl_Vtbl { SetGraph: SetGraph::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2526,8 +2526,8 @@ impl ID2D1EllipseGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetEllipse: GetEllipse:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -2713,8 +2713,8 @@ impl ID2D1Factory_Vtbl { CreateDCRenderTarget: CreateDCRenderTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2836,8 +2836,8 @@ impl ID2D1Factory1_Vtbl { GetEffectProperties: GetEffectProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2863,8 +2863,8 @@ impl ID2D1Factory2_Vtbl { } Self { base__: ID2D1Factory1_Vtbl::new::(), CreateDevice2: CreateDevice2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2890,8 +2890,8 @@ impl ID2D1Factory3_Vtbl { } Self { base__: ID2D1Factory2_Vtbl::new::(), CreateDevice3: CreateDevice3:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2917,8 +2917,8 @@ impl ID2D1Factory4_Vtbl { } Self { base__: ID2D1Factory3_Vtbl::new::(), CreateDevice4: CreateDevice4:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2944,8 +2944,8 @@ impl ID2D1Factory5_Vtbl { } Self { base__: ID2D1Factory4_Vtbl::new::(), CreateDevice5: CreateDevice5:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2971,8 +2971,8 @@ impl ID2D1Factory6_Vtbl { } Self { base__: ID2D1Factory5_Vtbl::new::(), CreateDevice6: CreateDevice6:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`"] @@ -2998,8 +2998,8 @@ impl ID2D1Factory7_Vtbl { } Self { base__: ID2D1Factory6_Vtbl::new::(), CreateDevice7: CreateDevice7:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -3035,8 +3035,8 @@ impl ID2D1GdiInteropRenderTarget_Vtbl { ReleaseDC: ReleaseDC::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3072,8 +3072,8 @@ impl ID2D1GdiMetafile_Vtbl { GetBounds: GetBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3109,8 +3109,8 @@ impl ID2D1GdiMetafile1_Vtbl { GetSourceBounds: GetSourceBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1GdiMetafileSink_Impl: Sized { @@ -3126,8 +3126,8 @@ impl ID2D1GdiMetafileSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessRecord: ProcessRecord:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1GdiMetafileSink1_Impl: Sized + ID2D1GdiMetafileSink_Impl { @@ -3143,8 +3143,8 @@ impl ID2D1GdiMetafileSink1_Vtbl { } Self { base__: ID2D1GdiMetafileSink_Vtbl::new::(), ProcessRecord2: ProcessRecord2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3293,8 +3293,8 @@ impl ID2D1Geometry_Vtbl { Widen: Widen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3331,8 +3331,8 @@ impl ID2D1GeometryGroup_Vtbl { GetSourceGeometries: GetSourceGeometries::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1GeometryRealization_Impl: Sized + ID2D1Resource_Impl {} @@ -3341,8 +3341,8 @@ impl ID2D1GeometryRealization_Vtbl { pub const fn new, Impl: ID2D1GeometryRealization_Impl, const OFFSET: isize>() -> ID2D1GeometryRealization_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3393,8 +3393,8 @@ impl ID2D1GeometrySink_Vtbl { AddArc: AddArc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3424,8 +3424,8 @@ impl ID2D1GradientMesh_Vtbl { GetPatches: GetPatches::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3469,8 +3469,8 @@ impl ID2D1GradientStopCollection_Vtbl { GetExtendMode: GetExtendMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3521,8 +3521,8 @@ impl ID2D1GradientStopCollection1_Vtbl { GetColorInterpolationMode: GetColorInterpolationMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -3559,8 +3559,8 @@ impl ID2D1HwndRenderTarget_Vtbl { GetHwnd: GetHwnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1Image_Impl: Sized + ID2D1Resource_Impl {} @@ -3569,8 +3569,8 @@ impl ID2D1Image_Vtbl { pub const fn new, Impl: ID2D1Image_Impl, const OFFSET: isize>() -> ID2D1Image_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3656,8 +3656,8 @@ impl ID2D1ImageBrush_Vtbl { GetSourceRectangle: GetSourceRectangle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1ImageSource_Impl: Sized + ID2D1Image_Impl { @@ -3689,8 +3689,8 @@ impl ID2D1ImageSource_Vtbl { TryReclaimResources: TryReclaimResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -3727,8 +3727,8 @@ impl ID2D1ImageSourceFromWic_Vtbl { GetSource: GetSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3820,8 +3820,8 @@ impl ID2D1Ink_Vtbl { GetBounds: GetBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -3865,8 +3865,8 @@ impl ID2D1InkStyle_Vtbl { GetNibShape: GetNibShape::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3886,8 +3886,8 @@ impl ID2D1Layer_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), GetSize: GetSize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3938,8 +3938,8 @@ impl ID2D1LinearGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1LookupTable3D_Impl: Sized + ID2D1Resource_Impl {} @@ -3948,8 +3948,8 @@ impl ID2D1LookupTable3D_Vtbl { pub const fn new, Impl: ID2D1LookupTable3D_Impl, const OFFSET: isize>() -> ID2D1LookupTable3D_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1Mesh_Impl: Sized + ID2D1Resource_Impl { @@ -3971,8 +3971,8 @@ impl ID2D1Mesh_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), Open: Open:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1Multithread_Impl: Sized { @@ -4005,8 +4005,8 @@ impl ID2D1Multithread_Vtbl { Leave: Leave::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1OffsetTransform_Impl: Sized + ID2D1TransformNode_Impl { @@ -4032,8 +4032,8 @@ impl ID2D1OffsetTransform_Vtbl { GetOffset: GetOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4095,8 +4095,8 @@ impl ID2D1PathGeometry_Vtbl { GetFigureCount: GetFigureCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4119,8 +4119,8 @@ impl ID2D1PathGeometry1_Vtbl { ComputePointAndSegmentAtLength: ComputePointAndSegmentAtLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`"] @@ -4150,8 +4150,8 @@ impl ID2D1PrintControl_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1Properties_Impl: Sized { @@ -4246,8 +4246,8 @@ impl ID2D1Properties_Vtbl { GetSubProperties: GetSubProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4326,8 +4326,8 @@ impl ID2D1RadialGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4347,8 +4347,8 @@ impl ID2D1RectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRect: GetRect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1RenderInfo_Impl: Sized { @@ -4388,8 +4388,8 @@ impl ID2D1RenderInfo_Vtbl { SetInstructionCountHint: SetInstructionCountHint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`"] @@ -4836,8 +4836,8 @@ impl ID2D1RenderTarget_Vtbl { IsSupported: IsSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1Resource_Impl: Sized { @@ -4853,8 +4853,8 @@ impl ID2D1Resource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFactory: GetFactory:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1ResourceTexture_Impl: Sized { @@ -4870,8 +4870,8 @@ impl ID2D1ResourceTexture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4891,8 +4891,8 @@ impl ID2D1RoundedRectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRoundedRect: GetRoundedRect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4922,8 +4922,8 @@ impl ID2D1SolidColorBrush_Vtbl { GetColor: GetColor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -4953,8 +4953,8 @@ impl ID2D1SourceTransform_Vtbl { Draw: Draw::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -5006,8 +5006,8 @@ impl ID2D1SpriteBatch_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1StrokeStyle_Impl: Sized + ID2D1Resource_Impl { @@ -5082,8 +5082,8 @@ impl ID2D1StrokeStyle_Vtbl { GetDashes: GetDashes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1StrokeStyle1_Impl: Sized + ID2D1StrokeStyle_Impl { @@ -5099,8 +5099,8 @@ impl ID2D1StrokeStyle1_Vtbl { } Self { base__: ID2D1StrokeStyle_Vtbl::new::(), GetStrokeTransformType: GetStrokeTransformType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1SvgAttribute_Impl: Sized + ID2D1Resource_Impl { @@ -5132,8 +5132,8 @@ impl ID2D1SvgAttribute_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`"] @@ -5262,8 +5262,8 @@ impl ID2D1SvgDocument_Vtbl { CreatePathData: CreatePathData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1SvgElement_Impl: Sized + ID2D1Resource_Impl { @@ -5509,8 +5509,8 @@ impl ID2D1SvgElement_Vtbl { GetAttributeValueLength: GetAttributeValueLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1SvgGlyphStyle_Impl: Sized + ID2D1Resource_Impl { @@ -5557,8 +5557,8 @@ impl ID2D1SvgGlyphStyle_Vtbl { GetStroke: GetStroke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -5623,8 +5623,8 @@ impl ID2D1SvgPaint_Vtbl { GetIdLength: GetIdLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -5709,8 +5709,8 @@ impl ID2D1SvgPathData_Vtbl { CreatePathGeometry: CreatePathGeometry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -5754,8 +5754,8 @@ impl ID2D1SvgPointCollection_Vtbl { GetPointsCount: GetPointsCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1SvgStrokeDashArray_Impl: Sized + ID2D1SvgAttribute_Impl { @@ -5809,8 +5809,8 @@ impl ID2D1SvgStrokeDashArray_Vtbl { GetDashesCount: GetDashesCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -5840,8 +5840,8 @@ impl ID2D1TessellationSink_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1Transform_Impl: Sized + ID2D1TransformNode_Impl { @@ -5880,8 +5880,8 @@ impl ID2D1Transform_Vtbl { MapInvalidRect: MapInvalidRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID2D1TransformGraph_Impl: Sized { @@ -5956,8 +5956,8 @@ impl ID2D1TransformGraph_Vtbl { SetPassthroughGraph: SetPassthroughGraph::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID2D1TransformNode_Impl: Sized { @@ -5973,8 +5973,8 @@ impl ID2D1TransformNode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputCount: GetInputCount:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -6004,8 +6004,8 @@ impl ID2D1TransformedGeometry_Vtbl { GetTransform: GetTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1TransformedImageSource_Impl: Sized + ID2D1Image_Impl { @@ -6031,8 +6031,8 @@ impl ID2D1TransformedImageSource_Vtbl { GetProperties: GetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID2D1VertexBuffer_Impl: Sized { @@ -6054,7 +6054,7 @@ impl ID2D1VertexBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map::, Unmap: Unmap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs index 2d44a523d0..95635a6e81 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs @@ -17,8 +17,8 @@ impl IDxcAssembler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssembleToContainer: AssembleToContainer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcBlob_Impl: Sized { @@ -44,8 +44,8 @@ impl IDxcBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcBlobEncoding_Impl: Sized + IDxcBlob_Impl { @@ -61,8 +61,8 @@ impl IDxcBlobEncoding_Vtbl { } Self { base__: IDxcBlob_Vtbl::new::(), GetEncoding: GetEncoding:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDxcBlobUtf16_Impl: Sized + IDxcBlobEncoding_Impl { @@ -88,8 +88,8 @@ impl IDxcBlobUtf16_Vtbl { GetStringLength: GetStringLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDxcBlobUtf8_Impl: Sized + IDxcBlobEncoding_Impl { @@ -115,8 +115,8 @@ impl IDxcBlobUtf8_Vtbl { GetStringLength: GetStringLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDxcCompiler_Impl: Sized { @@ -167,8 +167,8 @@ impl IDxcCompiler_Vtbl { Disassemble: Disassemble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcCompiler2_Impl: Sized + IDxcCompiler_Impl { @@ -198,8 +198,8 @@ impl IDxcCompiler2_Vtbl { } Self { base__: IDxcCompiler_Vtbl::new::(), CompileWithDebug: CompileWithDebug:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDxcCompiler3_Impl: Sized { @@ -225,8 +225,8 @@ impl IDxcCompiler3_Vtbl { Disassemble: Disassemble::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcCompilerArgs_Impl: Sized { @@ -273,8 +273,8 @@ impl IDxcCompilerArgs_Vtbl { AddDefines: AddDefines::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcContainerBuilder_Impl: Sized { @@ -320,8 +320,8 @@ impl IDxcContainerBuilder_Vtbl { SerializeContainer: SerializeContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcContainerReflection_Impl: Sized { @@ -399,8 +399,8 @@ impl IDxcContainerReflection_Vtbl { GetPartReflection: GetPartReflection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcExtraOutputs_Impl: Sized { @@ -426,8 +426,8 @@ impl IDxcExtraOutputs_Vtbl { GetOutput: GetOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcIncludeHandler_Impl: Sized { @@ -449,8 +449,8 @@ impl IDxcIncludeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadSource: LoadSource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -590,8 +590,8 @@ impl IDxcLibrary_Vtbl { GetBlobAsUtf16: GetBlobAsUtf16::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcLinker_Impl: Sized { @@ -623,8 +623,8 @@ impl IDxcLinker_Vtbl { Link: Link::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcOperationResult_Impl: Sized { @@ -675,8 +675,8 @@ impl IDxcOperationResult_Vtbl { GetErrorBuffer: GetErrorBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcOptimizer_Impl: Sized { @@ -721,8 +721,8 @@ impl IDxcOptimizer_Vtbl { RunOptimizer: RunOptimizer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcOptimizerPass_Impl: Sized { @@ -799,8 +799,8 @@ impl IDxcOptimizerPass_Vtbl { GetOptionArgDescription: GetOptionArgDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcPdbUtils_Impl: Sized { @@ -1088,8 +1088,8 @@ impl IDxcPdbUtils_Vtbl { OverrideRootSignature: OverrideRootSignature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcResult_Impl: Sized + IDxcOperationResult_Impl { @@ -1136,8 +1136,8 @@ impl IDxcResult_Vtbl { PrimaryOutput: PrimaryOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1304,8 +1304,8 @@ impl IDxcUtils_Vtbl { GetPDBContents: GetPDBContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcValidator_Impl: Sized { @@ -1327,8 +1327,8 @@ impl IDxcValidator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Validate: Validate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcValidator2_Impl: Sized + IDxcValidator_Impl { @@ -1350,8 +1350,8 @@ impl IDxcValidator2_Vtbl { } Self { base__: IDxcValidator_Vtbl::new::(), ValidateWithDebug: ValidateWithDebug:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDxcVersionInfo_Impl: Sized { @@ -1383,8 +1383,8 @@ impl IDxcVersionInfo_Vtbl { GetFlags: GetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDxcVersionInfo2_Impl: Sized + IDxcVersionInfo_Impl { @@ -1400,8 +1400,8 @@ impl IDxcVersionInfo2_Vtbl { } Self { base__: IDxcVersionInfo_Vtbl::new::(), GetCommitInfo: GetCommitInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDxcVersionInfo3_Impl: Sized { @@ -1423,7 +1423,7 @@ impl IDxcVersionInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCustomVersionString: GetCustomVersionString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs index 460e17a39d..a23a867bc2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs @@ -21,8 +21,8 @@ impl ID3DBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3DDestructionNotifier_Impl: Sized { @@ -54,8 +54,8 @@ impl ID3DDestructionNotifier_Vtbl { UnregisterDestructionCallback: UnregisterDestructionCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3DInclude_Impl: Sized { diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs index 7f98accf2c..83e6fbfb82 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs @@ -35,8 +35,8 @@ impl ID3D10Asynchronous_Vtbl { GetDataSize: GetDataSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10BlendState_Impl: Sized + ID3D10DeviceChild_Impl { @@ -52,8 +52,8 @@ impl ID3D10BlendState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10BlendState1_Impl: Sized + ID3D10BlendState_Impl { @@ -69,8 +69,8 @@ impl ID3D10BlendState1_Vtbl { } Self { base__: ID3D10BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10Buffer_Impl: Sized + ID3D10Resource_Impl { @@ -103,8 +103,8 @@ impl ID3D10Buffer_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10Counter_Impl: Sized + ID3D10Asynchronous_Impl { @@ -120,8 +120,8 @@ impl ID3D10Counter_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`"] @@ -192,8 +192,8 @@ impl ID3D10Debug_Vtbl { Validate: Validate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10DepthStencilState_Impl: Sized + ID3D10DeviceChild_Impl { @@ -209,8 +209,8 @@ impl ID3D10DepthStencilState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -230,8 +230,8 @@ impl ID3D10DepthStencilView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -942,8 +942,8 @@ impl ID3D10Device_Vtbl { GetTextFilterSize: GetTextFilterSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -980,8 +980,8 @@ impl ID3D10Device1_Vtbl { GetFeatureLevel: GetFeatureLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10DeviceChild_Impl: Sized { @@ -1021,8 +1021,8 @@ impl ID3D10DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10Effect_Impl: Sized { @@ -1131,8 +1131,8 @@ impl ID3D10Effect_Vtbl { IsOptimized: IsOptimized::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10EffectBlendVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -1498,8 +1498,8 @@ impl ID3D10EffectPool_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsEffect: AsEffect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10EffectRasterizerVariable_Impl: Sized + ID3D10EffectVariable_Impl { @@ -2383,8 +2383,8 @@ impl ID3D10GeometryShader_Vtbl { pub const fn new, Impl: ID3D10GeometryShader_Impl, const OFFSET: isize>() -> ID3D10GeometryShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10InfoQueue_Impl: Sized { @@ -2641,8 +2641,8 @@ impl ID3D10InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10InputLayout_Impl: Sized + ID3D10DeviceChild_Impl {} @@ -2651,8 +2651,8 @@ impl ID3D10InputLayout_Vtbl { pub const fn new, Impl: ID3D10InputLayout_Impl, const OFFSET: isize>() -> ID3D10InputLayout_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10Multithread_Impl: Sized { @@ -2692,8 +2692,8 @@ impl ID3D10Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10PixelShader_Impl: Sized + ID3D10DeviceChild_Impl {} @@ -2702,8 +2702,8 @@ impl ID3D10PixelShader_Vtbl { pub const fn new, Impl: ID3D10PixelShader_Impl, const OFFSET: isize>() -> ID3D10PixelShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10Predicate_Impl: Sized + ID3D10Query_Impl {} @@ -2712,8 +2712,8 @@ impl ID3D10Predicate_Vtbl { pub const fn new, Impl: ID3D10Predicate_Impl, const OFFSET: isize>() -> ID3D10Predicate_Vtbl { Self { base__: ID3D10Query_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10Query_Impl: Sized + ID3D10Asynchronous_Impl { @@ -2729,8 +2729,8 @@ impl ID3D10Query_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10RasterizerState_Impl: Sized + ID3D10DeviceChild_Impl { @@ -2746,8 +2746,8 @@ impl ID3D10RasterizerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2767,8 +2767,8 @@ impl ID3D10RenderTargetView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10Resource_Impl: Sized + ID3D10DeviceChild_Impl { @@ -2801,8 +2801,8 @@ impl ID3D10Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10SamplerState_Impl: Sized + ID3D10DeviceChild_Impl { @@ -2818,8 +2818,8 @@ impl ID3D10SamplerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -2877,8 +2877,8 @@ impl ID3D10ShaderReflection_Vtbl { GetOutputParameterDesc: GetOutputParameterDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3041,8 +3041,8 @@ impl ID3D10ShaderReflection1_Vtbl { IsSampleFrequencyShader: IsSampleFrequencyShader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3190,8 +3190,8 @@ impl ID3D10ShaderResourceView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3211,8 +3211,8 @@ impl ID3D10ShaderResourceView1_Vtbl { } Self { base__: ID3D10ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10StateBlock_Impl: Sized { @@ -3258,8 +3258,8 @@ impl ID3D10StateBlock_Vtbl { GetDevice: GetDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D10SwitchToRef_Impl: Sized { @@ -3285,8 +3285,8 @@ impl ID3D10SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3323,8 +3323,8 @@ impl ID3D10Texture1D_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3367,8 +3367,8 @@ impl ID3D10Texture2D_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3411,8 +3411,8 @@ impl ID3D10Texture3D_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D10VertexShader_Impl: Sized + ID3D10DeviceChild_Impl {} @@ -3421,8 +3421,8 @@ impl ID3D10VertexShader_Vtbl { pub const fn new, Impl: ID3D10VertexShader_Impl, const OFFSET: isize>() -> ID3D10VertexShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D10View_Impl: Sized + ID3D10DeviceChild_Impl { @@ -3438,7 +3438,7 @@ impl ID3D10View_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index fa2de2208a..f87a2b2d80 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -11,8 +11,8 @@ impl ID3D11Asynchronous_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDataSize: GetDataSize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11AuthenticatedChannel_Impl: Sized + ID3D11DeviceChild_Impl { @@ -51,8 +51,8 @@ impl ID3D11AuthenticatedChannel_Vtbl { GetChannelHandle: GetChannelHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11BlendState_Impl: Sized + ID3D11DeviceChild_Impl { @@ -68,8 +68,8 @@ impl ID3D11BlendState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11BlendState1_Impl: Sized + ID3D11BlendState_Impl { @@ -85,8 +85,8 @@ impl ID3D11BlendState1_Vtbl { } Self { base__: ID3D11BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11Buffer_Impl: Sized + ID3D11Resource_Impl { @@ -102,8 +102,8 @@ impl ID3D11Buffer_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11ClassInstance_Impl: Sized + ID3D11DeviceChild_Impl { @@ -143,8 +143,8 @@ impl ID3D11ClassInstance_Vtbl { GetTypeName: GetTypeName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11ClassLinkage_Impl: Sized + ID3D11DeviceChild_Impl { @@ -182,8 +182,8 @@ impl ID3D11ClassLinkage_Vtbl { CreateClassInstance: CreateClassInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11CommandList_Impl: Sized + ID3D11DeviceChild_Impl { @@ -199,8 +199,8 @@ impl ID3D11CommandList_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetContextFlags: GetContextFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11ComputeShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -209,8 +209,8 @@ impl ID3D11ComputeShader_Vtbl { pub const fn new, Impl: ID3D11ComputeShader_Impl, const OFFSET: isize>() -> ID3D11ComputeShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11Counter_Impl: Sized + ID3D11Asynchronous_Impl { @@ -226,8 +226,8 @@ impl ID3D11Counter_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11CryptoSession_Impl: Sized + ID3D11DeviceChild_Impl { @@ -280,8 +280,8 @@ impl ID3D11CryptoSession_Vtbl { GetCryptoSessionHandle: GetCryptoSessionHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`"] @@ -366,8 +366,8 @@ impl ID3D11Debug_Vtbl { ValidateContextForDispatch: ValidateContextForDispatch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11DepthStencilState_Impl: Sized + ID3D11DeviceChild_Impl { @@ -383,8 +383,8 @@ impl ID3D11DepthStencilState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -404,8 +404,8 @@ impl ID3D11DepthStencilView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -719,8 +719,8 @@ impl ID3D11Device_Vtbl { GetExceptionMode: GetExceptionMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -785,8 +785,8 @@ impl ID3D11Device1_Vtbl { OpenSharedResourceByName: OpenSharedResourceByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -836,8 +836,8 @@ impl ID3D11Device2_Vtbl { CheckMultisampleQualityLevels1: CheckMultisampleQualityLevels1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -930,8 +930,8 @@ impl ID3D11Device3_Vtbl { ReadFromSubresource: ReadFromSubresource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -967,8 +967,8 @@ impl ID3D11Device4_Vtbl { UnregisterDeviceRemoved: UnregisterDeviceRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -998,8 +998,8 @@ impl ID3D11Device5_Vtbl { CreateFence: CreateFence::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11DeviceChild_Impl: Sized { @@ -1039,8 +1039,8 @@ impl ID3D11DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1812,8 +1812,8 @@ impl ID3D11DeviceContext_Vtbl { FinishCommandList: FinishCommandList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1962,8 +1962,8 @@ impl ID3D11DeviceContext1_Vtbl { DiscardView1: DiscardView1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2061,8 +2061,8 @@ impl ID3D11DeviceContext2_Vtbl { EndEvent: EndEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2099,8 +2099,8 @@ impl ID3D11DeviceContext3_Vtbl { GetHardwareProtectionState: GetHardwareProtectionState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2130,8 +2130,8 @@ impl ID3D11DeviceContext4_Vtbl { Wait: Wait::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11DomainShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -2140,8 +2140,8 @@ impl ID3D11DomainShader_Vtbl { pub const fn new, Impl: ID3D11DomainShader_Impl, const OFFSET: isize>() -> ID3D11DomainShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`"] @@ -2184,8 +2184,8 @@ impl ID3D11Fence_Vtbl { SetEventOnCompletion: SetEventOnCompletion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -2281,8 +2281,8 @@ impl ID3D11FunctionLinkingGraph_Vtbl { GenerateHlsl: GenerateHlsl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -2397,8 +2397,8 @@ impl ID3D11GeometryShader_Vtbl { pub const fn new, Impl: ID3D11GeometryShader_Impl, const OFFSET: isize>() -> ID3D11GeometryShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11HullShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -2407,8 +2407,8 @@ impl ID3D11HullShader_Vtbl { pub const fn new, Impl: ID3D11HullShader_Impl, const OFFSET: isize>() -> ID3D11HullShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11InfoQueue_Impl: Sized { @@ -2665,8 +2665,8 @@ impl ID3D11InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11InputLayout_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -2675,8 +2675,8 @@ impl ID3D11InputLayout_Vtbl { pub const fn new, Impl: ID3D11InputLayout_Impl, const OFFSET: isize>() -> ID3D11InputLayout_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11LibraryReflection_Impl: Sized { @@ -2708,8 +2708,8 @@ impl ID3D11LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -2746,8 +2746,8 @@ impl ID3D11Linker_Vtbl { AddClipPlaneFromCBuffer: AddClipPlaneFromCBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11LinkingNode_Impl: Sized {} @@ -2756,8 +2756,8 @@ impl ID3D11LinkingNode_Vtbl { pub const fn new, Impl: ID3D11LinkingNode_Impl, const OFFSET: isize>() -> ID3D11LinkingNode_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11Module_Impl: Sized { @@ -2779,8 +2779,8 @@ impl ID3D11Module_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11ModuleInstance_Impl: Sized { @@ -2862,8 +2862,8 @@ impl ID3D11ModuleInstance_Vtbl { BindResourceAsUnorderedAccessViewByName: BindResourceAsUnorderedAccessViewByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11Multithread_Impl: Sized { @@ -2903,8 +2903,8 @@ impl ID3D11Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11PixelShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -2913,8 +2913,8 @@ impl ID3D11PixelShader_Vtbl { pub const fn new, Impl: ID3D11PixelShader_Impl, const OFFSET: isize>() -> ID3D11PixelShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11Predicate_Impl: Sized + ID3D11Query_Impl {} @@ -2923,8 +2923,8 @@ impl ID3D11Predicate_Vtbl { pub const fn new, Impl: ID3D11Predicate_Impl, const OFFSET: isize>() -> ID3D11Predicate_Vtbl { Self { base__: ID3D11Query_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11Query_Impl: Sized + ID3D11Asynchronous_Impl { @@ -2940,8 +2940,8 @@ impl ID3D11Query_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11Query1_Impl: Sized + ID3D11Query_Impl { @@ -2957,8 +2957,8 @@ impl ID3D11Query1_Vtbl { } Self { base__: ID3D11Query_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11RasterizerState_Impl: Sized + ID3D11DeviceChild_Impl { @@ -2974,8 +2974,8 @@ impl ID3D11RasterizerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11RasterizerState1_Impl: Sized + ID3D11RasterizerState_Impl { @@ -2991,8 +2991,8 @@ impl ID3D11RasterizerState1_Vtbl { } Self { base__: ID3D11RasterizerState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11RasterizerState2_Impl: Sized + ID3D11RasterizerState1_Impl { @@ -3008,8 +3008,8 @@ impl ID3D11RasterizerState2_Vtbl { } Self { base__: ID3D11RasterizerState1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11RefDefaultTrackingOptions_Impl: Sized { @@ -3025,8 +3025,8 @@ impl ID3D11RefDefaultTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11RefTrackingOptions_Impl: Sized { @@ -3042,8 +3042,8 @@ impl ID3D11RefTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3063,8 +3063,8 @@ impl ID3D11RenderTargetView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3084,8 +3084,8 @@ impl ID3D11RenderTargetView1_Vtbl { } Self { base__: ID3D11RenderTargetView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11Resource_Impl: Sized + ID3D11DeviceChild_Impl { @@ -3118,8 +3118,8 @@ impl ID3D11Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11SamplerState_Impl: Sized + ID3D11DeviceChild_Impl { @@ -3135,8 +3135,8 @@ impl ID3D11SamplerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3291,8 +3291,8 @@ impl ID3D11ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3501,8 +3501,8 @@ impl ID3D11ShaderResourceView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3522,8 +3522,8 @@ impl ID3D11ShaderResourceView1_Vtbl { } Self { base__: ID3D11ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11ShaderTrace_Impl: Sized { @@ -3591,8 +3591,8 @@ impl ID3D11ShaderTrace_Vtbl { GetReadRegister: GetReadRegister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11ShaderTraceFactory_Impl: Sized { @@ -3614,8 +3614,8 @@ impl ID3D11ShaderTraceFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateShaderTrace: CreateShaderTrace:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D11SwitchToRef_Impl: Sized { @@ -3641,8 +3641,8 @@ impl ID3D11SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3662,8 +3662,8 @@ impl ID3D11Texture1D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3683,8 +3683,8 @@ impl ID3D11Texture2D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3704,8 +3704,8 @@ impl ID3D11Texture2D1_Vtbl { } Self { base__: ID3D11Texture2D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3725,8 +3725,8 @@ impl ID3D11Texture3D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3746,8 +3746,8 @@ impl ID3D11Texture3D1_Vtbl { } Self { base__: ID3D11Texture3D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11TracingDevice_Impl: Sized { @@ -3773,8 +3773,8 @@ impl ID3D11TracingDevice_Vtbl { SetShaderTrackingOptions: SetShaderTrackingOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3794,8 +3794,8 @@ impl ID3D11UnorderedAccessView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3815,8 +3815,8 @@ impl ID3D11UnorderedAccessView1_Vtbl { } Self { base__: ID3D11UnorderedAccessView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11VertexShader_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -3825,8 +3825,8 @@ impl ID3D11VertexShader_Vtbl { pub const fn new, Impl: ID3D11VertexShader_Impl, const OFFSET: isize>() -> ID3D11VertexShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4248,8 +4248,8 @@ impl ID3D11VideoContext_Vtbl { VideoProcessorGetStreamRotation: VideoProcessorGetStreamRotation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4381,8 +4381,8 @@ impl ID3D11VideoContext1_Vtbl { VideoProcessorGetBehaviorHints: VideoProcessorGetBehaviorHints::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4426,8 +4426,8 @@ impl ID3D11VideoContext2_Vtbl { VideoProcessorGetStreamHDRMetaData: VideoProcessorGetStreamHDRMetaData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4457,8 +4457,8 @@ impl ID3D11VideoContext3_Vtbl { SubmitDecoderBuffers2: SubmitDecoderBuffers2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4494,8 +4494,8 @@ impl ID3D11VideoDecoder_Vtbl { GetDriverHandle: GetDriverHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D11VideoDecoderOutputView_Impl: Sized + ID3D11View_Impl { @@ -4511,8 +4511,8 @@ impl ID3D11VideoDecoderOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4701,8 +4701,8 @@ impl ID3D11VideoDevice_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4758,8 +4758,8 @@ impl ID3D11VideoDevice1_Vtbl { RecommendVideoDecoderDownsampleParameters: RecommendVideoDecoderDownsampleParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4789,8 +4789,8 @@ impl ID3D11VideoDevice2_Vtbl { NegotiateCryptoSessionKeyExchangeMT: NegotiateCryptoSessionKeyExchangeMT::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4820,8 +4820,8 @@ impl ID3D11VideoProcessor_Vtbl { GetRateConversionCaps: GetRateConversionCaps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4891,8 +4891,8 @@ impl ID3D11VideoProcessorEnumerator_Vtbl { GetVideoProcessorFilterRange: GetVideoProcessorFilterRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -4921,8 +4921,8 @@ impl ID3D11VideoProcessorEnumerator1_Vtbl { CheckVideoProcessorFormatConversion: CheckVideoProcessorFormatConversion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11VideoProcessorInputView_Impl: Sized + ID3D11View_Impl { @@ -4938,8 +4938,8 @@ impl ID3D11VideoProcessorInputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11VideoProcessorOutputView_Impl: Sized + ID3D11View_Impl { @@ -4955,8 +4955,8 @@ impl ID3D11VideoProcessorOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D11View_Impl: Sized + ID3D11DeviceChild_Impl { @@ -4972,8 +4972,8 @@ impl ID3D11View_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3DDeviceContextState_Impl: Sized + ID3D11DeviceChild_Impl {} @@ -4982,8 +4982,8 @@ impl ID3DDeviceContextState_Vtbl { pub const fn new, Impl: ID3DDeviceContextState_Impl, const OFFSET: isize>() -> ID3DDeviceContextState_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3DUserDefinedAnnotation_Impl: Sized { @@ -5023,8 +5023,8 @@ impl ID3DUserDefinedAnnotation_Vtbl { GetStatus: GetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3DX11FFT_Impl: Sized { @@ -5085,8 +5085,8 @@ impl ID3DX11FFT_Vtbl { InverseTransform: InverseTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3DX11Scan_Impl: Sized { @@ -5119,8 +5119,8 @@ impl ID3DX11Scan_Vtbl { Multiscan: Multiscan::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3DX11SegmentedScan_Impl: Sized { @@ -5146,7 +5146,7 @@ impl ID3DX11SegmentedScan_Vtbl { SegScan: SegScan::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs index 5fe8a1dc91..bf77e52773 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs @@ -32,8 +32,8 @@ impl ID3D11On12Device_Vtbl { AcquireWrappedResources: AcquireWrappedResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`"] @@ -53,8 +53,8 @@ impl ID3D11On12Device1_Vtbl { } Self { base__: ID3D11On12Device_Vtbl::new::(), GetD3D12Device: GetD3D12Device:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`"] @@ -84,7 +84,7 @@ impl ID3D11On12Device2_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index e50c8635da..736b645205 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -11,8 +11,8 @@ impl ID3D12CommandAllocator_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), Reset: Reset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12CommandList_Impl: Sized + ID3D12DeviceChild_Impl { @@ -28,8 +28,8 @@ impl ID3D12CommandList_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), GetType: GetType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12CommandQueue_Impl: Sized + ID3D12Pageable_Impl { @@ -124,8 +124,8 @@ impl ID3D12CommandQueue_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12CommandSignature_Impl: Sized + ID3D12Pageable_Impl {} @@ -134,8 +134,8 @@ impl ID3D12CommandSignature_Vtbl { pub const fn new, Impl: ID3D12CommandSignature_Impl, const OFFSET: isize>() -> ID3D12CommandSignature_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Debug_Impl: Sized { @@ -151,8 +151,8 @@ impl ID3D12Debug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableDebugLayer: EnableDebugLayer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12Debug1_Impl: Sized { @@ -185,8 +185,8 @@ impl ID3D12Debug1_Vtbl { SetEnableSynchronizedCommandQueueValidation: SetEnableSynchronizedCommandQueueValidation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12Debug2_Impl: Sized { @@ -205,8 +205,8 @@ impl ID3D12Debug2_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12Debug3_Impl: Sized + ID3D12Debug_Impl { @@ -239,8 +239,8 @@ impl ID3D12Debug3_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12Debug4_Impl: Sized + ID3D12Debug3_Impl { @@ -256,8 +256,8 @@ impl ID3D12Debug4_Vtbl { } Self { base__: ID3D12Debug3_Vtbl::new::(), DisableDebugLayer: DisableDebugLayer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Debug5_Impl: Sized + ID3D12Debug4_Impl { @@ -273,8 +273,8 @@ impl ID3D12Debug5_Vtbl { } Self { base__: ID3D12Debug4_Vtbl::new::(), SetEnableAutoName: SetEnableAutoName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Debug6_Impl: Sized + ID3D12Debug5_Impl { @@ -293,8 +293,8 @@ impl ID3D12Debug6_Vtbl { SetForceLegacyBarrierValidation: SetForceLegacyBarrierValidation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12DebugCommandList_Impl: Sized { @@ -327,8 +327,8 @@ impl ID3D12DebugCommandList_Vtbl { GetFeatureMask: GetFeatureMask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DebugCommandList1_Impl: Sized { @@ -361,8 +361,8 @@ impl ID3D12DebugCommandList1_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DebugCommandList2_Impl: Sized + ID3D12DebugCommandList_Impl { @@ -388,8 +388,8 @@ impl ID3D12DebugCommandList2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12DebugCommandList3_Impl: Sized + ID3D12DebugCommandList2_Impl { @@ -415,8 +415,8 @@ impl ID3D12DebugCommandList3_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12DebugCommandQueue_Impl: Sized { @@ -432,8 +432,8 @@ impl ID3D12DebugCommandQueue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssertResourceState: AssertResourceState:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DebugCommandQueue1_Impl: Sized + ID3D12DebugCommandQueue_Impl { @@ -459,8 +459,8 @@ impl ID3D12DebugCommandQueue1_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12DebugDevice_Impl: Sized { @@ -493,8 +493,8 @@ impl ID3D12DebugDevice_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DebugDevice1_Impl: Sized { @@ -527,8 +527,8 @@ impl ID3D12DebugDevice1_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DebugDevice2_Impl: Sized + ID3D12DebugDevice_Impl { @@ -554,8 +554,8 @@ impl ID3D12DebugDevice2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12DescriptorHeap_Impl: Sized + ID3D12Pageable_Impl { @@ -588,8 +588,8 @@ impl ID3D12DescriptorHeap_Vtbl { GetGPUDescriptorHandleForHeapStart: GetGPUDescriptorHandleForHeapStart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -876,8 +876,8 @@ impl ID3D12Device_Vtbl { GetAdapterLuid: GetAdapterLuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -914,8 +914,8 @@ impl ID3D12Device1_Vtbl { SetResidencyPriority: SetResidencyPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -953,8 +953,8 @@ impl ID3D12Device10_Vtbl { CreateReservedResource2: CreateReservedResource2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -974,20 +974,20 @@ impl ID3D12Device11_Vtbl { } Self { base__: ID3D12Device10_Vtbl::new::(), CreateSampler2: CreateSampler2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1007,21 +1007,21 @@ impl ID3D12Device12_Vtbl { } Self { base__: ID3D12Device11_Vtbl::new::(), GetResourceAllocationInfo3: GetResourceAllocationInfo3:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1044,22 +1044,22 @@ impl ID3D12Device13_Vtbl { OpenExistingHeapFromAddress1: OpenExistingHeapFromAddress1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1079,8 +1079,8 @@ impl ID3D12Device2_Vtbl { } Self { base__: ID3D12Device1_Vtbl::new::(), CreatePipelineState: CreatePipelineState:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1117,8 +1117,8 @@ impl ID3D12Device3_Vtbl { EnqueueMakeResident: EnqueueMakeResident::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1176,8 +1176,8 @@ impl ID3D12Device4_Vtbl { GetResourceAllocationInfo1: GetResourceAllocationInfo1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1249,8 +1249,8 @@ impl ID3D12Device5_Vtbl { CheckDriverMatchingIdentifier: CheckDriverMatchingIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1270,8 +1270,8 @@ impl ID3D12Device6_Vtbl { } Self { base__: ID3D12Device5_Vtbl::new::(), SetBackgroundProcessingMode: SetBackgroundProcessingMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1301,8 +1301,8 @@ impl ID3D12Device7_Vtbl { CreateProtectedResourceSession1: CreateProtectedResourceSession1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1353,8 +1353,8 @@ impl ID3D12Device8_Vtbl { GetCopyableFootprints1: GetCopyableFootprints1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`"] @@ -1391,8 +1391,8 @@ impl ID3D12Device9_Vtbl { CreateCommandQueue1: CreateCommandQueue1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12DeviceChild_Impl: Sized + ID3D12Object_Impl { @@ -1408,8 +1408,8 @@ impl ID3D12DeviceChild_Vtbl { } Self { base__: ID3D12Object_Vtbl::new::(), GetDevice: GetDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -1453,8 +1453,8 @@ impl ID3D12DeviceConfiguration_Vtbl { CreateVersionedRootSignatureDeserializer: CreateVersionedRootSignatureDeserializer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -1519,8 +1519,8 @@ impl ID3D12DeviceFactory_Vtbl { CreateDevice: CreateDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedData_Impl: Sized { @@ -1558,8 +1558,8 @@ impl ID3D12DeviceRemovedExtendedData_Vtbl { GetPageFaultAllocationOutput: GetPageFaultAllocationOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedData1_Impl: Sized + ID3D12DeviceRemovedExtendedData_Impl { @@ -1597,8 +1597,8 @@ impl ID3D12DeviceRemovedExtendedData1_Vtbl { GetPageFaultAllocationOutput1: GetPageFaultAllocationOutput1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedData2_Impl: Sized + ID3D12DeviceRemovedExtendedData1_Impl { @@ -1624,8 +1624,8 @@ impl ID3D12DeviceRemovedExtendedData2_Vtbl { GetDeviceState: GetDeviceState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedDataSettings_Impl: Sized { @@ -1658,8 +1658,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings_Vtbl { SetWatsonDumpEnablement: SetWatsonDumpEnablement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedDataSettings1_Impl: Sized + ID3D12DeviceRemovedExtendedDataSettings_Impl { @@ -1678,8 +1678,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { SetBreadcrumbContextEnablement: SetBreadcrumbContextEnablement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12DeviceRemovedExtendedDataSettings2_Impl: Sized + ID3D12DeviceRemovedExtendedDataSettings1_Impl { @@ -1698,8 +1698,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { UseMarkersOnlyAutoBreadcrumbs: UseMarkersOnlyAutoBreadcrumbs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Fence_Impl: Sized + ID3D12Pageable_Impl { @@ -1732,8 +1732,8 @@ impl ID3D12Fence_Vtbl { Signal: Signal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Fence1_Impl: Sized + ID3D12Fence_Impl { @@ -1749,8 +1749,8 @@ impl ID3D12Fence1_Vtbl { } Self { base__: ID3D12Fence_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -2229,8 +2229,8 @@ impl ID3D12GraphicsCommandList_Vtbl { ExecuteIndirect: ExecuteIndirect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2288,8 +2288,8 @@ impl ID3D12GraphicsCommandList1_Vtbl { SetViewInstanceMask: SetViewInstanceMask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2309,8 +2309,8 @@ impl ID3D12GraphicsCommandList2_Vtbl { } Self { base__: ID3D12GraphicsCommandList1_Vtbl::new::(), WriteBufferImmediate: WriteBufferImmediate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2333,8 +2333,8 @@ impl ID3D12GraphicsCommandList3_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2413,8 +2413,8 @@ impl ID3D12GraphicsCommandList4_Vtbl { DispatchRays: DispatchRays::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2444,8 +2444,8 @@ impl ID3D12GraphicsCommandList5_Vtbl { RSSetShadingRateImage: RSSetShadingRateImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2465,8 +2465,8 @@ impl ID3D12GraphicsCommandList6_Vtbl { } Self { base__: ID3D12GraphicsCommandList5_Vtbl::new::(), DispatchMesh: DispatchMesh:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2486,18 +2486,18 @@ impl ID3D12GraphicsCommandList7_Vtbl { } Self { base__: ID3D12GraphicsCommandList6_Vtbl::new::(), Barrier: Barrier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2520,19 +2520,19 @@ impl ID3D12GraphicsCommandList8_Vtbl { OMSetFrontAndBackStencilRef: OMSetFrontAndBackStencilRef::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2562,20 +2562,20 @@ impl ID3D12GraphicsCommandList9_Vtbl { IASetIndexBufferStripCutValue: IASetIndexBufferStripCutValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } pub trait ID3D12Heap_Impl: Sized + ID3D12Pageable_Impl { @@ -2591,8 +2591,8 @@ impl ID3D12Heap_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Heap1_Impl: Sized + ID3D12Heap_Impl { @@ -2608,8 +2608,8 @@ impl ID3D12Heap1_Vtbl { } Self { base__: ID3D12Heap_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12InfoQueue_Impl: Sized { @@ -2866,8 +2866,8 @@ impl ID3D12InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12InfoQueue1_Impl: Sized + ID3D12InfoQueue_Impl { @@ -2893,8 +2893,8 @@ impl ID3D12InfoQueue1_Vtbl { UnregisterMessageCallback: UnregisterMessageCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12LibraryReflection_Impl: Sized { @@ -2926,8 +2926,8 @@ impl ID3D12LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12LifetimeOwner_Impl: Sized { @@ -2943,8 +2943,8 @@ impl ID3D12LifetimeOwner_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LifetimeStateUpdated: LifetimeStateUpdated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12LifetimeTracker_Impl: Sized + ID3D12DeviceChild_Impl { @@ -2960,8 +2960,8 @@ impl ID3D12LifetimeTracker_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), DestroyOwnedObject: DestroyOwnedObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12ManualWriteTrackingResource_Impl: Sized { @@ -2977,8 +2977,8 @@ impl ID3D12ManualWriteTrackingResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackWrite: TrackWrite:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12MetaCommand_Impl: Sized + ID3D12Pageable_Impl { @@ -2997,8 +2997,8 @@ impl ID3D12MetaCommand_Vtbl { GetRequiredParameterResourceSize: GetRequiredParameterResourceSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12Object_Impl: Sized { @@ -3038,8 +3038,8 @@ impl ID3D12Object_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12Pageable_Impl: Sized + ID3D12DeviceChild_Impl {} @@ -3048,8 +3048,8 @@ impl ID3D12Pageable_Vtbl { pub const fn new, Impl: ID3D12Pageable_Impl, const OFFSET: isize>() -> ID3D12Pageable_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3100,8 +3100,8 @@ impl ID3D12PipelineLibrary_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3121,8 +3121,8 @@ impl ID3D12PipelineLibrary1_Vtbl { } Self { base__: ID3D12PipelineLibrary_Vtbl::new::(), LoadPipeline: LoadPipeline:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3148,8 +3148,8 @@ impl ID3D12PipelineState_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetCachedBlob: GetCachedBlob:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12ProtectedResourceSession_Impl: Sized + ID3D12ProtectedSession_Impl { @@ -3165,8 +3165,8 @@ impl ID3D12ProtectedResourceSession_Vtbl { } Self { base__: ID3D12ProtectedSession_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12ProtectedResourceSession1_Impl: Sized + ID3D12ProtectedResourceSession_Impl { @@ -3182,8 +3182,8 @@ impl ID3D12ProtectedResourceSession1_Vtbl { } Self { base__: ID3D12ProtectedResourceSession_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12ProtectedSession_Impl: Sized + ID3D12DeviceChild_Impl { @@ -3209,8 +3209,8 @@ impl ID3D12ProtectedSession_Vtbl { GetSessionStatus: GetSessionStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12QueryHeap_Impl: Sized + ID3D12Pageable_Impl {} @@ -3219,8 +3219,8 @@ impl ID3D12QueryHeap_Vtbl { pub const fn new, Impl: ID3D12QueryHeap_Impl, const OFFSET: isize>() -> ID3D12QueryHeap_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3285,8 +3285,8 @@ impl ID3D12Resource_Vtbl { GetHeapProperties: GetHeapProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3306,8 +3306,8 @@ impl ID3D12Resource1_Vtbl { } Self { base__: ID3D12Resource_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3327,8 +3327,8 @@ impl ID3D12Resource2_Vtbl { } Self { base__: ID3D12Resource1_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12RootSignature_Impl: Sized + ID3D12DeviceChild_Impl {} @@ -3337,8 +3337,8 @@ impl ID3D12RootSignature_Vtbl { pub const fn new, Impl: ID3D12RootSignature_Impl, const OFFSET: isize>() -> ID3D12RootSignature_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12RootSignatureDeserializer_Impl: Sized { @@ -3354,8 +3354,8 @@ impl ID3D12RootSignatureDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRootSignatureDesc: GetRootSignatureDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12SDKConfiguration_Impl: Sized { @@ -3371,8 +3371,8 @@ impl ID3D12SDKConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSDKVersion: SetSDKVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12SDKConfiguration1_Impl: Sized + ID3D12SDKConfiguration_Impl { @@ -3398,8 +3398,8 @@ impl ID3D12SDKConfiguration1_Vtbl { FreeUnusedSDKs: FreeUnusedSDKs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ID3D12ShaderCacheSession_Impl: Sized + ID3D12DeviceChild_Impl { @@ -3439,8 +3439,8 @@ impl ID3D12ShaderCacheSession_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3595,8 +3595,8 @@ impl ID3D12ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -3825,8 +3825,8 @@ impl ID3D12SharingContract_Vtbl { EndCapturableWork: EndCapturableWork::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12StateObject_Impl: Sized + ID3D12Pageable_Impl {} @@ -3835,8 +3835,8 @@ impl ID3D12StateObject_Vtbl { pub const fn new, Impl: ID3D12StateObject_Impl, const OFFSET: isize>() -> ID3D12StateObject_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ID3D12StateObjectProperties_Impl: Sized { @@ -3876,8 +3876,8 @@ impl ID3D12StateObjectProperties_Vtbl { SetPipelineStackSize: SetPipelineStackSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12SwapChainAssistant_Impl: Sized { @@ -3917,8 +3917,8 @@ impl ID3D12SwapChainAssistant_Vtbl { InsertImplicitSync: InsertImplicitSync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12Tools_Impl: Sized { @@ -3944,8 +3944,8 @@ impl ID3D12Tools_Vtbl { ShaderInstrumentationEnabled: ShaderInstrumentationEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12VersionedRootSignatureDeserializer_Impl: Sized { @@ -3977,8 +3977,8 @@ impl ID3D12VersionedRootSignatureDeserializer_Vtbl { GetUnconvertedRootSignatureDesc: GetUnconvertedRootSignatureDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ID3D12VirtualizationGuestDevice_Impl: Sized { @@ -4016,7 +4016,7 @@ impl ID3D12VirtualizationGuestDevice_Vtbl { CreateFenceFd: CreateFenceFd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs index c9e3d343aa..4992b6d106 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs @@ -109,8 +109,8 @@ impl IDirect3D9_Vtbl { CreateDevice: CreateDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -161,8 +161,8 @@ impl IDirect3D9Ex_Vtbl { GetAdapterLUID: GetAdapterLUID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DBaseTexture9_Impl: Sized + IDirect3DResource9_Impl { @@ -216,8 +216,8 @@ impl IDirect3DBaseTexture9_Vtbl { GenerateMipSubLevels: GenerateMipSubLevels::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DCubeTexture9_Impl: Sized + IDirect3DBaseTexture9_Impl { @@ -270,8 +270,8 @@ impl IDirect3DCubeTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1195,8 +1195,8 @@ impl IDirect3DDevice9_Vtbl { CreateQuery: CreateQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1317,8 +1317,8 @@ impl IDirect3DDevice9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DIndexBuffer9_Impl: Sized + IDirect3DResource9_Impl { @@ -1351,8 +1351,8 @@ impl IDirect3DIndexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DPixelShader9_Impl: Sized { @@ -1384,8 +1384,8 @@ impl IDirect3DPixelShader9_Vtbl { GetFunction: GetFunction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DQuery9_Impl: Sized { @@ -1438,8 +1438,8 @@ impl IDirect3DQuery9_Vtbl { GetData: GetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DResource9_Impl: Sized { @@ -1513,8 +1513,8 @@ impl IDirect3DResource9_Vtbl { GetType: GetType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DStateBlock9_Impl: Sized { @@ -1553,8 +1553,8 @@ impl IDirect3DStateBlock9_Vtbl { Apply: Apply::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1612,8 +1612,8 @@ impl IDirect3DSurface9_Vtbl { ReleaseDC: ReleaseDC::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1690,8 +1690,8 @@ impl IDirect3DSwapChain9_Vtbl { GetPresentParameters: GetPresentParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1728,8 +1728,8 @@ impl IDirect3DSwapChain9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DTexture9_Impl: Sized + IDirect3DBaseTexture9_Impl { @@ -1782,8 +1782,8 @@ impl IDirect3DTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirect3DVertexBuffer9_Impl: Sized + IDirect3DResource9_Impl { @@ -1816,8 +1816,8 @@ impl IDirect3DVertexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirect3DVertexDeclaration9_Impl: Sized { @@ -1849,8 +1849,8 @@ impl IDirect3DVertexDeclaration9_Vtbl { GetDeclaration: GetDeclaration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DVertexShader9_Impl: Sized { @@ -1882,8 +1882,8 @@ impl IDirect3DVertexShader9_Vtbl { GetFunction: GetFunction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DVolume9_Impl: Sized { @@ -1957,8 +1957,8 @@ impl IDirect3DVolume9_Vtbl { UnlockBox: UnlockBox::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirect3DVolumeTexture9_Impl: Sized + IDirect3DBaseTexture9_Impl { @@ -2011,7 +2011,7 @@ impl IDirect3DVolumeTexture9_Vtbl { AddDirtyBox: AddDirtyBox::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs index 43620059f2..ab00d7f006 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs @@ -32,7 +32,7 @@ impl IDirect3DDevice9On12_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs index 9d3cbe1017..fd958ad8a2 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs @@ -60,8 +60,8 @@ impl IDCompositionAffineTransform2DEffect_Vtbl { SetSharpness2: SetSharpness2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionAnimation_Impl: Sized { @@ -115,8 +115,8 @@ impl IDCompositionAnimation_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -202,8 +202,8 @@ impl IDCompositionArithmeticCompositeEffect_Vtbl { SetCoefficient42: SetCoefficient42::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -223,8 +223,8 @@ impl IDCompositionBlendEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -310,8 +310,8 @@ impl IDCompositionBrightnessEffect_Vtbl { SetBlackPointY2: SetBlackPointY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionClip_Impl: Sized {} @@ -320,8 +320,8 @@ impl IDCompositionClip_Vtbl { pub const fn new, Impl: IDCompositionClip_Impl, const OFFSET: isize>() -> IDCompositionClip_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -372,8 +372,8 @@ impl IDCompositionColorMatrixEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -393,8 +393,8 @@ impl IDCompositionCompositeEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -450,8 +450,8 @@ impl IDCompositionDelegatedInkTrail_Vtbl { StartNewTrail: StartNewTrail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -506,8 +506,8 @@ impl IDCompositionDesktopDevice_Vtbl { CreateSurfaceFromHwnd: CreateSurfaceFromHwnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -817,8 +817,8 @@ impl IDCompositionDevice_Vtbl { CheckDeviceState: CheckDeviceState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1089,8 +1089,8 @@ impl IDCompositionDevice2_Vtbl { CreateAnimation: CreateAnimation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1275,8 +1275,8 @@ impl IDCompositionDevice3_Vtbl { CreateAffineTransform2DEffect: CreateAffineTransform2DEffect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDCompositionDeviceDebug_Impl: Sized { @@ -1302,8 +1302,8 @@ impl IDCompositionDeviceDebug_Vtbl { DisableDebugCounters: DisableDebugCounters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDCompositionEffect_Impl: Sized {} @@ -1312,8 +1312,8 @@ impl IDCompositionEffect_Vtbl { pub const fn new, Impl: IDCompositionEffect_Impl, const OFFSET: isize>() -> IDCompositionEffect_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDCompositionEffectGroup_Impl: Sized + IDCompositionEffect_Impl { @@ -1346,8 +1346,8 @@ impl IDCompositionEffectGroup_Vtbl { SetTransform3D: SetTransform3D::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDCompositionFilterEffect_Impl: Sized + IDCompositionEffect_Impl { @@ -1363,8 +1363,8 @@ impl IDCompositionFilterEffect_Vtbl { } Self { base__: IDCompositionEffect_Vtbl::new::(), SetInput: SetInput:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1401,8 +1401,8 @@ impl IDCompositionGaussianBlurEffect_Vtbl { SetBorderMode: SetBorderMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionHueRotationEffect_Impl: Sized + IDCompositionFilterEffect_Impl { @@ -1428,8 +1428,8 @@ impl IDCompositionHueRotationEffect_Vtbl { SetAngle2: SetAngle2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionInkTrailDevice_Impl: Sized { @@ -1467,8 +1467,8 @@ impl IDCompositionInkTrailDevice_Vtbl { CreateDelegatedInkTrailForSwapChain: CreateDelegatedInkTrailForSwapChain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDCompositionLinearTransferEffect_Impl: Sized + IDCompositionFilterEffect_Impl { @@ -1627,8 +1627,8 @@ impl IDCompositionLinearTransferEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -1665,8 +1665,8 @@ impl IDCompositionMatrixTransform_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`"] @@ -1703,8 +1703,8 @@ impl IDCompositionMatrixTransform3D_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionRectangleClip_Impl: Sized + IDCompositionClip_Impl { @@ -1884,8 +1884,8 @@ impl IDCompositionRectangleClip_Vtbl { SetBottomRightRadiusY2: SetBottomRightRadiusY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDCompositionRotateTransform_Impl: Sized + IDCompositionTransform_Impl { @@ -1939,8 +1939,8 @@ impl IDCompositionRotateTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionRotateTransform3D_Impl: Sized + IDCompositionTransform3D_Impl { @@ -2050,8 +2050,8 @@ impl IDCompositionRotateTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionSaturationEffect_Impl: Sized + IDCompositionFilterEffect_Impl { @@ -2077,8 +2077,8 @@ impl IDCompositionSaturationEffect_Vtbl { SetSaturation2: SetSaturation2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionScaleTransform_Impl: Sized + IDCompositionTransform_Impl { @@ -2146,8 +2146,8 @@ impl IDCompositionScaleTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionScaleTransform3D_Impl: Sized + IDCompositionTransform3D_Impl { @@ -2243,8 +2243,8 @@ impl IDCompositionScaleTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2337,8 +2337,8 @@ impl IDCompositionShadowEffect_Vtbl { SetAlpha2: SetAlpha2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionSkewTransform_Impl: Sized + IDCompositionTransform_Impl { @@ -2406,8 +2406,8 @@ impl IDCompositionSkewTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionSurface_Impl: Sized { @@ -2454,8 +2454,8 @@ impl IDCompositionSurface_Vtbl { Scroll: Scroll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2497,8 +2497,8 @@ impl IDCompositionSurfaceFactory_Vtbl { CreateVirtualSurface: CreateVirtualSurface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDCompositionTableTransferEffect_Impl: Sized + IDCompositionFilterEffect_Impl { @@ -2629,8 +2629,8 @@ impl IDCompositionTableTransferEffect_Vtbl { SetAlphaTableValue2: SetAlphaTableValue2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionTarget_Impl: Sized { @@ -2646,8 +2646,8 @@ impl IDCompositionTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRoot: SetRoot:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDCompositionTransform_Impl: Sized + IDCompositionTransform3D_Impl {} @@ -2656,8 +2656,8 @@ impl IDCompositionTransform_Vtbl { pub const fn new, Impl: IDCompositionTransform_Impl, const OFFSET: isize>() -> IDCompositionTransform_Vtbl { Self { base__: IDCompositionTransform3D_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionTransform3D_Impl: Sized + IDCompositionEffect_Impl {} @@ -2666,8 +2666,8 @@ impl IDCompositionTransform3D_Vtbl { pub const fn new, Impl: IDCompositionTransform3D_Impl, const OFFSET: isize>() -> IDCompositionTransform3D_Vtbl { Self { base__: IDCompositionEffect_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDCompositionTranslateTransform_Impl: Sized + IDCompositionTransform_Impl { @@ -2707,8 +2707,8 @@ impl IDCompositionTranslateTransform_Vtbl { SetOffsetY2: SetOffsetY2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionTranslateTransform3D_Impl: Sized + IDCompositionTransform3D_Impl { @@ -2762,8 +2762,8 @@ impl IDCompositionTranslateTransform3D_Vtbl { SetOffsetZ2: SetOffsetZ2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2828,8 +2828,8 @@ impl IDCompositionTurbulenceEffect_Vtbl { SetStitchable: SetStitchable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDCompositionVirtualSurface_Impl: Sized + IDCompositionSurface_Impl { @@ -2855,8 +2855,8 @@ impl IDCompositionVirtualSurface_Vtbl { Trim: Trim::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2991,8 +2991,8 @@ impl IDCompositionVisual_Vtbl { SetCompositeMode: SetCompositeMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3022,8 +3022,8 @@ impl IDCompositionVisual2_Vtbl { SetBackFaceVisibility: SetBackFaceVisibility::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3095,8 +3095,8 @@ impl IDCompositionVisual3_Vtbl { SetVisible: SetVisible::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`"] @@ -3140,7 +3140,7 @@ impl IDCompositionVisualDebug_Vtbl { DisableRedrawRegions: DisableRedrawRegions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs index f165e717c0..0cc45817cb 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs @@ -35,8 +35,8 @@ impl IDDVideoPortContainer_Vtbl { QueryVideoPortStatus: QueryVideoPortStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -204,8 +204,8 @@ impl IDirectDraw_Vtbl { WaitForVerticalBlank: WaitForVerticalBlank::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -380,8 +380,8 @@ impl IDirectDraw2_Vtbl { GetAvailableVidMem: GetAvailableVidMem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -590,8 +590,8 @@ impl IDirectDraw4_Vtbl { GetDeviceIdentifier: GetDeviceIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -814,8 +814,8 @@ impl IDirectDraw7_Vtbl { EvaluateMode: EvaluateMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -873,8 +873,8 @@ impl IDirectDrawClipper_Vtbl { SetHWnd: SetHWnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawColorControl_Impl: Sized { @@ -900,8 +900,8 @@ impl IDirectDrawColorControl_Vtbl { SetColorControls: SetColorControls::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawGammaControl_Impl: Sized { @@ -927,8 +927,8 @@ impl IDirectDrawGammaControl_Vtbl { SetGammaRamp: SetGammaRamp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawKernel_Impl: Sized { @@ -961,8 +961,8 @@ impl IDirectDrawKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1006,8 +1006,8 @@ impl IDirectDrawPalette_Vtbl { SetEntries: SetEntries::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1266,8 +1266,8 @@ impl IDirectDrawSurface_Vtbl { UpdateOverlayZOrder: UpdateOverlayZOrder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1547,8 +1547,8 @@ impl IDirectDrawSurface2_Vtbl { PageUnlock: PageUnlock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1835,8 +1835,8 @@ impl IDirectDrawSurface3_Vtbl { SetSurfaceDesc: SetSurfaceDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -2158,8 +2158,8 @@ impl IDirectDrawSurface4_Vtbl { ChangeUniquenessValue: ChangeUniquenessValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -2509,8 +2509,8 @@ impl IDirectDrawSurface7_Vtbl { GetLOD: GetLOD::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawSurfaceKernel_Impl: Sized { @@ -2536,8 +2536,8 @@ impl IDirectDrawSurfaceKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawVideoPort_Impl: Sized { @@ -2647,8 +2647,8 @@ impl IDirectDrawVideoPort_Vtbl { WaitForSync: WaitForSync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectDrawVideoPortNotify_Impl: Sized { @@ -2674,7 +2674,7 @@ impl IDirectDrawVideoPortNotify_Vtbl { ReleaseNotification: ReleaseNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs index d8106a95d7..dbffbae015 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs @@ -11,8 +11,8 @@ impl IDirectManipulationAutoScrollBehavior_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetConfiguration: SetConfiguration:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationCompositor_Impl: Sized { @@ -52,8 +52,8 @@ impl IDirectManipulationCompositor_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationCompositor2_Impl: Sized + IDirectManipulationCompositor_Impl { @@ -72,8 +72,8 @@ impl IDirectManipulationCompositor2_Vtbl { AddContentWithCrossProcessChaining: AddContentWithCrossProcessChaining::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectManipulationContent_Impl: Sized { @@ -147,8 +147,8 @@ impl IDirectManipulationContent_Vtbl { SyncContentTransform: SyncContentTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationDeferContactService_Impl: Sized { @@ -181,8 +181,8 @@ impl IDirectManipulationDeferContactService_Vtbl { CancelDeferral: CancelDeferral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationDragDropBehavior_Impl: Sized { @@ -214,8 +214,8 @@ impl IDirectManipulationDragDropBehavior_Vtbl { GetStatus: GetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationDragDropEventHandler_Impl: Sized { @@ -231,8 +231,8 @@ impl IDirectManipulationDragDropEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnDragDropStatusChange: OnDragDropStatusChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationFrameInfoProvider_Impl: Sized { @@ -248,8 +248,8 @@ impl IDirectManipulationFrameInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextFrameInfo: GetNextFrameInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationInteractionEventHandler_Impl: Sized { @@ -265,8 +265,8 @@ impl IDirectManipulationInteractionEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnInteraction: OnInteraction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -337,8 +337,8 @@ impl IDirectManipulationManager_Vtbl { CreateContent: CreateContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -358,8 +358,8 @@ impl IDirectManipulationManager2_Vtbl { } Self { base__: IDirectManipulationManager_Vtbl::new::(), CreateBehavior: CreateBehavior:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -379,8 +379,8 @@ impl IDirectManipulationManager3_Vtbl { } Self { base__: IDirectManipulationManager2_Vtbl::new::(), GetService: GetService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDirectManipulationPrimaryContent_Impl: Sized { @@ -455,8 +455,8 @@ impl IDirectManipulationPrimaryContent_Vtbl { GetCenterPoint: GetCenterPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationUpdateHandler_Impl: Sized { @@ -472,8 +472,8 @@ impl IDirectManipulationUpdateHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationUpdateManager_Impl: Sized { @@ -512,8 +512,8 @@ impl IDirectManipulationUpdateManager_Vtbl { Update: Update::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationViewport_Impl: Sized { @@ -739,8 +739,8 @@ impl IDirectManipulationViewport_Vtbl { Abandon: Abandon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectManipulationViewport2_Impl: Sized + IDirectManipulationViewport_Impl { @@ -779,8 +779,8 @@ impl IDirectManipulationViewport2_Vtbl { RemoveAllBehaviors: RemoveAllBehaviors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectManipulationViewportEventHandler_Impl: Sized { @@ -813,7 +813,7 @@ impl IDirectManipulationViewportEventHandler_Vtbl { OnContentUpdated: OnContentUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs index fcf2d19a0c..dd84e9e15f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs @@ -21,8 +21,8 @@ impl IDWriteAsyncResult_Vtbl { GetResult: GetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -100,8 +100,8 @@ impl IDWriteBitmapRenderTarget_Vtbl { Resize: Resize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -131,8 +131,8 @@ impl IDWriteBitmapRenderTarget1_Vtbl { SetTextAntialiasMode: SetTextAntialiasMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteColorGlyphRunEnumerator_Impl: Sized { @@ -170,8 +170,8 @@ impl IDWriteColorGlyphRunEnumerator_Vtbl { GetCurrentRun: GetCurrentRun::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteColorGlyphRunEnumerator1_Impl: Sized + IDWriteColorGlyphRunEnumerator_Impl { @@ -193,8 +193,8 @@ impl IDWriteColorGlyphRunEnumerator1_Vtbl { } Self { base__: IDWriteColorGlyphRunEnumerator_Vtbl::new::(), GetCurrentRun2: GetCurrentRun2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -453,8 +453,8 @@ impl IDWriteFactory_Vtbl { CreateGlyphRunAnalysis: CreateGlyphRunAnalysis::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -490,8 +490,8 @@ impl IDWriteFactory1_Vtbl { CreateCustomRenderingParams2: CreateCustomRenderingParams2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -572,8 +572,8 @@ impl IDWriteFactory2_Vtbl { CreateGlyphRunAnalysis2: CreateGlyphRunAnalysis2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -700,8 +700,8 @@ impl IDWriteFactory3_Vtbl { GetFontDownloadQueue: GetFontDownloadQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -756,8 +756,8 @@ impl IDWriteFactory4_Vtbl { ComputeGlyphOrigins2: ComputeGlyphOrigins2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -832,8 +832,8 @@ impl IDWriteFactory5_Vtbl { UnpackFontFile: UnpackFontFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -940,8 +940,8 @@ impl IDWriteFactory6_Vtbl { CreateTextFormat2: CreateTextFormat2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -983,8 +983,8 @@ impl IDWriteFactory7_Vtbl { GetSystemFontCollection4: GetSystemFontCollection4::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFont_Impl: Sized { @@ -1097,8 +1097,8 @@ impl IDWriteFont_Vtbl { CreateFontFace: CreateFontFace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFont1_Impl: Sized + IDWriteFont_Impl { @@ -1138,8 +1138,8 @@ impl IDWriteFont1_Vtbl { IsMonospacedFont: IsMonospacedFont::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFont2_Impl: Sized + IDWriteFont1_Impl { @@ -1155,8 +1155,8 @@ impl IDWriteFont2_Vtbl { } Self { base__: IDWriteFont1_Vtbl::new::(), IsColorFont: IsColorFont:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFont3_Impl: Sized + IDWriteFont2_Impl { @@ -1215,8 +1215,8 @@ impl IDWriteFont3_Vtbl { GetLocality: GetLocality::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontCollection_Impl: Sized { @@ -1268,8 +1268,8 @@ impl IDWriteFontCollection_Vtbl { GetFontFromFontFace: GetFontFromFontFace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontCollection1_Impl: Sized + IDWriteFontCollection_Impl { @@ -1307,8 +1307,8 @@ impl IDWriteFontCollection1_Vtbl { GetFontFamily2: GetFontFamily2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontCollection2_Impl: Sized + IDWriteFontCollection1_Impl { @@ -1366,8 +1366,8 @@ impl IDWriteFontCollection2_Vtbl { GetFontSet2: GetFontSet2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontCollection3_Impl: Sized + IDWriteFontCollection2_Impl { @@ -1383,8 +1383,8 @@ impl IDWriteFontCollection3_Vtbl { } Self { base__: IDWriteFontCollection2_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontCollectionLoader_Impl: Sized { @@ -1406,8 +1406,8 @@ impl IDWriteFontCollectionLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateEnumeratorFromKey: CreateEnumeratorFromKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontDownloadListener_Impl: Sized { @@ -1423,8 +1423,8 @@ impl IDWriteFontDownloadListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DownloadCompleted: DownloadCompleted:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontDownloadQueue_Impl: Sized { @@ -1484,8 +1484,8 @@ impl IDWriteFontDownloadQueue_Vtbl { GetGenerationCount: GetGenerationCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1612,8 +1612,8 @@ impl IDWriteFontFace_Vtbl { GetGdiCompatibleGlyphMetrics: GetGdiCompatibleGlyphMetrics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1719,8 +1719,8 @@ impl IDWriteFontFace1_Vtbl { HasVerticalGlyphVariants: HasVerticalGlyphVariants::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1771,8 +1771,8 @@ impl IDWriteFontFace2_Vtbl { GetRecommendedRenderingMode3: GetRecommendedRenderingMode3::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1916,8 +1916,8 @@ impl IDWriteFontFace3_Vtbl { AreGlyphsLocal: AreGlyphsLocal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -1967,8 +1967,8 @@ impl IDWriteFontFace4_Vtbl { ReleaseGlyphImageData: ReleaseGlyphImageData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2025,8 +2025,8 @@ impl IDWriteFontFace5_Vtbl { Equals: Equals::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D_Common\"`"] @@ -2068,8 +2068,8 @@ impl IDWriteFontFace6_Vtbl { GetFaceNames2: GetFaceNames2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontFaceReference_Impl: Sized { @@ -2203,8 +2203,8 @@ impl IDWriteFontFaceReference_Vtbl { EnqueueFileFragmentDownloadRequest: EnqueueFileFragmentDownloadRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFaceReference1_Impl: Sized + IDWriteFontFaceReference_Impl { @@ -2243,8 +2243,8 @@ impl IDWriteFontFaceReference1_Vtbl { GetFontAxisValues: GetFontAxisValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontFallback_Impl: Sized { @@ -2273,8 +2273,8 @@ impl IDWriteFontFallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapCharacters: MapCharacters:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFallback1_Impl: Sized + IDWriteFontFallback_Impl { @@ -2291,8 +2291,8 @@ impl IDWriteFontFallback1_Vtbl { } Self { base__: IDWriteFontFallback_Vtbl::new::(), MapCharacters2: MapCharacters2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontFallbackBuilder_Impl: Sized { @@ -2331,8 +2331,8 @@ impl IDWriteFontFallbackBuilder_Vtbl { CreateFontFallback: CreateFontFallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFamily_Impl: Sized + IDWriteFontList_Impl { @@ -2383,8 +2383,8 @@ impl IDWriteFontFamily_Vtbl { GetMatchingFonts: GetMatchingFonts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontFamily1_Impl: Sized + IDWriteFontFamily_Impl { @@ -2429,8 +2429,8 @@ impl IDWriteFontFamily1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontFamily2_Impl: Sized + IDWriteFontFamily1_Impl { @@ -2468,8 +2468,8 @@ impl IDWriteFontFamily2_Vtbl { GetFontSet: GetFontSet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontFile_Impl: Sized { @@ -2508,8 +2508,8 @@ impl IDWriteFontFile_Vtbl { Analyze: Analyze::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFileEnumerator_Impl: Sized { @@ -2547,8 +2547,8 @@ impl IDWriteFontFileEnumerator_Vtbl { GetCurrentFontFile: GetCurrentFontFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFileLoader_Impl: Sized { @@ -2570,8 +2570,8 @@ impl IDWriteFontFileLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateStreamFromKey: CreateStreamFromKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontFileStream_Impl: Sized { @@ -2623,8 +2623,8 @@ impl IDWriteFontFileStream_Vtbl { GetLastWriteTime: GetLastWriteTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontList_Impl: Sized { @@ -2669,8 +2669,8 @@ impl IDWriteFontList_Vtbl { GetFont: GetFont::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontList1_Impl: Sized + IDWriteFontList_Impl { @@ -2715,8 +2715,8 @@ impl IDWriteFontList1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontList2_Impl: Sized + IDWriteFontList1_Impl { @@ -2738,8 +2738,8 @@ impl IDWriteFontList2_Vtbl { } Self { base__: IDWriteFontList1_Vtbl::new::(), GetFontSet: GetFontSet:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontResource_Impl: Sized { @@ -2859,8 +2859,8 @@ impl IDWriteFontResource_Vtbl { CreateFontFaceReference: CreateFontFaceReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontSet_Impl: Sized { @@ -2978,8 +2978,8 @@ impl IDWriteFontSet_Vtbl { GetMatchingFonts2: GetMatchingFonts2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontSet1_Impl: Sized + IDWriteFontSet_Impl { @@ -3130,8 +3130,8 @@ impl IDWriteFontSet1_Vtbl { GetFontLocality: GetFontLocality::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontSet2_Impl: Sized + IDWriteFontSet1_Impl { @@ -3147,8 +3147,8 @@ impl IDWriteFontSet2_Vtbl { } Self { base__: IDWriteFontSet1_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontSet3_Impl: Sized + IDWriteFontSet2_Impl { @@ -3181,8 +3181,8 @@ impl IDWriteFontSet3_Vtbl { GetFontSourceName: GetFontSourceName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontSet4_Impl: Sized + IDWriteFontSet3_Impl { @@ -3214,8 +3214,8 @@ impl IDWriteFontSet4_Vtbl { GetMatchingFonts4: GetMatchingFonts4::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteFontSetBuilder_Impl: Sized { @@ -3261,8 +3261,8 @@ impl IDWriteFontSetBuilder_Vtbl { CreateFontSet: CreateFontSet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteFontSetBuilder1_Impl: Sized + IDWriteFontSetBuilder_Impl { @@ -3278,8 +3278,8 @@ impl IDWriteFontSetBuilder1_Vtbl { } Self { base__: IDWriteFontSetBuilder_Vtbl::new::(), AddFontFile: AddFontFile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteFontSetBuilder2_Impl: Sized + IDWriteFontSetBuilder1_Impl { @@ -3305,8 +3305,8 @@ impl IDWriteFontSetBuilder2_Vtbl { AddFontFile2: AddFontFile2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -3375,8 +3375,8 @@ impl IDWriteGdiInterop_Vtbl { CreateBitmapRenderTarget: CreateBitmapRenderTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`"] @@ -3432,8 +3432,8 @@ impl IDWriteGdiInterop1_Vtbl { GetMatchingFontsByLOGFONT: GetMatchingFontsByLOGFONT::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteGlyphRunAnalysis_Impl: Sized { @@ -3472,8 +3472,8 @@ impl IDWriteGlyphRunAnalysis_Vtbl { GetAlphaBlendParams: GetAlphaBlendParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteInMemoryFontFileLoader_Impl: Sized + IDWriteFontFileLoader_Impl { @@ -3505,8 +3505,8 @@ impl IDWriteInMemoryFontFileLoader_Vtbl { GetFileCount: GetFileCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteInlineObject_Impl: Sized { @@ -3558,8 +3558,8 @@ impl IDWriteInlineObject_Vtbl { GetBreakConditions: GetBreakConditions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteLocalFontFileLoader_Impl: Sized + IDWriteFontFileLoader_Impl { @@ -3604,8 +3604,8 @@ impl IDWriteLocalFontFileLoader_Vtbl { GetLastWriteTimeFromKey: GetLastWriteTimeFromKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteLocalizedStrings_Impl: Sized { @@ -3671,8 +3671,8 @@ impl IDWriteLocalizedStrings_Vtbl { GetString: GetString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteNumberSubstitution_Impl: Sized {} @@ -3681,8 +3681,8 @@ impl IDWriteNumberSubstitution_Vtbl { pub const fn new, Impl: IDWriteNumberSubstitution_Impl, const OFFSET: isize>() -> IDWriteNumberSubstitution_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWritePixelSnapping_Impl: Sized { @@ -3727,8 +3727,8 @@ impl IDWritePixelSnapping_Vtbl { GetPixelsPerDip: GetPixelsPerDip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteRemoteFontFileLoader_Impl: Sized + IDWriteFontFileLoader_Impl { @@ -3779,8 +3779,8 @@ impl IDWriteRemoteFontFileLoader_Vtbl { CreateFontFileReferenceFromUrl: CreateFontFileReferenceFromUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteRemoteFontFileStream_Impl: Sized + IDWriteFontFileStream_Impl { @@ -3832,8 +3832,8 @@ impl IDWriteRemoteFontFileStream_Vtbl { BeginDownload: BeginDownload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteRenderingParams_Impl: Sized { @@ -3880,8 +3880,8 @@ impl IDWriteRenderingParams_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteRenderingParams1_Impl: Sized + IDWriteRenderingParams_Impl { @@ -3900,8 +3900,8 @@ impl IDWriteRenderingParams1_Vtbl { GetGrayscaleEnhancedContrast: GetGrayscaleEnhancedContrast::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteRenderingParams2_Impl: Sized + IDWriteRenderingParams1_Impl { @@ -3917,8 +3917,8 @@ impl IDWriteRenderingParams2_Vtbl { } Self { base__: IDWriteRenderingParams1_Vtbl::new::(), GetGridFitMode: GetGridFitMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteRenderingParams3_Impl: Sized + IDWriteRenderingParams2_Impl { @@ -3934,8 +3934,8 @@ impl IDWriteRenderingParams3_Vtbl { } Self { base__: IDWriteRenderingParams2_Vtbl::new::(), GetRenderingMode1: GetRenderingMode1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteStringList_Impl: Sized { @@ -3994,8 +3994,8 @@ impl IDWriteStringList_Vtbl { GetString: GetString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteTextAnalysisSink_Impl: Sized { @@ -4035,8 +4035,8 @@ impl IDWriteTextAnalysisSink_Vtbl { SetNumberSubstitution: SetNumberSubstitution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteTextAnalysisSink1_Impl: Sized + IDWriteTextAnalysisSink_Impl { @@ -4052,8 +4052,8 @@ impl IDWriteTextAnalysisSink1_Vtbl { } Self { base__: IDWriteTextAnalysisSink_Vtbl::new::(), SetGlyphOrientation: SetGlyphOrientation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextAnalysisSource_Impl: Sized { @@ -4100,8 +4100,8 @@ impl IDWriteTextAnalysisSource_Vtbl { GetNumberSubstitution: GetNumberSubstitution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteTextAnalysisSource1_Impl: Sized + IDWriteTextAnalysisSource_Impl { @@ -4120,8 +4120,8 @@ impl IDWriteTextAnalysisSource1_Vtbl { GetVerticalGlyphOrientation: GetVerticalGlyphOrientation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextAnalyzer_Impl: Sized { @@ -4329,8 +4329,8 @@ impl IDWriteTextAnalyzer_Vtbl { GetGdiCompatibleGlyphPlacements: GetGdiCompatibleGlyphPlacements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteTextAnalyzer1_Impl: Sized + IDWriteTextAnalyzer_Impl { @@ -4437,8 +4437,8 @@ impl IDWriteTextAnalyzer1_Vtbl { GetJustifiedGlyphs: GetJustifiedGlyphs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextAnalyzer2_Impl: Sized + IDWriteTextAnalyzer1_Impl { @@ -4471,8 +4471,8 @@ impl IDWriteTextAnalyzer2_Vtbl { CheckTypographicFeature: CheckTypographicFeature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextFormat_Impl: Sized { @@ -4665,8 +4665,8 @@ impl IDWriteTextFormat_Vtbl { GetLocaleName: GetLocaleName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDWriteTextFormat1_Impl: Sized + IDWriteTextFormat_Impl { @@ -4740,8 +4740,8 @@ impl IDWriteTextFormat1_Vtbl { GetFontFallback: GetFontFallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextFormat2_Impl: Sized + IDWriteTextFormat1_Impl { @@ -4767,8 +4767,8 @@ impl IDWriteTextFormat2_Vtbl { GetLineSpacing2: GetLineSpacing2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextFormat3_Impl: Sized + IDWriteTextFormat2_Impl { @@ -4815,8 +4815,8 @@ impl IDWriteTextFormat3_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextLayout_Impl: Sized + IDWriteTextFormat_Impl { @@ -5113,8 +5113,8 @@ impl IDWriteTextLayout_Vtbl { HitTestTextRange: HitTestTextRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextLayout1_Impl: Sized + IDWriteTextLayout_Impl { @@ -5154,8 +5154,8 @@ impl IDWriteTextLayout1_Vtbl { GetCharacterSpacing: GetCharacterSpacing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextLayout2_Impl: Sized + IDWriteTextLayout1_Impl { @@ -5236,8 +5236,8 @@ impl IDWriteTextLayout2_Vtbl { GetFontFallback: GetFontFallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextLayout3_Impl: Sized + IDWriteTextLayout2_Impl { @@ -5277,8 +5277,8 @@ impl IDWriteTextLayout3_Vtbl { GetLineMetrics2: GetLineMetrics2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextLayout4_Impl: Sized + IDWriteTextLayout3_Impl { @@ -5325,8 +5325,8 @@ impl IDWriteTextLayout4_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTextRenderer_Impl: Sized + IDWritePixelSnapping_Impl { @@ -5366,8 +5366,8 @@ impl IDWriteTextRenderer_Vtbl { DrawInlineObject: DrawInlineObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDWriteTextRenderer1_Impl: Sized + IDWriteTextRenderer_Impl { @@ -5407,8 +5407,8 @@ impl IDWriteTextRenderer1_Vtbl { DrawInlineObject2: DrawInlineObject2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDWriteTypography_Impl: Sized { @@ -5447,7 +5447,7 @@ impl IDWriteTypography_Vtbl { GetFontFeature: GetFontFeature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs index 7445544ce4..6096469065 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs @@ -40,8 +40,8 @@ impl IDXGIAdapter_Vtbl { CheckInterfaceSupport: CheckInterfaceSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDXGIAdapter1_Impl: Sized + IDXGIAdapter_Impl { @@ -57,8 +57,8 @@ impl IDXGIAdapter1_Vtbl { } Self { base__: IDXGIAdapter_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIAdapter2_Impl: Sized + IDXGIAdapter1_Impl { @@ -74,8 +74,8 @@ impl IDXGIAdapter2_Vtbl { } Self { base__: IDXGIAdapter1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIAdapter3_Impl: Sized + IDXGIAdapter2_Impl { @@ -141,8 +141,8 @@ impl IDXGIAdapter3_Vtbl { UnregisterVideoMemoryBudgetChangeNotification: UnregisterVideoMemoryBudgetChangeNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIAdapter4_Impl: Sized + IDXGIAdapter3_Impl { @@ -158,8 +158,8 @@ impl IDXGIAdapter4_Vtbl { } Self { base__: IDXGIAdapter3_Vtbl::new::(), GetDesc3: GetDesc3:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIDebug_Impl: Sized { @@ -175,8 +175,8 @@ impl IDXGIDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportLiveObjects: ReportLiveObjects:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXGIDebug1_Impl: Sized + IDXGIDebug_Impl { @@ -209,8 +209,8 @@ impl IDXGIDebug1_Vtbl { IsLeakTrackingEnabledForThread: IsLeakTrackingEnabledForThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDXGIDecodeSwapChain_Impl: Sized { @@ -297,8 +297,8 @@ impl IDXGIDecodeSwapChain_Vtbl { GetColorSpace: GetColorSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -361,8 +361,8 @@ impl IDXGIDevice_Vtbl { GetGPUThreadPriority: GetGPUThreadPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -398,8 +398,8 @@ impl IDXGIDevice1_Vtbl { GetMaximumFrameLatency: GetMaximumFrameLatency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -436,8 +436,8 @@ impl IDXGIDevice2_Vtbl { EnqueueSetEvent: EnqueueSetEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -457,8 +457,8 @@ impl IDXGIDevice3_Vtbl { } Self { base__: IDXGIDevice2_Vtbl::new::(), Trim: Trim:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -488,8 +488,8 @@ impl IDXGIDevice4_Vtbl { ReclaimResources1: ReclaimResources1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIDeviceSubObject_Impl: Sized + IDXGIObject_Impl { @@ -505,8 +505,8 @@ impl IDXGIDeviceSubObject_Vtbl { } Self { base__: IDXGIObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDXGIDisplayControl_Impl: Sized { @@ -532,8 +532,8 @@ impl IDXGIDisplayControl_Vtbl { SetStereoEnabled: SetStereoEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -602,8 +602,8 @@ impl IDXGIFactory_Vtbl { CreateSoftwareAdapter: CreateSoftwareAdapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -639,8 +639,8 @@ impl IDXGIFactory1_Vtbl { IsCurrent: IsCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -781,8 +781,8 @@ impl IDXGIFactory2_Vtbl { CreateSwapChainForComposition: CreateSwapChainForComposition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -802,8 +802,8 @@ impl IDXGIFactory3_Vtbl { } Self { base__: IDXGIFactory2_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -833,8 +833,8 @@ impl IDXGIFactory4_Vtbl { EnumWarpAdapter: EnumWarpAdapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -854,8 +854,8 @@ impl IDXGIFactory5_Vtbl { } Self { base__: IDXGIFactory4_Vtbl::new::(), CheckFeatureSupport: CheckFeatureSupport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -875,8 +875,8 @@ impl IDXGIFactory6_Vtbl { } Self { base__: IDXGIFactory5_Vtbl::new::(), EnumAdapterByGpuPreference: EnumAdapterByGpuPreference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -912,8 +912,8 @@ impl IDXGIFactory7_Vtbl { UnregisterAdaptersChangedEvent: UnregisterAdaptersChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -955,8 +955,8 @@ impl IDXGIFactoryMedia_Vtbl { CreateDecodeSwapChainForCompositionSurfaceHandle: CreateDecodeSwapChainForCompositionSurfaceHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXGIInfoQueue_Impl: Sized { @@ -1227,8 +1227,8 @@ impl IDXGIInfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXGIKeyedMutex_Impl: Sized + IDXGIDeviceSubObject_Impl { @@ -1254,8 +1254,8 @@ impl IDXGIKeyedMutex_Vtbl { ReleaseSync: ReleaseSync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGIObject_Impl: Sized { @@ -1295,8 +1295,8 @@ impl IDXGIObject_Vtbl { GetParent: GetParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1396,8 +1396,8 @@ impl IDXGIOutput_Vtbl { GetFrameStatistics: GetFrameStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1447,8 +1447,8 @@ impl IDXGIOutput1_Vtbl { DuplicateOutput: DuplicateOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1468,8 +1468,8 @@ impl IDXGIOutput2_Vtbl { } Self { base__: IDXGIOutput1_Vtbl::new::(), SupportsOverlays: SupportsOverlays:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1495,8 +1495,8 @@ impl IDXGIOutput3_Vtbl { } Self { base__: IDXGIOutput2_Vtbl::new::(), CheckOverlaySupport: CheckOverlaySupport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1525,8 +1525,8 @@ impl IDXGIOutput4_Vtbl { CheckOverlayColorSpaceSupport: CheckOverlayColorSpaceSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1552,8 +1552,8 @@ impl IDXGIOutput5_Vtbl { } Self { base__: IDXGIOutput4_Vtbl::new::(), DuplicateOutput1: DuplicateOutput1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1589,8 +1589,8 @@ impl IDXGIOutput6_Vtbl { CheckHardwareCompositionSupport: CheckHardwareCompositionSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1668,8 +1668,8 @@ impl IDXGIOutputDuplication_Vtbl { ReleaseFrame: ReleaseFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDXGIResource_Impl: Sized + IDXGIDeviceSubObject_Impl { @@ -1727,8 +1727,8 @@ impl IDXGIResource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`"] @@ -1770,8 +1770,8 @@ impl IDXGIResource1_Vtbl { CreateSharedHandle: CreateSharedHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1808,8 +1808,8 @@ impl IDXGISurface_Vtbl { Unmap: Unmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1845,8 +1845,8 @@ impl IDXGISurface1_Vtbl { ReleaseDC: ReleaseDC::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`"] @@ -1866,8 +1866,8 @@ impl IDXGISurface2_Vtbl { } Self { base__: IDXGISurface1_Vtbl::new::(), GetResource: GetResource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1965,8 +1965,8 @@ impl IDXGISwapChain_Vtbl { GetLastPresentCount: GetLastPresentCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2083,8 +2083,8 @@ impl IDXGISwapChain1_Vtbl { GetRotation: GetRotation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2155,8 +2155,8 @@ impl IDXGISwapChain2_Vtbl { GetMatrixTransform: GetMatrixTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2206,8 +2206,8 @@ impl IDXGISwapChain3_Vtbl { ResizeBuffers1: ResizeBuffers1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2227,8 +2227,8 @@ impl IDXGISwapChain4_Vtbl { } Self { base__: IDXGISwapChain3_Vtbl::new::(), SetHDRMetaData: SetHDRMetaData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDXGISwapChainMedia_Impl: Sized { @@ -2261,8 +2261,8 @@ impl IDXGISwapChainMedia_Vtbl { CheckPresentDurationSupport: CheckPresentDurationSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDXGraphicsAnalysis_Impl: Sized { @@ -2288,7 +2288,7 @@ impl IDXGraphicsAnalysis_Vtbl { EndCapture: EndCapture::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs index 66ddabbb7f..bd7a61d580 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/GdiPlus/impl.rs @@ -53,7 +53,7 @@ impl IImageBytes_Vtbl { UnlockBytes: UnlockBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs index de033257c1..dd4fbe43d9 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs @@ -32,8 +32,8 @@ impl IWICImageEncoder_Vtbl { WriteThumbnail: WriteThumbnail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -59,7 +59,7 @@ impl IWICImagingFactory2_Vtbl { } Self { base__: super::IWICImagingFactory_Vtbl::new::(), CreateImageEncoder: CreateImageEncoder:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index da1156fd96..c3ed19ae96 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -34,8 +34,8 @@ impl IWICBitmap_Vtbl { SetResolution: SetResolution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICBitmapClipper_Impl: Sized + IWICBitmapSource_Impl { @@ -51,8 +51,8 @@ impl IWICBitmapClipper_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICBitmapCodecInfo_Impl: Sized + IWICComponentInfo_Impl { @@ -184,8 +184,8 @@ impl IWICBitmapCodecInfo_Vtbl { MatchesMimeType: MatchesMimeType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICBitmapCodecProgressNotification_Impl: Sized { @@ -204,8 +204,8 @@ impl IWICBitmapCodecProgressNotification_Vtbl { RegisterProgressNotification: RegisterProgressNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -346,8 +346,8 @@ impl IWICBitmapDecoder_Vtbl { GetFrame: GetFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -396,8 +396,8 @@ impl IWICBitmapDecoderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -501,8 +501,8 @@ impl IWICBitmapEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICBitmapEncoderInfo_Impl: Sized + IWICBitmapCodecInfo_Impl { @@ -524,8 +524,8 @@ impl IWICBitmapEncoderInfo_Vtbl { } Self { base__: IWICBitmapCodecInfo_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWICBitmapFlipRotator_Impl: Sized + IWICBitmapSource_Impl { @@ -541,8 +541,8 @@ impl IWICBitmapFlipRotator_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICBitmapFrameDecode_Impl: Sized + IWICBitmapSource_Impl { @@ -587,8 +587,8 @@ impl IWICBitmapFrameDecode_Vtbl { GetThumbnail: GetThumbnail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -687,8 +687,8 @@ impl IWICBitmapFrameEncode_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICBitmapLock_Impl: Sized { @@ -740,8 +740,8 @@ impl IWICBitmapLock_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICBitmapScaler_Impl: Sized + IWICBitmapSource_Impl { @@ -757,8 +757,8 @@ impl IWICBitmapScaler_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICBitmapSource_Impl: Sized { @@ -811,8 +811,8 @@ impl IWICBitmapSource_Vtbl { CopyPixels: CopyPixels::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICBitmapSourceTransform_Impl: Sized { @@ -858,8 +858,8 @@ impl IWICBitmapSourceTransform_Vtbl { DoesSupportTransform: DoesSupportTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICColorContext_Impl: Sized { @@ -925,8 +925,8 @@ impl IWICColorContext_Vtbl { GetExifColorSpace: GetExifColorSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICColorTransform_Impl: Sized + IWICBitmapSource_Impl { @@ -942,8 +942,8 @@ impl IWICColorTransform_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1050,8 +1050,8 @@ impl IWICComponentFactory_Vtbl { CreateEncoderPropertyBag: CreateEncoderPropertyBag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICComponentInfo_Impl: Sized { @@ -1143,8 +1143,8 @@ impl IWICComponentInfo_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1180,8 +1180,8 @@ impl IWICDdsDecoder_Vtbl { GetFrame: GetFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1218,8 +1218,8 @@ impl IWICDdsEncoder_Vtbl { CreateNewFrame: CreateNewFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1262,8 +1262,8 @@ impl IWICDdsFrameDecode_Vtbl { CopyBlocks: CopyBlocks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1575,8 +1575,8 @@ impl IWICDevelopRaw_Vtbl { SetNotificationCallback: SetNotificationCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWICDevelopRawNotificationCallback_Impl: Sized { @@ -1592,8 +1592,8 @@ impl IWICDevelopRawNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1643,8 +1643,8 @@ impl IWICEnumMetadataItem_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICFastMetadataEncoder_Impl: Sized { @@ -1676,8 +1676,8 @@ impl IWICFastMetadataEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICFormatConverter_Impl: Sized + IWICBitmapSource_Impl { @@ -1709,8 +1709,8 @@ impl IWICFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICFormatConverterInfo_Impl: Sized + IWICComponentInfo_Impl { @@ -1742,8 +1742,8 @@ impl IWICFormatConverterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2084,8 +2084,8 @@ impl IWICImagingFactory_Vtbl { CreateQueryWriterFromReader: CreateQueryWriterFromReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2177,8 +2177,8 @@ impl IWICJpegFrameDecode_Vtbl { CopyMinimalStream: CopyMinimalStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2222,8 +2222,8 @@ impl IWICJpegFrameEncode_Vtbl { WriteScan: WriteScan::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2291,8 +2291,8 @@ impl IWICMetadataBlockReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2349,8 +2349,8 @@ impl IWICMetadataBlockWriter_Vtbl { RemoveWriterByIndex: RemoveWriterByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICMetadataHandlerInfo_Impl: Sized + IWICComponentInfo_Impl { @@ -2435,8 +2435,8 @@ impl IWICMetadataHandlerInfo_Vtbl { DoesRequireFixedSize: DoesRequireFixedSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2492,8 +2492,8 @@ impl IWICMetadataQueryReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2523,8 +2523,8 @@ impl IWICMetadataQueryWriter_Vtbl { RemoveMetadataByName: RemoveMetadataByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2606,8 +2606,8 @@ impl IWICMetadataReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2656,8 +2656,8 @@ impl IWICMetadataReaderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2701,8 +2701,8 @@ impl IWICMetadataWriter_Vtbl { RemoveValueByIndex: RemoveValueByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICMetadataWriterInfo_Impl: Sized + IWICMetadataHandlerInfo_Impl { @@ -2734,8 +2734,8 @@ impl IWICMetadataWriterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWICPalette_Impl: Sized { @@ -2847,8 +2847,8 @@ impl IWICPalette_Vtbl { HasAlpha: HasAlpha::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2878,8 +2878,8 @@ impl IWICPersistStream_Vtbl { SaveEx: SaveEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWICPixelFormatInfo_Impl: Sized + IWICComponentInfo_Impl { @@ -2950,8 +2950,8 @@ impl IWICPixelFormatInfo_Vtbl { GetChannelMask: GetChannelMask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICPixelFormatInfo2_Impl: Sized + IWICPixelFormatInfo_Impl { @@ -2989,8 +2989,8 @@ impl IWICPixelFormatInfo2_Vtbl { GetNumericRepresentation: GetNumericRepresentation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWICPlanarBitmapFrameEncode_Impl: Sized { @@ -3016,8 +3016,8 @@ impl IWICPlanarBitmapFrameEncode_Vtbl { WriteSource: WriteSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICPlanarBitmapSourceTransform_Impl: Sized { @@ -3043,8 +3043,8 @@ impl IWICPlanarBitmapSourceTransform_Vtbl { CopyPixels: CopyPixels::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICPlanarFormatConverter_Impl: Sized + IWICBitmapSource_Impl { @@ -3076,8 +3076,8 @@ impl IWICPlanarFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWICProgressCallback_Impl: Sized { @@ -3093,8 +3093,8 @@ impl IWICProgressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWICProgressiveLevelControl_Impl: Sized { @@ -3139,8 +3139,8 @@ impl IWICProgressiveLevelControl_Vtbl { SetCurrentLevel: SetCurrentLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3184,8 +3184,8 @@ impl IWICStream_Vtbl { InitializeFromIStreamRegion: InitializeFromIStreamRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3247,7 +3247,7 @@ impl IWICStreamProvider_Vtbl { RefreshStream: RefreshStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs index cbca41ccee..1cf1a6a2fc 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs @@ -11,8 +11,8 @@ impl IAsyncGetSendNotificationCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAsyncGetSrvReferralCookie_Impl: Sized { @@ -45,8 +45,8 @@ impl IAsyncGetSrvReferralCookie_Vtbl { FinishAsyncCallWithData: FinishAsyncCallWithData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBidiAsyncNotifyChannel_Impl: Sized + IPrintAsyncNotifyChannel_Impl { @@ -93,8 +93,8 @@ impl IBidiAsyncNotifyChannel_Vtbl { AsyncCloseChannel: AsyncCloseChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBidiRequest_Impl: Sized { @@ -153,8 +153,8 @@ impl IBidiRequest_Vtbl { GetEnumCount: GetEnumCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -203,8 +203,8 @@ impl IBidiRequestContainer_Vtbl { GetRequestCount: GetRequestCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBidiSpl_Impl: Sized { @@ -244,8 +244,8 @@ impl IBidiSpl_Vtbl { MultiSendRecv: MultiSendRecv::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -301,8 +301,8 @@ impl IBidiSpl2_Vtbl { SendRecvXMLStream: SendRecvXMLStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFixedDocument_Impl: Sized { @@ -347,8 +347,8 @@ impl IFixedDocument_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFixedDocumentSequence_Impl: Sized { @@ -393,8 +393,8 @@ impl IFixedDocumentSequence_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFixedPage_Impl: Sized + IPartBase_Impl { @@ -479,8 +479,8 @@ impl IFixedPage_Vtbl { GetXpsPartIterator: GetXpsPartIterator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -503,8 +503,8 @@ impl IImgCreateErrorInfo_Vtbl { AttachToErrorInfo: AttachToErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -605,8 +605,8 @@ impl IImgErrorInfo_Vtbl { DetachErrorInfo: DetachErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInterFilterCommunicator_Impl: Sized { @@ -632,8 +632,8 @@ impl IInterFilterCommunicator_Vtbl { RequestWriter: RequestWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPartBase_Impl: Sized { @@ -691,8 +691,8 @@ impl IPartBase_Vtbl { SetPartCompression: SetPartCompression::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPartColorProfile_Impl: Sized + IPartBase_Impl {} @@ -701,8 +701,8 @@ impl IPartColorProfile_Vtbl { pub const fn new, Impl: IPartColorProfile_Impl, const OFFSET: isize>() -> IPartColorProfile_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPartDiscardControl_Impl: Sized { @@ -718,8 +718,8 @@ impl IPartDiscardControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiscardProperties: GetDiscardProperties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPartFont_Impl: Sized + IPartBase_Impl { @@ -752,8 +752,8 @@ impl IPartFont_Vtbl { SetFontOptions: SetFontOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPartFont2_Impl: Sized + IPartFont_Impl { @@ -775,8 +775,8 @@ impl IPartFont2_Vtbl { } Self { base__: IPartFont_Vtbl::new::(), GetFontRestriction: GetFontRestriction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IPartImage_Impl: Sized + IPartBase_Impl { @@ -808,8 +808,8 @@ impl IPartImage_Vtbl { SetImageContent: SetImageContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPartPrintTicket_Impl: Sized + IPartBase_Impl {} @@ -818,8 +818,8 @@ impl IPartPrintTicket_Vtbl { pub const fn new, Impl: IPartPrintTicket_Impl, const OFFSET: isize>() -> IPartPrintTicket_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPartResourceDictionary_Impl: Sized + IPartBase_Impl {} @@ -828,8 +828,8 @@ impl IPartResourceDictionary_Vtbl { pub const fn new, Impl: IPartResourceDictionary_Impl, const OFFSET: isize>() -> IPartResourceDictionary_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPartThumbnail_Impl: Sized + IPartBase_Impl { @@ -861,8 +861,8 @@ impl IPartThumbnail_Vtbl { SetThumbnailContent: SetThumbnailContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintAsyncCookie_Impl: Sized { @@ -888,8 +888,8 @@ impl IPrintAsyncCookie_Vtbl { CancelAsyncCall: CancelAsyncCall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNewChannelCookie_Impl: Sized + IPrintAsyncCookie_Impl { @@ -905,8 +905,8 @@ impl IPrintAsyncNewChannelCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintAsyncNotify_Impl: Sized { @@ -944,8 +944,8 @@ impl IPrintAsyncNotify_Vtbl { CreatePrintAsyncNotifyRegistration: CreatePrintAsyncNotifyRegistration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNotifyCallback_Impl: Sized { @@ -971,8 +971,8 @@ impl IPrintAsyncNotifyCallback_Vtbl { ChannelClosed: ChannelClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNotifyChannel_Impl: Sized { @@ -998,8 +998,8 @@ impl IPrintAsyncNotifyChannel_Vtbl { CloseChannel: CloseChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNotifyDataObject_Impl: Sized { @@ -1025,8 +1025,8 @@ impl IPrintAsyncNotifyDataObject_Vtbl { ReleaseData: ReleaseData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNotifyRegistration_Impl: Sized { @@ -1052,8 +1052,8 @@ impl IPrintAsyncNotifyRegistration_Vtbl { UnregisterForNotifications: UnregisterForNotifications::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintAsyncNotifyServerReferral_Impl: Sized { @@ -1092,8 +1092,8 @@ impl IPrintAsyncNotifyServerReferral_Vtbl { SetServerReferral: SetServerReferral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintBidiAsyncNotifyRegistration_Impl: Sized + IPrintAsyncNotifyRegistration_Impl { @@ -1109,8 +1109,8 @@ impl IPrintBidiAsyncNotifyRegistration_Vtbl { } Self { base__: IPrintAsyncNotifyRegistration_Vtbl::new::(), AsyncGetNewChannel: AsyncGetNewChannel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintClassObjectFactory_Impl: Sized { @@ -1126,8 +1126,8 @@ impl IPrintClassObjectFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPrintClassObject: GetPrintClassObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1212,8 +1212,8 @@ impl IPrintCoreHelper_Vtbl { CreateInstanceOfMSXMLObject: CreateInstanceOfMSXMLObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1250,8 +1250,8 @@ impl IPrintCoreHelperPS_Vtbl { GetOptionAttribute: GetOptionAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -1287,8 +1287,8 @@ impl IPrintCoreHelperUni_Vtbl { CreateDefaultGDLSnapshot: CreateDefaultGDLSnapshot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -1308,8 +1308,8 @@ impl IPrintCoreHelperUni2_Vtbl { } Self { base__: IPrintCoreHelperUni_Vtbl::new::(), GetNamedCommand: GetNamedCommand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IPrintCoreUI2_Impl: Sized + IPrintOemDriverUI_Impl { @@ -1397,8 +1397,8 @@ impl IPrintCoreUI2_Vtbl { QuerySimulationSupport: QuerySimulationSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintJob_Impl: Sized { @@ -1495,8 +1495,8 @@ impl IPrintJob_Vtbl { RequestCancel: RequestCancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1551,8 +1551,8 @@ impl IPrintJobCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1582,8 +1582,8 @@ impl IPrintOemCommon_Vtbl { DevMode: DevMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintOemDriverUI_Impl: Sized { @@ -1616,8 +1616,8 @@ impl IPrintOemDriverUI_Vtbl { DrvUpdateUISetting: DrvUpdateUISetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1717,8 +1717,8 @@ impl IPrintOemUI_Vtbl { UpdateExternalFonts: UpdateExternalFonts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1755,8 +1755,8 @@ impl IPrintOemUI2_Vtbl { DocumentEvent: DocumentEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1793,8 +1793,8 @@ impl IPrintOemUIMXDC_Vtbl { AdjustDPI: AdjustDPI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintPipelineFilter_Impl: Sized { @@ -1827,8 +1827,8 @@ impl IPrintPipelineFilter_Vtbl { StartOperation: StartOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1858,8 +1858,8 @@ impl IPrintPipelineManagerControl_Vtbl { FilterFinished: FilterFinished::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintPipelineProgressReport_Impl: Sized { @@ -1875,8 +1875,8 @@ impl IPrintPipelineProgressReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1919,8 +1919,8 @@ impl IPrintPipelinePropertyBag_Vtbl { DeleteProperty: DeleteProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi\"`"] @@ -1957,8 +1957,8 @@ impl IPrintPreviewDxgiPackageTarget_Vtbl { InvalidatePreview: InvalidatePreview::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintReadStream_Impl: Sized { @@ -1984,8 +1984,8 @@ impl IPrintReadStream_Vtbl { ReadBytes: ReadBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintReadStreamFactory_Impl: Sized { @@ -2007,8 +2007,8 @@ impl IPrintReadStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStream: GetStream:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2038,8 +2038,8 @@ impl IPrintSchemaAsyncOperation_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2059,8 +2059,8 @@ impl IPrintSchemaAsyncOperationEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Completed: Completed:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2167,8 +2167,8 @@ impl IPrintSchemaCapabilities_Vtbl { GetOptions: GetOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2194,8 +2194,8 @@ impl IPrintSchemaCapabilities2_Vtbl { } Self { base__: IPrintSchemaCapabilities_Vtbl::new::(), GetParameterDefinition: GetParameterDefinition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2221,8 +2221,8 @@ impl IPrintSchemaDisplayableElement_Vtbl { } Self { base__: IPrintSchemaElement_Vtbl::new::(), DisplayName: DisplayName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2277,8 +2277,8 @@ impl IPrintSchemaElement_Vtbl { NamespaceUri: NamespaceUri::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2353,8 +2353,8 @@ impl IPrintSchemaFeature_Vtbl { DisplayUI: DisplayUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2380,8 +2380,8 @@ impl IPrintSchemaNUpOption_Vtbl { } Self { base__: IPrintSchemaOption_Vtbl::new::(), PagesPerSheet: PagesPerSheet:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2436,8 +2436,8 @@ impl IPrintSchemaOption_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2492,8 +2492,8 @@ impl IPrintSchemaOptionCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2587,8 +2587,8 @@ impl IPrintSchemaPageImageableSize_Vtbl { ExtentHeightInMicrons: ExtentHeightInMicrons::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2630,8 +2630,8 @@ impl IPrintSchemaPageMediaSizeOption_Vtbl { HeightInMicrons: HeightInMicrons::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2712,8 +2712,8 @@ impl IPrintSchemaParameterDefinition_Vtbl { RangeMax: RangeMax::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2749,8 +2749,8 @@ impl IPrintSchemaParameterInitializer_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2858,8 +2858,8 @@ impl IPrintSchemaTicket_Vtbl { SetJobCopiesAllDocuments: SetJobCopiesAllDocuments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2885,8 +2885,8 @@ impl IPrintSchemaTicket2_Vtbl { } Self { base__: IPrintSchemaTicket_Vtbl::new::(), GetParameterInitializer: GetParameterInitializer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -2957,8 +2957,8 @@ impl IPrintTicketProvider_Vtbl { ValidatePrintTicket: ValidatePrintTicket::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -3000,8 +3000,8 @@ impl IPrintTicketProvider2_Vtbl { GetPrintDeviceResources: GetPrintDeviceResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintUnidiAsyncNotifyRegistration_Impl: Sized + IPrintAsyncNotifyRegistration_Impl { @@ -3020,8 +3020,8 @@ impl IPrintUnidiAsyncNotifyRegistration_Vtbl { AsyncGetNotification: AsyncGetNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintWriteStream_Impl: Sized { @@ -3053,8 +3053,8 @@ impl IPrintWriteStream_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintWriteStreamFlush_Impl: Sized { @@ -3070,8 +3070,8 @@ impl IPrintWriteStreamFlush_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FlushData: FlushData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrinterBidiSetRequestCallback_Impl: Sized { @@ -3087,8 +3087,8 @@ impl IPrinterBidiSetRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Completed: Completed:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrinterExtensionAsyncOperation_Impl: Sized { @@ -3104,8 +3104,8 @@ impl IPrinterExtensionAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Cancel: Cancel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3173,8 +3173,8 @@ impl IPrinterExtensionContext_Vtbl { UserProperties: UserProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3229,8 +3229,8 @@ impl IPrinterExtensionContextCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3260,8 +3260,8 @@ impl IPrinterExtensionEvent_Vtbl { OnPrinterQueuesEnumerated: OnPrinterQueuesEnumerated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3368,8 +3368,8 @@ impl IPrinterExtensionEventArgs_Vtbl { WindowParent: WindowParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IPrinterExtensionManager_Impl: Sized { @@ -3395,8 +3395,8 @@ impl IPrinterExtensionManager_Vtbl { DisableEvents: DisableEvents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3426,8 +3426,8 @@ impl IPrinterExtensionRequest_Vtbl { Complete: Complete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3543,8 +3543,8 @@ impl IPrinterPropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3606,8 +3606,8 @@ impl IPrinterQueue_Vtbl { GetProperties: GetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3649,8 +3649,8 @@ impl IPrinterQueue2_Vtbl { GetPrinterQueueView: GetPrinterQueueView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3673,8 +3673,8 @@ impl IPrinterQueueEvent_Vtbl { OnBidiResponseReceived: OnBidiResponseReceived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3694,8 +3694,8 @@ impl IPrinterQueueView_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetViewRange: SetViewRange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3715,8 +3715,8 @@ impl IPrinterQueueViewEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OnChanged: OnChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3771,8 +3771,8 @@ impl IPrinterScriptContext_Vtbl { UserProperties: UserProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3894,8 +3894,8 @@ impl IPrinterScriptablePropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3921,8 +3921,8 @@ impl IPrinterScriptablePropertyBag2_Vtbl { } Self { base__: IPrinterScriptablePropertyBag_Vtbl::new::(), GetReadStreamAsXML: GetReadStreamAsXML:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3964,8 +3964,8 @@ impl IPrinterScriptableSequentialStream_Vtbl { Write: Write::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4008,8 +4008,8 @@ impl IPrinterScriptableStream_Vtbl { SetSize: SetSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsDocument_Impl: Sized { @@ -4041,8 +4041,8 @@ impl IXpsDocument_Vtbl { SetThumbnail: SetThumbnail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsDocumentConsumer_Impl: Sized { @@ -4103,8 +4103,8 @@ impl IXpsDocumentConsumer_Vtbl { GetNewEmptyPart: GetNewEmptyPart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsDocumentProvider_Impl: Sized { @@ -4126,8 +4126,8 @@ impl IXpsDocumentProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXpsPart: GetXpsPart:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsPartIterator_Impl: Sized { @@ -4167,8 +4167,8 @@ impl IXpsPartIterator_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`"] @@ -4194,8 +4194,8 @@ impl IXpsRasterizationFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`"] @@ -4221,8 +4221,8 @@ impl IXpsRasterizationFactory1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`"] @@ -4248,8 +4248,8 @@ impl IXpsRasterizationFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Imaging\"`"] @@ -4285,8 +4285,8 @@ impl IXpsRasterizer_Vtbl { SetMinimalLineWidth: SetMinimalLineWidth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsRasterizerNotificationCallback_Impl: Sized { @@ -4302,7 +4302,7 @@ impl IXpsRasterizerNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Continue: Continue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs index 85b2ad77d8..4e42d5dd46 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs @@ -4,8 +4,8 @@ impl IApoAcousticEchoCancellation_Vtbl { pub const fn new, Impl: IApoAcousticEchoCancellation_Impl, const OFFSET: isize>() -> IApoAcousticEchoCancellation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApoAuxiliaryInputConfiguration_Impl: Sized { @@ -44,8 +44,8 @@ impl IApoAuxiliaryInputConfiguration_Vtbl { IsInputFormatSupported: IsInputFormatSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApoAuxiliaryInputRT_Impl: Sized { @@ -61,8 +61,8 @@ impl IApoAuxiliaryInputRT_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcceptInput: AcceptInput:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioDeviceModulesClient_Impl: Sized { @@ -81,8 +81,8 @@ impl IAudioDeviceModulesClient_Vtbl { SetAudioDeviceModulesManager: SetAudioDeviceModulesManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioMediaType_Impl: Sized { @@ -134,8 +134,8 @@ impl IAudioMediaType_Vtbl { GetUncompressedAudioFormat: GetUncompressedAudioFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioProcessingObject_Impl: Sized { @@ -226,8 +226,8 @@ impl IAudioProcessingObject_Vtbl { GetInputChannelCount: GetInputChannelCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioProcessingObjectConfiguration_Impl: Sized { @@ -253,8 +253,8 @@ impl IAudioProcessingObjectConfiguration_Vtbl { UnlockForProcess: UnlockForProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioProcessingObjectLoggingService_Impl: Sized { @@ -270,8 +270,8 @@ impl IAudioProcessingObjectLoggingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ApoLog: ApoLog:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -301,8 +301,8 @@ impl IAudioProcessingObjectNotifications_Vtbl { HandleNotification: HandleNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -325,8 +325,8 @@ impl IAudioProcessingObjectNotifications2_Vtbl { GetApoNotificationRegistrationInfo2: GetApoNotificationRegistrationInfo2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioProcessingObjectRT_Impl: Sized { @@ -359,8 +359,8 @@ impl IAudioProcessingObjectRT_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioProcessingObjectRTQueueService_Impl: Sized { @@ -382,8 +382,8 @@ impl IAudioProcessingObjectRTQueueService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRealTimeWorkQueue: GetRealTimeWorkQueue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioProcessingObjectVBR_Impl: Sized { @@ -421,8 +421,8 @@ impl IAudioProcessingObjectVBR_Vtbl { CalcMaxOutputFrames: CalcMaxOutputFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSystemEffects_Impl: Sized {} @@ -431,8 +431,8 @@ impl IAudioSystemEffects_Vtbl { pub const fn new, Impl: IAudioSystemEffects_Impl, const OFFSET: isize>() -> IAudioSystemEffects_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSystemEffects2_Impl: Sized + IAudioSystemEffects_Impl { @@ -448,8 +448,8 @@ impl IAudioSystemEffects2_Vtbl { } Self { base__: IAudioSystemEffects_Vtbl::new::(), GetEffectsList: GetEffectsList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioSystemEffects3_Impl: Sized + IAudioSystemEffects2_Impl { @@ -475,8 +475,8 @@ impl IAudioSystemEffects3_Vtbl { SetAudioSystemEffectState: SetAudioSystemEffectState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAudioSystemEffectsCustomFormats_Impl: Sized { @@ -527,7 +527,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { GetFormatRepresentation: GetFormatRepresentation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs index d736f1982c..42ee598977 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs @@ -74,8 +74,8 @@ impl IDirectMusic_Vtbl { SetDirectSound: SetDirectSound::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_DirectSound\"`"] @@ -95,8 +95,8 @@ impl IDirectMusic8_Vtbl { } Self { base__: IDirectMusic_Vtbl::new::(), SetExternalMasterClock: SetExternalMasterClock:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectMusicBuffer_Impl: Sized { @@ -199,8 +199,8 @@ impl IDirectMusicBuffer_Vtbl { SetUsedBytes: SetUsedBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicCollection_Impl: Sized { @@ -232,8 +232,8 @@ impl IDirectMusicCollection_Vtbl { EnumInstrument: EnumInstrument::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicDownload_Impl: Sized { @@ -249,8 +249,8 @@ impl IDirectMusicDownload_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicDownloadedInstrument_Impl: Sized {} @@ -259,8 +259,8 @@ impl IDirectMusicDownloadedInstrument_Vtbl { pub const fn new, Impl: IDirectMusicDownloadedInstrument_Impl, const OFFSET: isize>() -> IDirectMusicDownloadedInstrument_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicInstrument_Impl: Sized { @@ -286,8 +286,8 @@ impl IDirectMusicInstrument_Vtbl { SetPatch: SetPatch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_System_IO\"`"] @@ -428,8 +428,8 @@ impl IDirectMusicPort_Vtbl { GetFormat: GetFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicPortDownload_Impl: Sized { @@ -495,8 +495,8 @@ impl IDirectMusicPortDownload_Vtbl { Unload: Unload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicSynth_Impl: Sized { @@ -633,8 +633,8 @@ impl IDirectMusicSynth_Vtbl { GetAppend: GetAppend::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicSynth8_Impl: Sized + IDirectMusicSynth_Impl { @@ -681,8 +681,8 @@ impl IDirectMusicSynth8_Vtbl { AssignChannelToBuses: AssignChannelToBuses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_DirectSound\"`"] @@ -760,8 +760,8 @@ impl IDirectMusicSynthSink_Vtbl { GetDesiredBufferSize: GetDesiredBufferSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectMusicThru_Impl: Sized { @@ -777,7 +777,7 @@ impl IDirectMusicThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThruChannel: ThruChannel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs index 12df4782b9..8acb5fc31d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs @@ -75,8 +75,8 @@ impl IDirectSound_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -260,8 +260,8 @@ impl IDirectSound3DBuffer_Vtbl { SetVelocity: SetVelocity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D\"`"] @@ -412,8 +412,8 @@ impl IDirectSound3DListener_Vtbl { CommitDeferredSettings: CommitDeferredSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSound8_Impl: Sized + IDirectSound_Impl { @@ -435,8 +435,8 @@ impl IDirectSound8_Vtbl { } Self { base__: IDirectSound_Vtbl::new::(), VerifyCertification: VerifyCertification:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectSoundBuffer_Impl: Sized { @@ -598,8 +598,8 @@ impl IDirectSoundBuffer_Vtbl { Restore: Restore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundBuffer8_Impl: Sized + IDirectSoundBuffer_Impl { @@ -632,8 +632,8 @@ impl IDirectSoundBuffer8_Vtbl { GetObjectInPath: GetObjectInPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectSoundCapture_Impl: Sized { @@ -672,8 +672,8 @@ impl IDirectSoundCapture_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundCaptureBuffer_Impl: Sized { @@ -760,8 +760,8 @@ impl IDirectSoundCaptureBuffer_Vtbl { Unlock: Unlock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundCaptureBuffer8_Impl: Sized + IDirectSoundCaptureBuffer_Impl { @@ -787,8 +787,8 @@ impl IDirectSoundCaptureBuffer8_Vtbl { GetFXStatus: GetFXStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectSoundCaptureFXAec_Impl: Sized { @@ -840,8 +840,8 @@ impl IDirectSoundCaptureFXAec_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundCaptureFXNoiseSuppress_Impl: Sized { @@ -880,8 +880,8 @@ impl IDirectSoundCaptureFXNoiseSuppress_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXChorus_Impl: Sized { @@ -907,8 +907,8 @@ impl IDirectSoundFXChorus_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXCompressor_Impl: Sized { @@ -934,8 +934,8 @@ impl IDirectSoundFXCompressor_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXDistortion_Impl: Sized { @@ -961,8 +961,8 @@ impl IDirectSoundFXDistortion_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXEcho_Impl: Sized { @@ -988,8 +988,8 @@ impl IDirectSoundFXEcho_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXFlanger_Impl: Sized { @@ -1015,8 +1015,8 @@ impl IDirectSoundFXFlanger_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXGargle_Impl: Sized { @@ -1048,8 +1048,8 @@ impl IDirectSoundFXGargle_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXI3DL2Reverb_Impl: Sized { @@ -1115,8 +1115,8 @@ impl IDirectSoundFXI3DL2Reverb_Vtbl { GetQuality: GetQuality::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXParamEq_Impl: Sized { @@ -1148,8 +1148,8 @@ impl IDirectSoundFXParamEq_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFXWavesReverb_Impl: Sized { @@ -1181,8 +1181,8 @@ impl IDirectSoundFXWavesReverb_Vtbl { GetAllParameters: GetAllParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundFullDuplex_Impl: Sized { @@ -1198,8 +1198,8 @@ impl IDirectSoundFullDuplex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectSoundNotify_Impl: Sized { @@ -1215,7 +1215,7 @@ impl IDirectSoundNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotificationPositions: SetNotificationPositions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs index 97ba7bd2f5..583d44f7e0 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs @@ -11,8 +11,8 @@ impl IAudioEndpointFormatControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetToDefault: ResetToDefault:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_Apo\"`"] @@ -42,8 +42,8 @@ impl IAudioEndpointLastBufferControl_Vtbl { ReleaseOutputDataPointerForLastBuffer: ReleaseOutputDataPointerForLastBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointOffloadStreamMeter_Impl: Sized { @@ -81,8 +81,8 @@ impl IAudioEndpointOffloadStreamMeter_Vtbl { GetMeteringData: GetMeteringData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointOffloadStreamMute_Impl: Sized { @@ -114,8 +114,8 @@ impl IAudioEndpointOffloadStreamMute_Vtbl { GetMute: GetMute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_KernelStreaming\"`"] @@ -164,8 +164,8 @@ impl IAudioEndpointOffloadStreamVolume_Vtbl { GetChannelVolumes: GetChannelVolumes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointVolume_Impl: Sized { @@ -345,8 +345,8 @@ impl IAudioEndpointVolume_Vtbl { GetVolumeRange: GetVolumeRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointVolumeCallback_Impl: Sized { @@ -362,8 +362,8 @@ impl IAudioEndpointVolumeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointVolumeEx_Impl: Sized + IAudioEndpointVolume_Impl { @@ -379,8 +379,8 @@ impl IAudioEndpointVolumeEx_Vtbl { } Self { base__: IAudioEndpointVolume_Vtbl::new::(), GetVolumeRangeChannel: GetVolumeRangeChannel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioLfxControl_Impl: Sized { @@ -412,8 +412,8 @@ impl IAudioLfxControl_Vtbl { GetLocalEffectsState: GetLocalEffectsState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioMeterInformation_Impl: Sized { @@ -471,8 +471,8 @@ impl IAudioMeterInformation_Vtbl { QueryHardwareSupport: QueryHardwareSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHardwareAudioEngineBase_Impl: Sized { @@ -531,7 +531,7 @@ impl IHardwareAudioEngineBase_Vtbl { GetGfxState: GetGfxState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs index 59c6e823d1..b52ad02c36 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs @@ -83,8 +83,8 @@ impl IXAPO_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAPOHrtfParameters_Impl: Sized { @@ -124,8 +124,8 @@ impl IXAPOHrtfParameters_Vtbl { SetEnvironment: SetEnvironment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAPOParameters_Impl: Sized { @@ -151,8 +151,8 @@ impl IXAPOParameters_Vtbl { GetParameters: GetParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAudio2_Impl: Sized { @@ -234,8 +234,8 @@ impl IXAudio2_Vtbl { SetDebugConfiguration: SetDebugConfiguration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAudio2EngineCallback_Impl: Sized { @@ -298,8 +298,8 @@ impl IXAudio2Extension_Vtbl { GetProcessor: GetProcessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAudio2MasteringVoice_Impl: Sized + IXAudio2Voice_Impl { diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index f363e0702c..5e1fe7fa57 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -14,8 +14,8 @@ impl IAcousticEchoCancellationControl_Vtbl { SetEchoCancellationRenderEndpoint: SetEchoCancellationRenderEndpoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActivateAudioInterfaceAsyncOperation_Impl: Sized { @@ -31,8 +31,8 @@ impl IActivateAudioInterfaceAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivateResult: GetActivateResult:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActivateAudioInterfaceCompletionHandler_Impl: Sized { @@ -48,8 +48,8 @@ impl IActivateAudioInterfaceCompletionHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateCompleted: ActivateCompleted:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioAmbisonicsControl_Impl: Sized { @@ -95,8 +95,8 @@ impl IAudioAmbisonicsControl_Vtbl { SetRotation: SetRotation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioAutoGainControl_Impl: Sized { @@ -128,8 +128,8 @@ impl IAudioAutoGainControl_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioBass_Impl: Sized + IPerChannelDbLevel_Impl {} @@ -138,8 +138,8 @@ impl IAudioBass_Vtbl { pub const fn new, Impl: IAudioBass_Impl, const OFFSET: isize>() -> IAudioBass_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioCaptureClient_Impl: Sized { @@ -178,8 +178,8 @@ impl IAudioCaptureClient_Vtbl { GetNextPacketSize: GetNextPacketSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioChannelConfig_Impl: Sized { @@ -211,8 +211,8 @@ impl IAudioChannelConfig_Vtbl { GetChannelConfig: GetChannelConfig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioClient_Impl: Sized { @@ -332,8 +332,8 @@ impl IAudioClient_Vtbl { GetService: GetService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioClient2_Impl: Sized + IAudioClient_Impl { @@ -372,8 +372,8 @@ impl IAudioClient2_Vtbl { GetBufferSizeLimits: GetBufferSizeLimits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioClient3_Impl: Sized + IAudioClient2_Impl { @@ -406,8 +406,8 @@ impl IAudioClient3_Vtbl { InitializeSharedAudioStream: InitializeSharedAudioStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAudioClientDuckingControl_Impl: Sized { @@ -426,8 +426,8 @@ impl IAudioClientDuckingControl_Vtbl { SetDuckingOptionsForCurrentStream: SetDuckingOptionsForCurrentStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioClock_Impl: Sized { @@ -472,8 +472,8 @@ impl IAudioClock_Vtbl { GetCharacteristics: GetCharacteristics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioClock2_Impl: Sized { @@ -489,8 +489,8 @@ impl IAudioClock2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDevicePosition: GetDevicePosition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioClockAdjustment_Impl: Sized { @@ -506,8 +506,8 @@ impl IAudioClockAdjustment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSampleRate: SetSampleRate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEffectsChangedNotificationClient_Impl: Sized { @@ -523,8 +523,8 @@ impl IAudioEffectsChangedNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAudioEffectsChanged: OnAudioEffectsChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEffectsManager_Impl: Sized { @@ -564,8 +564,8 @@ impl IAudioEffectsManager_Vtbl { SetAudioEffectState: SetAudioEffectState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioFormatEnumerator_Impl: Sized { @@ -603,8 +603,8 @@ impl IAudioFormatEnumerator_Vtbl { GetFormat: GetFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioInputSelector_Impl: Sized { @@ -636,8 +636,8 @@ impl IAudioInputSelector_Vtbl { SetSelection: SetSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioLoudness_Impl: Sized { @@ -669,8 +669,8 @@ impl IAudioLoudness_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioMidrange_Impl: Sized + IPerChannelDbLevel_Impl {} @@ -679,8 +679,8 @@ impl IAudioMidrange_Vtbl { pub const fn new, Impl: IAudioMidrange_Impl, const OFFSET: isize>() -> IAudioMidrange_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioMute_Impl: Sized { @@ -712,8 +712,8 @@ impl IAudioMute_Vtbl { GetMute: GetMute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioOutputSelector_Impl: Sized { @@ -745,8 +745,8 @@ impl IAudioOutputSelector_Vtbl { SetSelection: SetSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioPeakMeter_Impl: Sized { @@ -784,8 +784,8 @@ impl IAudioPeakMeter_Vtbl { GetLevel: GetLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioRenderClient_Impl: Sized { @@ -817,8 +817,8 @@ impl IAudioRenderClient_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSessionControl_Impl: Sized { @@ -917,8 +917,8 @@ impl IAudioSessionControl_Vtbl { UnregisterAudioSessionNotification: UnregisterAudioSessionNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSessionControl2_Impl: Sized + IAudioSessionControl_Impl { @@ -983,8 +983,8 @@ impl IAudioSessionControl2_Vtbl { SetDuckingPreference: SetDuckingPreference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioSessionEnumerator_Impl: Sized { @@ -1022,8 +1022,8 @@ impl IAudioSessionEnumerator_Vtbl { GetSession: GetSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSessionEvents_Impl: Sized { @@ -1084,8 +1084,8 @@ impl IAudioSessionEvents_Vtbl { OnSessionDisconnected: OnSessionDisconnected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSessionManager_Impl: Sized { @@ -1123,8 +1123,8 @@ impl IAudioSessionManager_Vtbl { GetSimpleAudioVolume: GetSimpleAudioVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSessionManager2_Impl: Sized + IAudioSessionManager_Impl { @@ -1177,8 +1177,8 @@ impl IAudioSessionManager2_Vtbl { UnregisterDuckNotification: UnregisterDuckNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioSessionNotification_Impl: Sized { @@ -1194,8 +1194,8 @@ impl IAudioSessionNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionCreated: OnSessionCreated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioStateMonitor_Impl: Sized { @@ -1234,8 +1234,8 @@ impl IAudioStateMonitor_Vtbl { GetSoundLevel: GetSoundLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioStreamVolume_Impl: Sized { @@ -1294,8 +1294,8 @@ impl IAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1315,8 +1315,8 @@ impl IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPropertyChanged: OnPropertyChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1399,8 +1399,8 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { UnregisterPropertyChangeNotification: UnregisterPropertyChangeNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioTreble_Impl: Sized + IPerChannelDbLevel_Impl {} @@ -1409,8 +1409,8 @@ impl IAudioTreble_Vtbl { pub const fn new, Impl: IAudioTreble_Impl, const OFFSET: isize>() -> IAudioTreble_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioViewManagerService_Impl: Sized { @@ -1426,8 +1426,8 @@ impl IAudioViewManagerService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAudioStreamWindow: SetAudioStreamWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioVolumeDuckNotification_Impl: Sized { @@ -1453,8 +1453,8 @@ impl IAudioVolumeDuckNotification_Vtbl { OnVolumeUnduckNotification: OnVolumeUnduckNotification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioVolumeLevel_Impl: Sized + IPerChannelDbLevel_Impl {} @@ -1463,8 +1463,8 @@ impl IAudioVolumeLevel_Vtbl { pub const fn new, Impl: IAudioVolumeLevel_Impl, const OFFSET: isize>() -> IAudioVolumeLevel_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IChannelAudioVolume_Impl: Sized { @@ -1523,8 +1523,8 @@ impl IChannelAudioVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConnector_Impl: Sized { @@ -1628,8 +1628,8 @@ impl IConnector_Vtbl { GetDeviceIdConnectedTo: GetDeviceIdConnectedTo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IControlChangeNotify_Impl: Sized { @@ -1645,8 +1645,8 @@ impl IControlChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IControlInterface_Impl: Sized { @@ -1684,8 +1684,8 @@ impl IControlInterface_Vtbl { GetIID: GetIID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeviceSpecificProperty_Impl: Sized { @@ -1731,8 +1731,8 @@ impl IDeviceSpecificProperty_Vtbl { Get4BRange: Get4BRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeviceTopology_Impl: Sized { @@ -1835,8 +1835,8 @@ impl IDeviceTopology_Vtbl { GetSignalPath: GetSignalPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1898,8 +1898,8 @@ impl IMMDevice_Vtbl { GetState: GetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1919,8 +1919,8 @@ impl IMMDeviceActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMMDeviceCollection_Impl: Sized { @@ -1958,8 +1958,8 @@ impl IMMDeviceCollection_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMMDeviceEnumerator_Impl: Sized { @@ -2024,8 +2024,8 @@ impl IMMDeviceEnumerator_Vtbl { UnregisterEndpointNotificationCallback: UnregisterEndpointNotificationCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMMEndpoint_Impl: Sized { @@ -2047,8 +2047,8 @@ impl IMMEndpoint_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataFlow: GetDataFlow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -2099,8 +2099,8 @@ impl IMMNotificationClient_Vtbl { OnPropertyValueChanged: OnPropertyValueChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2137,8 +2137,8 @@ impl IMessageFilter_Vtbl { MessagePending: MessagePending::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPart_Impl: Sized { @@ -2301,8 +2301,8 @@ impl IPart_Vtbl { UnregisterControlChangeCallback: UnregisterControlChangeCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPartsList_Impl: Sized { @@ -2340,8 +2340,8 @@ impl IPartsList_Vtbl { GetPart: GetPart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPerChannelDbLevel_Impl: Sized { @@ -2407,8 +2407,8 @@ impl IPerChannelDbLevel_Vtbl { SetLevelAllChannels: SetLevelAllChannels::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimpleAudioVolume_Impl: Sized { @@ -2460,8 +2460,8 @@ impl ISimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2557,8 +2557,8 @@ impl ISpatialAudioClient_Vtbl { ActivateSpatialAudioStream: ActivateSpatialAudioStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2600,8 +2600,8 @@ impl ISpatialAudioClient2_Vtbl { GetMaxFrameCountForCategory: GetMaxFrameCountForCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioMetadataClient_Impl: Sized { @@ -2672,8 +2672,8 @@ impl ISpatialAudioMetadataClient_Vtbl { ActivateSpatialAudioMetadataReader: ActivateSpatialAudioMetadataReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioMetadataCopier_Impl: Sized { @@ -2712,8 +2712,8 @@ impl ISpatialAudioMetadataCopier_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioMetadataItems_Impl: Sized { @@ -2790,8 +2790,8 @@ impl ISpatialAudioMetadataItems_Vtbl { GetInfo: GetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioMetadataItemsBuffer_Impl: Sized { @@ -2824,8 +2824,8 @@ impl ISpatialAudioMetadataItemsBuffer_Vtbl { DetachBuffer: DetachBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioMetadataReader_Impl: Sized { @@ -2865,8 +2865,8 @@ impl ISpatialAudioMetadataReader_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioMetadataWriter_Impl: Sized { @@ -2906,8 +2906,8 @@ impl ISpatialAudioMetadataWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioObject_Impl: Sized + ISpatialAudioObjectBase_Impl { @@ -2933,8 +2933,8 @@ impl ISpatialAudioObject_Vtbl { SetVolume: SetVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectBase_Impl: Sized { @@ -2986,8 +2986,8 @@ impl ISpatialAudioObjectBase_Vtbl { GetAudioObjectType: GetAudioObjectType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioObjectForHrtf_Impl: Sized + ISpatialAudioObjectBase_Impl { @@ -3041,8 +3041,8 @@ impl ISpatialAudioObjectForHrtf_Vtbl { SetDirectivity: SetDirectivity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectForMetadataCommands_Impl: Sized + ISpatialAudioObjectBase_Impl { @@ -3061,8 +3061,8 @@ impl ISpatialAudioObjectForMetadataCommands_Vtbl { WriteNextMetadataCommand: WriteNextMetadataCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectForMetadataItems_Impl: Sized + ISpatialAudioObjectBase_Impl { @@ -3087,8 +3087,8 @@ impl ISpatialAudioObjectForMetadataItems_Vtbl { GetSpatialAudioMetadataItems: GetSpatialAudioMetadataItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectRenderStream_Impl: Sized + ISpatialAudioObjectRenderStreamBase_Impl { @@ -3113,8 +3113,8 @@ impl ISpatialAudioObjectRenderStream_Vtbl { ActivateSpatialAudioObject: ActivateSpatialAudioObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectRenderStreamBase_Impl: Sized { @@ -3181,8 +3181,8 @@ impl ISpatialAudioObjectRenderStreamBase_Vtbl { EndUpdatingAudioObjects: EndUpdatingAudioObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialAudioObjectRenderStreamForHrtf_Impl: Sized + ISpatialAudioObjectRenderStreamBase_Impl { @@ -3207,8 +3207,8 @@ impl ISpatialAudioObjectRenderStreamForHrtf_Vtbl { ActivateSpatialAudioObjectForHrtf: ActivateSpatialAudioObjectForHrtf::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectRenderStreamForMetadata_Impl: Sized + ISpatialAudioObjectRenderStreamBase_Impl { @@ -3246,8 +3246,8 @@ impl ISpatialAudioObjectRenderStreamForMetadata_Vtbl { ActivateSpatialAudioObjectForMetadataItems: ActivateSpatialAudioObjectForMetadataItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpatialAudioObjectRenderStreamNotify_Impl: Sized { @@ -3266,8 +3266,8 @@ impl ISpatialAudioObjectRenderStreamNotify_Vtbl { OnAvailableDynamicObjectCountChange: OnAvailableDynamicObjectCountChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISubunit_Impl: Sized {} @@ -3276,7 +3276,7 @@ impl ISubunit_Vtbl { pub const fn new, Impl: ISubunit_Impl, const OFFSET: isize>() -> ISubunit_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index 4cc258134a..5a4690c0f3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -21,8 +21,8 @@ impl IComponentAuthenticate_Vtbl { SACGetProtocols: SACGetProtocols::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -145,8 +145,8 @@ impl IMDSPDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`"] @@ -196,8 +196,8 @@ impl IMDSPDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -266,8 +266,8 @@ impl IMDSPDevice3_Vtbl { FindStorage: FindStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -351,8 +351,8 @@ impl IMDSPDeviceControl_Vtbl { Seek: Seek::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPDirectTransfer_Impl: Sized { @@ -374,8 +374,8 @@ impl IMDSPDirectTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransferToDevice: TransferToDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPEnumDevice_Impl: Sized { @@ -427,8 +427,8 @@ impl IMDSPEnumDevice_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPEnumStorage_Impl: Sized { @@ -480,8 +480,8 @@ impl IMDSPEnumStorage_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPObject_Impl: Sized { @@ -549,8 +549,8 @@ impl IMDSPObject_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPObject2_Impl: Sized + IMDSPObject_Impl { @@ -576,8 +576,8 @@ impl IMDSPObject2_Vtbl { WriteOnClearChannel: WriteOnClearChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMDSPObjectInfo_Impl: Sized { @@ -668,8 +668,8 @@ impl IMDSPObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDSPRevoked_Impl: Sized { @@ -685,8 +685,8 @@ impl IMDSPRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -796,8 +796,8 @@ impl IMDSPStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -853,8 +853,8 @@ impl IMDSPStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -884,8 +884,8 @@ impl IMDSPStorage3_Vtbl { SetMetadata: SetMetadata::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -961,8 +961,8 @@ impl IMDSPStorage4_Vtbl { GetParent: GetParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMDSPStorageGlobals_Impl: Sized { @@ -1061,8 +1061,8 @@ impl IMDSPStorageGlobals_Vtbl { GetRootStorage: GetRootStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDServiceProvider_Impl: Sized { @@ -1100,8 +1100,8 @@ impl IMDServiceProvider_Vtbl { EnumDevices: EnumDevices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDServiceProvider2_Impl: Sized + IMDServiceProvider_Impl { @@ -1117,8 +1117,8 @@ impl IMDServiceProvider2_Vtbl { } Self { base__: IMDServiceProvider_Vtbl::new::(), CreateDevice: CreateDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMDServiceProvider3_Impl: Sized + IMDServiceProvider2_Impl { @@ -1134,8 +1134,8 @@ impl IMDServiceProvider3_Vtbl { } Self { base__: IMDServiceProvider2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISCPSecureAuthenticate_Impl: Sized { @@ -1157,8 +1157,8 @@ impl ISCPSecureAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureQuery: GetSecureQuery:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISCPSecureAuthenticate2_Impl: Sized + ISCPSecureAuthenticate_Impl { @@ -1180,8 +1180,8 @@ impl ISCPSecureAuthenticate2_Vtbl { } Self { base__: ISCPSecureAuthenticate_Vtbl::new::(), GetSCPSession: GetSCPSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISCPSecureExchange_Impl: Sized { @@ -1214,8 +1214,8 @@ impl ISCPSecureExchange_Vtbl { TransferComplete: TransferComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISCPSecureExchange2_Impl: Sized + ISCPSecureExchange_Impl { @@ -1231,8 +1231,8 @@ impl ISCPSecureExchange2_Vtbl { } Self { base__: ISCPSecureExchange_Vtbl::new::(), TransferContainerData2: TransferContainerData2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISCPSecureExchange3_Impl: Sized + ISCPSecureExchange2_Impl { @@ -1271,8 +1271,8 @@ impl ISCPSecureExchange3_Vtbl { TransferCompleteForDevice: TransferCompleteForDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISCPSecureQuery_Impl: Sized { @@ -1312,8 +1312,8 @@ impl ISCPSecureQuery_Vtbl { GetRights: GetRights::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISCPSecureQuery2_Impl: Sized + ISCPSecureQuery_Impl { @@ -1349,8 +1349,8 @@ impl ISCPSecureQuery2_Vtbl { } Self { base__: ISCPSecureQuery_Vtbl::new::(), MakeDecision2: MakeDecision2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISCPSecureQuery3_Impl: Sized + ISCPSecureQuery2_Impl { @@ -1396,8 +1396,8 @@ impl ISCPSecureQuery3_Vtbl { MakeDecisionOnClearChannel: MakeDecisionOnClearChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISCPSession_Impl: Sized { @@ -1436,8 +1436,8 @@ impl ISCPSession_Vtbl { GetSecureQuery: GetSecureQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -1560,8 +1560,8 @@ impl IWMDMDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`"] @@ -1611,8 +1611,8 @@ impl IWMDMDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1681,8 +1681,8 @@ impl IWMDMDevice3_Vtbl { FindStorage: FindStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -1766,8 +1766,8 @@ impl IWMDMDeviceControl_Vtbl { Seek: Seek::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMDeviceSession_Impl: Sized { @@ -1793,8 +1793,8 @@ impl IWMDMDeviceSession_Vtbl { EndSession: EndSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMEnumDevice_Impl: Sized { @@ -1846,8 +1846,8 @@ impl IWMDMEnumDevice_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMEnumStorage_Impl: Sized { @@ -1899,8 +1899,8 @@ impl IWMDMEnumStorage_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMLogger_Impl: Sized { @@ -1981,8 +1981,8 @@ impl IWMDMLogger_Vtbl { SetSizeParams: SetSizeParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMMetaData_Impl: Sized { @@ -2028,8 +2028,8 @@ impl IWMDMMetaData_Vtbl { GetItemCount: GetItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMNotification_Impl: Sized { @@ -2045,8 +2045,8 @@ impl IWMDMNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), WMDMMessage: WMDMMessage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMObjectInfo_Impl: Sized { @@ -2137,8 +2137,8 @@ impl IWMDMObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -2224,8 +2224,8 @@ impl IWMDMOperation_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -2255,8 +2255,8 @@ impl IWMDMOperation2_Vtbl { GetObjectAttributes2: GetObjectAttributes2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -2279,8 +2279,8 @@ impl IWMDMOperation3_Vtbl { TransferObjectDataOnClearChannel: TransferObjectDataOnClearChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDMProgress_Impl: Sized { @@ -2313,8 +2313,8 @@ impl IWMDMProgress_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMProgress2_Impl: Sized + IWMDMProgress_Impl { @@ -2330,8 +2330,8 @@ impl IWMDMProgress2_Vtbl { } Self { base__: IWMDMProgress_Vtbl::new::(), End2: End2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDMProgress3_Impl: Sized + IWMDMProgress2_Impl { @@ -2364,8 +2364,8 @@ impl IWMDMProgress3_Vtbl { End3: End3::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMDMRevoked_Impl: Sized { @@ -2381,8 +2381,8 @@ impl IWMDMRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -2479,8 +2479,8 @@ impl IWMDMStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -2523,8 +2523,8 @@ impl IWMDMStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -2580,8 +2580,8 @@ impl IWMDMStorage3_Vtbl { SetEnumPreference: SetEnumPreference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -2657,8 +2657,8 @@ impl IWMDMStorage4_Vtbl { GetParent: GetParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMDMStorageControl_Impl: Sized { @@ -2711,8 +2711,8 @@ impl IWMDMStorageControl_Vtbl { Move: Move::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDMStorageControl2_Impl: Sized + IWMDMStorageControl_Impl { @@ -2728,8 +2728,8 @@ impl IWMDMStorageControl2_Vtbl { } Self { base__: IWMDMStorageControl_Vtbl::new::(), Insert2: Insert2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDMStorageControl3_Impl: Sized + IWMDMStorageControl2_Impl { @@ -2745,8 +2745,8 @@ impl IWMDMStorageControl3_Vtbl { } Self { base__: IWMDMStorageControl2_Vtbl::new::(), Insert3: Insert3:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMDMStorageGlobals_Impl: Sized { @@ -2819,8 +2819,8 @@ impl IWMDMStorageGlobals_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDeviceManager_Impl: Sized { @@ -2871,8 +2871,8 @@ impl IWMDeviceManager_Vtbl { EnumDevices: EnumDevices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDeviceManager2_Impl: Sized + IWMDeviceManager_Impl { @@ -2917,8 +2917,8 @@ impl IWMDeviceManager2_Vtbl { Reinitialize: Reinitialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDeviceManager3_Impl: Sized + IWMDeviceManager2_Impl { @@ -2934,7 +2934,7 @@ impl IWMDeviceManager3_Vtbl { } Self { base__: IWMDeviceManager2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs index a43364fb94..d7e28c118b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs @@ -31,8 +31,8 @@ impl IATSCChannelTuneRequest_Vtbl { SetMinorChannel: SetMinorChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -68,8 +68,8 @@ impl IATSCComponentType_Vtbl { SetFlags: SetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -125,8 +125,8 @@ impl IATSCLocator_Vtbl { SetTSID: SetTSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -162,8 +162,8 @@ impl IATSCLocator2_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -259,8 +259,8 @@ impl IATSCTuningSpace_Vtbl { SetMaxPhysicalChannel: SetMaxPhysicalChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IATSC_EIT_Impl: Sized { @@ -423,8 +423,8 @@ impl IATSC_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IATSC_ETT_Impl: Sized { @@ -489,8 +489,8 @@ impl IATSC_ETT_Vtbl { GetExtendedMessageText: GetExtendedMessageText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IATSC_MGT_Impl: Sized { @@ -647,8 +647,8 @@ impl IATSC_MGT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IATSC_STT_Impl: Sized { @@ -752,8 +752,8 @@ impl IATSC_STT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IATSC_VCT_Impl: Sized { @@ -1079,8 +1079,8 @@ impl IATSC_VCT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1116,8 +1116,8 @@ impl IAnalogAudioComponentType_Vtbl { SetAnalogAudioMode: SetAnalogAudioMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1153,8 +1153,8 @@ impl IAnalogLocator_Vtbl { SetVideoStandard: SetVideoStandard::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1230,8 +1230,8 @@ impl IAnalogRadioTuningSpace_Vtbl { SetStep: SetStep::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1267,8 +1267,8 @@ impl IAnalogRadioTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1364,8 +1364,8 @@ impl IAnalogTVTuningSpace_Vtbl { SetCountryCode: SetCountryCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAtscContentAdvisoryDescriptor_Impl: Sized { @@ -1475,8 +1475,8 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { GetRecordRatingDescriptionText: GetRecordRatingDescriptionText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAtscPsipParser_Impl: Sized { @@ -1625,8 +1625,8 @@ impl IAtscPsipParser_Vtbl { GetEAS: GetEAS::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAttributeGet_Impl: Sized { @@ -1665,8 +1665,8 @@ impl IAttributeGet_Vtbl { GetAttrib: GetAttrib::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAttributeSet_Impl: Sized { @@ -1682,8 +1682,8 @@ impl IAttributeSet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAttrib: SetAttrib:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1696,8 +1696,8 @@ impl IAuxInTuningSpace_Vtbl { pub const fn new, Impl: IAuxInTuningSpace_Impl, const OFFSET: isize>() -> IAuxInTuningSpace_Vtbl { Self { base__: ITuningSpace_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1733,8 +1733,8 @@ impl IAuxInTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1828,8 +1828,8 @@ impl IBDAComparable_Vtbl { HashEquivalentIncremental: HashEquivalentIncremental::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1855,8 +1855,8 @@ impl IBDACreateTuneRequestEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTuneRequestEx: CreateTuneRequestEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_TIF_REGISTRATION_Impl: Sized { @@ -1882,8 +1882,8 @@ impl IBDA_TIF_REGISTRATION_Vtbl { UnregisterTIF: UnregisterTIF::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICAT_Impl: Sized { @@ -1982,8 +1982,8 @@ impl ICAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICaptionServiceDescriptor_Impl: Sized { @@ -2067,8 +2067,8 @@ impl ICaptionServiceDescriptor_Vtbl { GetWideAspectRatio: GetWideAspectRatio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2104,8 +2104,8 @@ impl IChannelIDTuneRequest_Vtbl { SetChannelID: SetChannelID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2141,8 +2141,8 @@ impl IChannelTuneRequest_Vtbl { SetChannel: SetChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2251,8 +2251,8 @@ impl IComponent_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2441,8 +2441,8 @@ impl IComponentType_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2550,8 +2550,8 @@ impl IComponentTypes_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2659,8 +2659,8 @@ impl IComponents_Vtbl { put_Item: put_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2761,8 +2761,8 @@ impl IComponentsOld_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -2782,8 +2782,8 @@ impl ICreatePropBagOnRegKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDTFilter_Impl: Sized { @@ -2875,8 +2875,8 @@ impl IDTFilter_Vtbl { SetBlockUnRatedDelay: SetBlockUnRatedDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDTFilter2_Impl: Sized + IDTFilter_Impl { @@ -2921,8 +2921,8 @@ impl IDTFilter2_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDTFilter3_Impl: Sized + IDTFilter2_Impl { @@ -2967,8 +2967,8 @@ impl IDTFilter3_Vtbl { SetRights: SetRights::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDTFilterConfig_Impl: Sized { @@ -2990,8 +2990,8 @@ impl IDTFilterConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureChannelObject: GetSecureChannelObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3004,8 +3004,8 @@ impl IDTFilterEvents_Vtbl { pub const fn new, Impl: IDTFilterEvents_Impl, const OFFSET: isize>() -> IDTFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDTFilterLicenseRenewal_Impl: Sized { @@ -3021,8 +3021,8 @@ impl IDTFilterLicenseRenewal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLicenseRenewalData: GetLicenseRenewalData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3035,8 +3035,8 @@ impl IDVBCLocator_Vtbl { pub const fn new, Impl: IDVBCLocator_Impl, const OFFSET: isize>() -> IDVBCLocator_Vtbl { Self { base__: IDigitalLocator_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3152,8 +3152,8 @@ impl IDVBSLocator_Vtbl { SetElevation: SetElevation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3309,8 +3309,8 @@ impl IDVBSLocator2_Vtbl { SetSignalPilot: SetSignalPilot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3426,8 +3426,8 @@ impl IDVBSTuningSpace_Vtbl { SetSpectralInversion: SetSpectralInversion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3583,8 +3583,8 @@ impl IDVBTLocator_Vtbl { SetOtherFrequencyInUse: SetOtherFrequencyInUse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3620,8 +3620,8 @@ impl IDVBTLocator2_Vtbl { SetPhysicalLayerPipeId: SetPhysicalLayerPipeId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3697,8 +3697,8 @@ impl IDVBTuneRequest_Vtbl { SetSID: SetSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3734,8 +3734,8 @@ impl IDVBTuningSpace_Vtbl { SetSystemType: SetSystemType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3771,8 +3771,8 @@ impl IDVBTuningSpace2_Vtbl { SetNetworkID: SetNetworkID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDVB_BAT_Impl: Sized { @@ -3950,8 +3950,8 @@ impl IDVB_BAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_DIT_Impl: Sized { @@ -3983,8 +3983,8 @@ impl IDVB_DIT_Vtbl { GetTransitionFlag: GetTransitionFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_EIT_Impl: Sized { @@ -4239,8 +4239,8 @@ impl IDVB_EIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_EIT2_Impl: Sized + IDVB_EIT_Impl { @@ -4272,8 +4272,8 @@ impl IDVB_EIT2_Vtbl { GetRecordSection: GetRecordSection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDVB_NIT_Impl: Sized { @@ -4470,8 +4470,8 @@ impl IDVB_NIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_RST_Impl: Sized { @@ -4568,8 +4568,8 @@ impl IDVB_RST_Vtbl { GetRecordRunningStatus: GetRecordRunningStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_SDT_Impl: Sized { @@ -4785,8 +4785,8 @@ impl IDVB_SDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_SIT_Impl: Sized { @@ -4957,8 +4957,8 @@ impl IDVB_SIT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_ST_Impl: Sized { @@ -5003,8 +5003,8 @@ impl IDVB_ST_Vtbl { GetData: GetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_TDT_Impl: Sized { @@ -5036,8 +5036,8 @@ impl IDVB_TDT_Vtbl { GetUTCTime: GetUTCTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVB_TOT_Impl: Sized { @@ -5102,8 +5102,8 @@ impl IDVB_TOT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5116,8 +5116,8 @@ impl IDigitalCableLocator_Vtbl { pub const fn new, Impl: IDigitalCableLocator_Impl, const OFFSET: isize>() -> IDigitalCableLocator_Vtbl { Self { base__: IATSCLocator2_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5173,8 +5173,8 @@ impl IDigitalCableTuneRequest_Vtbl { SetSourceID: SetSourceID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5270,8 +5270,8 @@ impl IDigitalCableTuningSpace_Vtbl { SetMaxSourceID: SetMaxSourceID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5284,8 +5284,8 @@ impl IDigitalLocator_Vtbl { pub const fn new, Impl: IDigitalLocator_Impl, const OFFSET: isize>() -> IDigitalLocator_Vtbl { Self { base__: ILocator_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDvbCableDeliverySystemDescriptor_Impl: Sized { @@ -5388,8 +5388,8 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbComponentDescriptor_Impl: Sized { @@ -5486,8 +5486,8 @@ impl IDvbComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbContentDescriptor_Impl: Sized { @@ -5552,8 +5552,8 @@ impl IDvbContentDescriptor_Vtbl { GetRecordUserNibbles: GetRecordUserNibbles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbContentIdentifierDescriptor_Impl: Sized { @@ -5611,8 +5611,8 @@ impl IDvbContentIdentifierDescriptor_Vtbl { GetRecordCrid: GetRecordCrid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbDataBroadcastDescriptor_Impl: Sized { @@ -5729,8 +5729,8 @@ impl IDvbDataBroadcastDescriptor_Vtbl { GetText: GetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbDataBroadcastIDDescriptor_Impl: Sized { @@ -5788,8 +5788,8 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { GetIDSelectorBytes: GetIDSelectorBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbDefaultAuthorityDescriptor_Impl: Sized { @@ -5834,8 +5834,8 @@ impl IDvbDefaultAuthorityDescriptor_Vtbl { GetDefaultAuthority: GetDefaultAuthority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbExtendedEventDescriptor_Impl: Sized { @@ -5966,8 +5966,8 @@ impl IDvbExtendedEventDescriptor_Vtbl { GetRecordItemRawBytes: GetRecordItemRawBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbFrequencyListDescriptor_Impl: Sized { @@ -6044,8 +6044,8 @@ impl IDvbFrequencyListDescriptor_Vtbl { GetRecordCentreFrequency: GetRecordCentreFrequency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbHDSimulcastLogicalChannelDescriptor_Impl: Sized + IDvbLogicalChannelDescriptor2_Impl {} @@ -6054,8 +6054,8 @@ impl IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub const fn new, Impl: IDvbHDSimulcastLogicalChannelDescriptor_Impl, const OFFSET: isize>() -> IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { Self { base__: IDvbLogicalChannelDescriptor2_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDvbLinkageDescriptor_Impl: Sized { @@ -6165,8 +6165,8 @@ impl IDvbLinkageDescriptor_Vtbl { GetPrivateData: GetPrivateData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbLogicalChannel2Descriptor_Impl: Sized + IDvbLogicalChannelDescriptor2_Impl { @@ -6276,8 +6276,8 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { GetListRecordLogicalChannelAndVisibility: GetListRecordLogicalChannelAndVisibility::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDvbLogicalChannelDescriptor_Impl: Sized { @@ -6354,8 +6354,8 @@ impl IDvbLogicalChannelDescriptor_Vtbl { GetRecordLogicalChannelNumber: GetRecordLogicalChannelNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbLogicalChannelDescriptor2_Impl: Sized + IDvbLogicalChannelDescriptor_Impl { @@ -6380,8 +6380,8 @@ impl IDvbLogicalChannelDescriptor2_Vtbl { GetRecordLogicalChannelAndVisibility: GetRecordLogicalChannelAndVisibility::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDvbMultilingualServiceNameDescriptor_Impl: Sized { @@ -6471,8 +6471,8 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { GetRecordServiceNameW: GetRecordServiceNameW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbNetworkNameDescriptor_Impl: Sized { @@ -6536,8 +6536,8 @@ impl IDvbNetworkNameDescriptor_Vtbl { GetNetworkNameW: GetNetworkNameW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbParentalRatingDescriptor_Impl: Sized { @@ -6595,8 +6595,8 @@ impl IDvbParentalRatingDescriptor_Vtbl { GetRecordRating: GetRecordRating::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbPrivateDataSpecifierDescriptor_Impl: Sized { @@ -6647,8 +6647,8 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { GetPrivateDataSpecifier: GetPrivateDataSpecifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbSatelliteDeliverySystemDescriptor_Impl: Sized { @@ -6777,8 +6777,8 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbServiceAttributeDescriptor_Impl: Sized { @@ -6868,8 +6868,8 @@ impl IDvbServiceAttributeDescriptor_Vtbl { GetRecordVisibleServiceFlag: GetRecordVisibleServiceFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbServiceDescriptor_Impl: Sized { @@ -6985,8 +6985,8 @@ impl IDvbServiceDescriptor_Vtbl { GetServiceNameEmphasized: GetServiceNameEmphasized::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbServiceDescriptor2_Impl: Sized + IDvbServiceDescriptor_Impl { @@ -7024,8 +7024,8 @@ impl IDvbServiceDescriptor2_Vtbl { GetServiceNameW: GetServiceNameW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDvbServiceListDescriptor_Impl: Sized { @@ -7102,8 +7102,8 @@ impl IDvbServiceListDescriptor_Vtbl { GetRecordServiceType: GetRecordServiceType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbShortEventDescriptor_Impl: Sized { @@ -7174,8 +7174,8 @@ impl IDvbShortEventDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbSiParser_Impl: Sized { @@ -7376,8 +7376,8 @@ impl IDvbSiParser_Vtbl { GetSIT: GetSIT::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbSiParser2_Impl: Sized + IDvbSiParser_Impl { @@ -7399,8 +7399,8 @@ impl IDvbSiParser2_Vtbl { } Self { base__: IDvbSiParser_Vtbl::new::(), GetEIT2: GetEIT2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDvbSubtitlingDescriptor_Impl: Sized { @@ -7503,8 +7503,8 @@ impl IDvbSubtitlingDescriptor_Vtbl { GetRecordAncillaryPageID: GetRecordAncillaryPageID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbTeletextDescriptor_Impl: Sized { @@ -7607,8 +7607,8 @@ impl IDvbTeletextDescriptor_Vtbl { GetRecordPageNumber: GetRecordPageNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbTerrestrial2DeliverySystemDescriptor_Impl: Sized { @@ -7789,8 +7789,8 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { GetTFSFlag: GetTFSFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvbTerrestrialDeliverySystemDescriptor_Impl: Sized { @@ -7945,8 +7945,8 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { GetOtherFrequencyFlag: GetOtherFrequencyFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7972,8 +7972,8 @@ impl IESCloseMmiEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetDialogNumber: GetDialogNumber:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IESEventFactory_Impl: Sized { @@ -7995,8 +7995,8 @@ impl IESEventFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateESEvent: CreateESEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IESEventService_Impl: Sized { @@ -8012,8 +8012,8 @@ impl IESEventService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireESEvent: FireESEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IESEventServiceConfiguration_Impl: Sized { @@ -8067,8 +8067,8 @@ impl IESEventServiceConfiguration_Vtbl { RemoveGraph: RemoveGraph::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8162,8 +8162,8 @@ impl IESFileExpiryDateEvent_Vtbl { DoesExpireAfterFirstUse: DoesExpireAfterFirstUse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8231,8 +8231,8 @@ impl IESIsdbCasResponseEvent_Vtbl { GetResponseData: GetResponseData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8391,8 +8391,8 @@ impl IESLicenseRenewalResultEvent_Vtbl { GetExpiryDate: GetExpiryDate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8448,8 +8448,8 @@ impl IESOpenMmiEvent_Vtbl { GetDialogStringData: GetDialogStringData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8517,8 +8517,8 @@ impl IESRequestTunerEvent_Vtbl { GetEstimatedTime: GetEstimatedTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8544,8 +8544,8 @@ impl IESValueUpdatedEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetValueNames: GetValueNames:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IETFilter_Impl: Sized { @@ -8604,8 +8604,8 @@ impl IETFilter_Vtbl { SetRecordingOn: SetRecordingOn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IETFilterConfig_Impl: Sized { @@ -8637,8 +8637,8 @@ impl IETFilterConfig_Vtbl { GetSecureChannelObject: GetSecureChannelObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8651,8 +8651,8 @@ impl IETFilterEvents_Vtbl { pub const fn new, Impl: IETFilterEvents_Impl, const OFFSET: isize>() -> IETFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8702,8 +8702,8 @@ impl IEnumComponentTypes_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8753,8 +8753,8 @@ impl IEnumComponents_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumGuideDataProperties_Impl: Sized { @@ -8800,8 +8800,8 @@ impl IEnumGuideDataProperties_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8851,8 +8851,8 @@ impl IEnumMSVidGraphSegment_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumStreamBufferRecordingAttrib_Impl: Sized { @@ -8898,8 +8898,8 @@ impl IEnumStreamBufferRecordingAttrib_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8949,8 +8949,8 @@ impl IEnumTuneRequests_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9000,8 +9000,8 @@ impl IEnumTuningSpaces_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9071,8 +9071,8 @@ impl IEvalRat_Vtbl { TestRating: TestRating::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IGenericDescriptor_Impl: Sized { @@ -9130,8 +9130,8 @@ impl IGenericDescriptor_Vtbl { GetBody: GetBody::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGenericDescriptor2_Impl: Sized + IGenericDescriptor_Impl { @@ -9163,8 +9163,8 @@ impl IGenericDescriptor2_Vtbl { GetLength2: GetLength2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IGpnvsCommonBase_Impl: Sized { @@ -9186,8 +9186,8 @@ impl IGpnvsCommonBase_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValueUpdateName: GetValueUpdateName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9281,8 +9281,8 @@ impl IGuideData_Vtbl { GetScheduleEntryProperties: GetScheduleEntryProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9347,8 +9347,8 @@ impl IGuideDataEvent_Vtbl { ScheduleDeleted: ScheduleDeleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGuideDataLoader_Impl: Sized { @@ -9374,8 +9374,8 @@ impl IGuideDataLoader_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9430,8 +9430,8 @@ impl IGuideDataProperty_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9444,8 +9444,8 @@ impl IISDBSLocator_Vtbl { pub const fn new, Impl: IISDBSLocator_Impl, const OFFSET: isize>() -> IISDBSLocator_Vtbl { Self { base__: IDVBSLocator_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IISDB_BIT_Impl: Sized { @@ -9608,8 +9608,8 @@ impl IISDB_BIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IISDB_CDT_Impl: Sized { @@ -9765,8 +9765,8 @@ impl IISDB_CDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IISDB_EMM_Impl: Sized { @@ -9845,8 +9845,8 @@ impl IISDB_EMM_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IISDB_LDT_Impl: Sized { @@ -9989,8 +9989,8 @@ impl IISDB_LDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IISDB_NBIT_Impl: Sized { @@ -10185,8 +10185,8 @@ impl IISDB_NBIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IISDB_SDT_Impl: Sized + IDVB_SDT_Impl { @@ -10208,8 +10208,8 @@ impl IISDB_SDT_Vtbl { } Self { base__: IDVB_SDT_Vtbl::new::(), GetRecordEITUserDefinedFlags: GetRecordEITUserDefinedFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IISDB_SDTT_Impl: Sized { @@ -10469,8 +10469,8 @@ impl IISDB_SDTT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbAudioComponentDescriptor_Impl: Sized { @@ -10652,8 +10652,8 @@ impl IIsdbAudioComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbCAContractInformationDescriptor_Impl: Sized { @@ -10782,8 +10782,8 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { GetFeeNameW: GetFeeNameW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbCADescriptor_Impl: Sized { @@ -10867,8 +10867,8 @@ impl IIsdbCADescriptor_Vtbl { GetPrivateDataBytes: GetPrivateDataBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbCAServiceDescriptor_Impl: Sized { @@ -10952,8 +10952,8 @@ impl IIsdbCAServiceDescriptor_Vtbl { GetServiceIds: GetServiceIds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbComponentGroupDescriptor_Impl: Sized { @@ -11108,8 +11108,8 @@ impl IIsdbComponentGroupDescriptor_Vtbl { GetRecordTextW: GetRecordTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbDataContentDescriptor_Impl: Sized { @@ -11245,8 +11245,8 @@ impl IIsdbDataContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbDigitalCopyControlDescriptor_Impl: Sized { @@ -11311,8 +11311,8 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { GetRecordCopyControl: GetRecordCopyControl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbDownloadContentDescriptor_Impl: Sized { @@ -11533,8 +11533,8 @@ impl IIsdbDownloadContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbEmergencyInformationDescriptor_Impl: Sized { @@ -11631,8 +11631,8 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { GetAreaCode: GetAreaCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbEventGroupDescriptor_Impl: Sized { @@ -11723,8 +11723,8 @@ impl IIsdbEventGroupDescriptor_Vtbl { GetRefRecordEvent: GetRefRecordEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbHierarchicalTransmissionDescriptor_Impl: Sized { @@ -11814,8 +11814,8 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { GetReferencePid: GetReferencePid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbLogoTransmissionDescriptor_Impl: Sized { @@ -11918,8 +11918,8 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { GetLogoCharW: GetLogoCharW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbSIParameterDescriptor_Impl: Sized { @@ -12029,8 +12029,8 @@ impl IIsdbSIParameterDescriptor_Vtbl { GetTableDescriptionBytes: GetTableDescriptionBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbSeriesDescriptor_Impl: Sized { @@ -12153,8 +12153,8 @@ impl IIsdbSeriesDescriptor_Vtbl { GetSeriesNameW: GetSeriesNameW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbSiParser2_Impl: Sized + IDvbSiParser2_Impl { @@ -12257,8 +12257,8 @@ impl IIsdbSiParser2_Vtbl { GetEMM: GetEMM::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IIsdbTSInformationDescriptor_Impl: Sized { @@ -12374,8 +12374,8 @@ impl IIsdbTSInformationDescriptor_Vtbl { GetRecordServiceIdByIndex: GetRecordServiceIdByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIsdbTerrestrialDeliverySystemDescriptor_Impl: Sized { @@ -12478,8 +12478,8 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { GetRecordFrequency: GetRecordFrequency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12515,8 +12515,8 @@ impl ILanguageComponentType_Vtbl { SetLangID: SetLangID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12685,8 +12685,8 @@ impl ILocator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12762,8 +12762,8 @@ impl IMPEG2Component_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12799,8 +12799,8 @@ impl IMPEG2ComponentType_Vtbl { SetStreamType: SetStreamType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12856,8 +12856,8 @@ impl IMPEG2TuneRequest_Vtbl { SetProgNo: SetProgNo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12886,8 +12886,8 @@ impl IMPEG2TuneRequestFactory_Vtbl { CreateTuneRequest: CreateTuneRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMPEG2TuneRequestSupport_Impl: Sized {} @@ -12896,8 +12896,8 @@ impl IMPEG2TuneRequestSupport_Vtbl { pub const fn new, Impl: IMPEG2TuneRequestSupport_Impl, const OFFSET: isize>() -> IMPEG2TuneRequestSupport_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMPEG2_TIF_CONTROL_Impl: Sized { @@ -12957,8 +12957,8 @@ impl IMPEG2_TIF_CONTROL_Vtbl { GetPIDs: GetPIDs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12994,8 +12994,8 @@ impl IMSEventBinder_Vtbl { Unbind: Unbind::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13104,8 +13104,8 @@ impl IMSVidAnalogTuner_Vtbl { ChannelAvailable: ChannelAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13160,8 +13160,8 @@ impl IMSVidAnalogTuner2_Vtbl { NumAuxInputs: NumAuxInputs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13174,8 +13174,8 @@ impl IMSVidAnalogTunerEvent_Vtbl { pub const fn new, Impl: IMSVidAnalogTunerEvent_Impl, const OFFSET: isize>() -> IMSVidAnalogTunerEvent_Vtbl { Self { base__: IMSVidTunerEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13231,8 +13231,8 @@ impl IMSVidAudioRenderer_Vtbl { Balance: Balance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13301,8 +13301,8 @@ impl IMSVidAudioRendererDevices_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13315,8 +13315,8 @@ impl IMSVidAudioRendererEvent_Vtbl { pub const fn new, Impl: IMSVidAudioRendererEvent_Impl, const OFFSET: isize>() -> IMSVidAudioRendererEvent_Vtbl { Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13388,8 +13388,8 @@ impl IMSVidAudioRendererEvent2_Vtbl { AVDecCommonOutputFormat: AVDecCommonOutputFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13425,8 +13425,8 @@ impl IMSVidClosedCaptioning_Vtbl { SetEnable: SetEnable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13462,8 +13462,8 @@ impl IMSVidClosedCaptioning2_Vtbl { SetService: SetService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13489,8 +13489,8 @@ impl IMSVidClosedCaptioning3_Vtbl { } Self { base__: IMSVidClosedCaptioning2_Vtbl::new::(), TeleTextFilter: TeleTextFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -13539,8 +13539,8 @@ impl IMSVidCompositionSegment_Vtbl { Down: Down::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13983,8 +13983,8 @@ impl IMSVidCtl_Vtbl { ViewNext: ViewNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13997,8 +13997,8 @@ impl IMSVidDataServices_Vtbl { pub const fn new, Impl: IMSVidDataServices_Impl, const OFFSET: isize>() -> IMSVidDataServices_Vtbl { Self { base__: IMSVidFeature_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14011,8 +14011,8 @@ impl IMSVidDataServicesEvent_Vtbl { pub const fn new, Impl: IMSVidDataServicesEvent_Impl, const OFFSET: isize>() -> IMSVidDataServicesEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14139,8 +14139,8 @@ impl IMSVidDevice_Vtbl { IsEqualDevice: IsEqualDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMSVidDevice2_Impl: Sized { @@ -14162,8 +14162,8 @@ impl IMSVidDevice2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DevicePath: DevicePath:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14183,8 +14183,8 @@ impl IMSVidDeviceEvent_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), StateChange: StateChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14240,8 +14240,8 @@ impl IMSVidEVR_Vtbl { SuppressEffects: SuppressEffects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14261,8 +14261,8 @@ impl IMSVidEVREvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14304,8 +14304,8 @@ impl IMSVidEncoder_Vtbl { AudioEncoderInterface: AudioEncoderInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14318,8 +14318,8 @@ impl IMSVidFeature_Vtbl { pub const fn new, Impl: IMSVidFeature_Impl, const OFFSET: isize>() -> IMSVidFeature_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14332,8 +14332,8 @@ impl IMSVidFeatureEvent_Vtbl { pub const fn new, Impl: IMSVidFeatureEvent_Impl, const OFFSET: isize>() -> IMSVidFeatureEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14402,8 +14402,8 @@ impl IMSVidFeatures_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14439,8 +14439,8 @@ impl IMSVidFilePlayback_Vtbl { SetFileName: SetFileName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14470,8 +14470,8 @@ impl IMSVidFilePlayback2_Vtbl { Set__SourceFilter: Set__SourceFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14484,8 +14484,8 @@ impl IMSVidFilePlaybackEvent_Vtbl { pub const fn new, Impl: IMSVidFilePlaybackEvent_Impl, const OFFSET: isize>() -> IMSVidFilePlaybackEvent_Vtbl { Self { base__: IMSVidPlaybackEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14528,8 +14528,8 @@ impl IMSVidGenericSink_Vtbl { SetSinkStreams: SetSinkStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14559,8 +14559,8 @@ impl IMSVidGenericSink2_Vtbl { ResetFilterList: ResetFilterList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -14711,8 +14711,8 @@ impl IMSVidGraphSegment_Vtbl { Decompose: Decompose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -14853,8 +14853,8 @@ impl IMSVidGraphSegmentContainer_Vtbl { GetFocus: GetFocus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMSVidGraphSegmentUserInput_Impl: Sized { @@ -14922,8 +14922,8 @@ impl IMSVidGraphSegmentUserInput_Vtbl { MouseUp: MouseUp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14959,8 +14959,8 @@ impl IMSVidInputDevice_Vtbl { View: View::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14973,8 +14973,8 @@ impl IMSVidInputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidInputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidInputDeviceEvent_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15043,8 +15043,8 @@ impl IMSVidInputDevices_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15057,8 +15057,8 @@ impl IMSVidOutputDevice_Vtbl { pub const fn new, Impl: IMSVidOutputDevice_Impl, const OFFSET: isize>() -> IMSVidOutputDevice_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15071,8 +15071,8 @@ impl IMSVidOutputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidOutputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidOutputDeviceEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15141,8 +15141,8 @@ impl IMSVidOutputDevices_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15292,8 +15292,8 @@ impl IMSVidPlayback_Vtbl { Length: Length::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15313,8 +15313,8 @@ impl IMSVidPlaybackEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), EndOfMedia: EndOfMedia:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15437,8 +15437,8 @@ impl IMSVidRect_Vtbl { SetRect: SetRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15546,8 +15546,8 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { RecordingAttribute: RecordingAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15629,8 +15629,8 @@ impl IMSVidStreamBufferSink_Vtbl { SBESink: SBESink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15650,8 +15650,8 @@ impl IMSVidStreamBufferSink2_Vtbl { } Self { base__: IMSVidStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15865,8 +15865,8 @@ impl IMSVidStreamBufferSink3_Vtbl { LicenseErrorCode: LicenseErrorCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15903,8 +15903,8 @@ impl IMSVidStreamBufferSinkEvent_Vtbl { WriteFailure: WriteFailure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15934,8 +15934,8 @@ impl IMSVidStreamBufferSinkEvent2_Vtbl { EncryptionOff: EncryptionOff::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15955,8 +15955,8 @@ impl IMSVidStreamBufferSinkEvent3_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent2_Vtbl::new::(), LicenseChange: LicenseChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15976,8 +15976,8 @@ impl IMSVidStreamBufferSinkEvent4_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent3_Vtbl::new::(), WriteFailureClear: WriteFailureClear:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16060,8 +16060,8 @@ impl IMSVidStreamBufferSource_Vtbl { SBESource: SBESource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16136,8 +16136,8 @@ impl IMSVidStreamBufferSource2_Vtbl { WSTCounter: WSTCounter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16216,8 +16216,8 @@ impl IMSVidStreamBufferSourceEvent_Vtbl { StaleFileDeleted: StaleFileDeleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16237,8 +16237,8 @@ impl IMSVidStreamBufferSourceEvent2_Vtbl { } Self { base__: IMSVidStreamBufferSourceEvent_Vtbl::new::(), RateChange: RateChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16289,8 +16289,8 @@ impl IMSVidStreamBufferSourceEvent3_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16369,8 +16369,8 @@ impl IMSVidStreamBufferV2SourceEvent_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16426,8 +16426,8 @@ impl IMSVidTuner_Vtbl { SetTuningSpace: SetTuningSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16447,8 +16447,8 @@ impl IMSVidTunerEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), TuneChanged: TuneChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16517,8 +16517,8 @@ impl IMSVidVMR9_Vtbl { Allocator: Allocator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -16729,8 +16729,8 @@ impl IMSVidVRGraphSegment_Vtbl { RePaint: RePaint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16743,8 +16743,8 @@ impl IMSVidVideoInputDevice_Vtbl { pub const fn new, Impl: IMSVidVideoInputDevice_Impl, const OFFSET: isize>() -> IMSVidVideoInputDevice_Vtbl { Self { base__: IMSVidInputDevice_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17072,8 +17072,8 @@ impl IMSVidVideoRenderer_Vtbl { SetDecimateInput: SetDecimateInput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17162,8 +17162,8 @@ impl IMSVidVideoRenderer2_Vtbl { SuppressEffects: SuppressEffects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17232,8 +17232,8 @@ impl IMSVidVideoRendererDevices_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17253,8 +17253,8 @@ impl IMSVidVideoRendererEvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17274,8 +17274,8 @@ impl IMSVidVideoRendererEvent2_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18262,8 +18262,8 @@ impl IMSVidWebDVD_Vtbl { SetDVDScreenInMouseCoordinates: SetDVDScreenInMouseCoordinates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18293,8 +18293,8 @@ impl IMSVidWebDVD2_Vtbl { put_Bookmark: put_Bookmark::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18450,8 +18450,8 @@ impl IMSVidWebDVDAdm_Vtbl { SetBookmarkOnStop: SetBookmarkOnStop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18628,8 +18628,8 @@ impl IMSVidWebDVDEvent_Vtbl { ChangeVideoPresMode: ChangeVideoPresMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18655,8 +18655,8 @@ impl IMSVidXDS_Vtbl { } Self { base__: IMSVidFeature_Vtbl::new::(), ChannelChangeInterface: ChannelChangeInterface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18676,8 +18676,8 @@ impl IMSVidXDSEvent_Vtbl { } Self { base__: IMSVidFeatureEvent_Vtbl::new::(), RatingChange: RatingChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMceBurnerControl_Impl: Sized { @@ -18693,8 +18693,8 @@ impl IMceBurnerControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBurnerNoDecryption: GetBurnerNoDecryption:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMpeg2Data_Impl: Sized { @@ -18745,8 +18745,8 @@ impl IMpeg2Data_Vtbl { GetStreamOfSections: GetStreamOfSections::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMpeg2Stream_Impl: Sized { @@ -18772,8 +18772,8 @@ impl IMpeg2Stream_Vtbl { SupplyDataBuffer: SupplyDataBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMpeg2TableFilter_Impl: Sized { @@ -18827,8 +18827,8 @@ impl IMpeg2TableFilter_Vtbl { RemoveExtension: RemoveExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPAT_Impl: Sized { @@ -18959,8 +18959,8 @@ impl IPAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPBDAAttributesDescriptor_Impl: Sized { @@ -19005,8 +19005,8 @@ impl IPBDAAttributesDescriptor_Vtbl { GetAttributePayload: GetAttributePayload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPBDAEntitlementDescriptor_Impl: Sized { @@ -19051,8 +19051,8 @@ impl IPBDAEntitlementDescriptor_Vtbl { GetToken: GetToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPBDASiParser_Impl: Sized { @@ -19097,8 +19097,8 @@ impl IPBDASiParser_Vtbl { GetServices: GetServices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPBDA_EIT_Impl: Sized { @@ -19241,8 +19241,8 @@ impl IPBDA_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPBDA_Services_Impl: Sized { @@ -19287,8 +19287,8 @@ impl IPBDA_Services_Vtbl { GetRecordByIndex: GetRecordByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMT_Impl: Sized { @@ -19499,8 +19499,8 @@ impl IPMT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPSITables_Impl: Sized { @@ -19522,8 +19522,8 @@ impl IPSITables_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTable: GetTable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPTFilterLicenseRenewal_Impl: Sized { @@ -19549,8 +19549,8 @@ impl IPTFilterLicenseRenewal_Vtbl { CancelLicenseRenewal: CancelLicenseRenewal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -19593,8 +19593,8 @@ impl IPersistTuneXml_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -19620,8 +19620,8 @@ impl IPersistTuneXmlUtility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Deserialize: Deserialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -19647,8 +19647,8 @@ impl IPersistTuneXmlUtility2_Vtbl { } Self { base__: IPersistTuneXmlUtility_Vtbl::new::(), Serialize: Serialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRegisterTuner_Impl: Sized { @@ -19674,8 +19674,8 @@ impl IRegisterTuner_Vtbl { Unregister: Unregister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2Crossbar_Impl: Sized { @@ -19727,8 +19727,8 @@ impl ISBE2Crossbar_Vtbl { EnumStreams: EnumStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2EnumStream_Impl: Sized { @@ -19774,8 +19774,8 @@ impl ISBE2EnumStream_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2FileScan_Impl: Sized { @@ -19791,8 +19791,8 @@ impl ISBE2FileScan_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RepairFile: RepairFile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2GlobalEvent_Impl: Sized { @@ -19808,8 +19808,8 @@ impl ISBE2GlobalEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2GlobalEvent2_Impl: Sized + ISBE2GlobalEvent_Impl { @@ -19825,8 +19825,8 @@ impl ISBE2GlobalEvent2_Vtbl { } Self { base__: ISBE2GlobalEvent_Vtbl::new::(), GetEventEx: GetEventEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -19882,8 +19882,8 @@ impl ISBE2MediaTypeProfile_Vtbl { DeleteStream: DeleteStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2SpanningEvent_Impl: Sized { @@ -19899,8 +19899,8 @@ impl ISBE2SpanningEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISBE2StreamMap_Impl: Sized { @@ -19939,8 +19939,8 @@ impl ISBE2StreamMap_Vtbl { EnumMappedStreams: EnumMappedStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISCTE_EAS_Impl: Sized { @@ -20305,8 +20305,8 @@ impl ISCTE_EAS_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISIInbandEPG_Impl: Sized { @@ -20345,8 +20345,8 @@ impl ISIInbandEPG_Vtbl { IsSIEPGScanRunning: IsSIEPGScanRunning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISIInbandEPGEvent_Impl: Sized { @@ -20362,8 +20362,8 @@ impl ISIInbandEPGEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SIObjectEvent: SIObjectEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -20414,8 +20414,8 @@ impl IScanningTuner_Vtbl { AutoProgram: AutoProgram::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -20493,8 +20493,8 @@ impl IScanningTunerEx_Vtbl { SetScanSignalTypeFilter: SetScanSignalTypeFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISectionList_Impl: Sized { @@ -20561,8 +20561,8 @@ impl ISectionList_Vtbl { GetTableIdentifier: GetTableIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceLocationDescriptor_Impl: Sized { @@ -20633,8 +20633,8 @@ impl IServiceLocationDescriptor_Vtbl { GetElementLanguageCode: GetElementLanguageCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferConfigure_Impl: Sized { @@ -20700,8 +20700,8 @@ impl IStreamBufferConfigure_Vtbl { GetBackingFileDuration: GetBackingFileDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferConfigure2_Impl: Sized + IStreamBufferConfigure_Impl { @@ -20747,8 +20747,8 @@ impl IStreamBufferConfigure2_Vtbl { GetFFTransitionRates: GetFFTransitionRates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IStreamBufferConfigure3_Impl: Sized + IStreamBufferConfigure2_Impl { @@ -20800,8 +20800,8 @@ impl IStreamBufferConfigure3_Vtbl { GetNamespace: GetNamespace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IStreamBufferDataCounters_Impl: Sized { @@ -20827,8 +20827,8 @@ impl IStreamBufferDataCounters_Vtbl { ResetData: ResetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -20858,8 +20858,8 @@ impl IStreamBufferInitialize_Vtbl { SetSIDs: SetSIDs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferMediaSeeking_Impl: Sized + super::IMediaSeeking_Impl {} @@ -20868,8 +20868,8 @@ impl IStreamBufferMediaSeeking_Vtbl { pub const fn new, Impl: IStreamBufferMediaSeeking_Impl, const OFFSET: isize>() -> IStreamBufferMediaSeeking_Vtbl { Self { base__: super::IMediaSeeking_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IStreamBufferMediaSeeking2_Impl: Sized + IStreamBufferMediaSeeking_Impl { @@ -20885,8 +20885,8 @@ impl IStreamBufferMediaSeeking2_Vtbl { } Self { base__: IStreamBufferMediaSeeking_Vtbl::new::(), SetRateEx: SetRateEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IStreamBufferRecComp_Impl: Sized { @@ -20946,8 +20946,8 @@ impl IStreamBufferRecComp_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferRecordControl_Impl: Sized { @@ -20980,8 +20980,8 @@ impl IStreamBufferRecordControl_Vtbl { GetRecordingStatus: GetRecordingStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferRecordingAttribute_Impl: Sized { @@ -21040,8 +21040,8 @@ impl IStreamBufferRecordingAttribute_Vtbl { EnumAttributes: EnumAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferSink_Impl: Sized { @@ -21080,8 +21080,8 @@ impl IStreamBufferSink_Vtbl { IsProfileLocked: IsProfileLocked::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBufferSink2_Impl: Sized + IStreamBufferSink_Impl { @@ -21097,8 +21097,8 @@ impl IStreamBufferSink2_Vtbl { } Self { base__: IStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IStreamBufferSink3_Impl: Sized + IStreamBufferSink2_Impl { @@ -21114,8 +21114,8 @@ impl IStreamBufferSink3_Vtbl { } Self { base__: IStreamBufferSink2_Vtbl::new::(), SetAvailableFilter: SetAvailableFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IStreamBufferSource_Impl: Sized { @@ -21131,8 +21131,8 @@ impl IStreamBufferSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStreamSink: SetStreamSink:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSDT_Impl: Sized { @@ -21231,8 +21231,8 @@ impl ITSDT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -21307,8 +21307,8 @@ impl ITuneRequest_Vtbl { SetLocator: SetLocator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -21397,8 +21397,8 @@ impl ITuneRequestInfo_Vtbl { GetPreviousLocator: GetPreviousLocator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -21424,8 +21424,8 @@ impl ITuneRequestInfoEx_Vtbl { } Self { base__: ITuneRequestInfo_Vtbl::new::(), CreateComponentListEx: CreateComponentListEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -21541,8 +21541,8 @@ impl ITuner_Vtbl { TriggerSignalEvents: TriggerSignalEvents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITunerCap_Impl: Sized { @@ -21575,8 +21575,8 @@ impl ITunerCap_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITunerCapEx_Impl: Sized { @@ -21598,8 +21598,8 @@ impl ITunerCapEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Has608_708Caption: Has608_708Caption:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -21820,8 +21820,8 @@ impl ITuningSpace_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -21988,8 +21988,8 @@ impl ITuningSpaceContainer_Vtbl { SetMaxCount: SetMaxCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22057,8 +22057,8 @@ impl ITuningSpaces_Vtbl { EnumTuningSpaces: EnumTuningSpaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXDSCodec_Impl: Sized { @@ -22137,8 +22137,8 @@ impl IXDSCodec_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXDSCodecConfig_Impl: Sized { @@ -22170,8 +22170,8 @@ impl IXDSCodecConfig_Vtbl { SetPauseBufferTime: SetPauseBufferTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22184,8 +22184,8 @@ impl IXDSCodecEvents_Vtbl { pub const fn new, Impl: IXDSCodecEvents_Impl, const OFFSET: isize>() -> IXDSCodecEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22215,8 +22215,8 @@ impl IXDSToRat_Vtbl { ParseXDSBytePair: ParseXDSBytePair::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22229,7 +22229,7 @@ impl _IMSVidCtlEvents_Vtbl { pub const fn new, Impl: _IMSVidCtlEvents_Impl, const OFFSET: isize>() -> _IMSVidCtlEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs index fb71c4952b..06a44ca58e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs @@ -32,7 +32,7 @@ impl IXMLGraphBuilder_Vtbl { BuildFromXMLFile: BuildFromXMLFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 89bc0e3cb1..6fe5515503 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -106,8 +106,8 @@ impl IAMAnalogVideoDecoder_Vtbl { OutputEnable: OutputEnable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMAnalogVideoEncoder_Impl: Sized { @@ -192,8 +192,8 @@ impl IAMAnalogVideoEncoder_Vtbl { CCEnable: CCEnable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMAsyncReaderTimestampScaling_Impl: Sized { @@ -225,8 +225,8 @@ impl IAMAsyncReaderTimestampScaling_Vtbl { SetTimestampMode: SetTimestampMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMAudioInputMixer_Impl: Sized { @@ -404,8 +404,8 @@ impl IAMAudioInputMixer_Vtbl { BassRange: BassRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMAudioRendererStats_Impl: Sized { @@ -421,8 +421,8 @@ impl IAMAudioRendererStats_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStatParam: GetStatParam:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMBufferNegotiation_Impl: Sized { @@ -454,8 +454,8 @@ impl IAMBufferNegotiation_Vtbl { GetAllocatorProperties: GetAllocatorProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMCameraControl_Impl: Sized { @@ -488,8 +488,8 @@ impl IAMCameraControl_Vtbl { Get: Get::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMCertifiedOutputProtection_Impl: Sized { @@ -529,8 +529,8 @@ impl IAMCertifiedOutputProtection_Vtbl { ProtectionStatus: ProtectionStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -588,8 +588,8 @@ impl IAMChannelInfo_Vtbl { ContactEmail: ContactEmail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMClockAdjust_Impl: Sized { @@ -605,8 +605,8 @@ impl IAMClockAdjust_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetClockDelta: SetClockDelta:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMClockSlave_Impl: Sized { @@ -638,8 +638,8 @@ impl IAMClockSlave_Vtbl { GetErrorTolerance: GetErrorTolerance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -694,8 +694,8 @@ impl IAMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMCopyCaptureFileProgress_Impl: Sized { @@ -711,8 +711,8 @@ impl IAMCopyCaptureFileProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Progress: Progress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMCrossbar_Impl: Sized { @@ -765,8 +765,8 @@ impl IAMCrossbar_Vtbl { get_CrossbarPinInfo: get_CrossbarPinInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMDecoderCaps_Impl: Sized { @@ -788,8 +788,8 @@ impl IAMDecoderCaps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDecoderCaps: GetDecoderCaps:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMDevMemoryAllocator_Impl: Sized { @@ -836,8 +836,8 @@ impl IAMDevMemoryAllocator_Vtbl { GetDevMemoryObject: GetDevMemoryObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMDevMemoryControl_Impl: Sized { @@ -876,8 +876,8 @@ impl IAMDevMemoryControl_Vtbl { GetDevId: GetDevId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMDeviceRemoval_Impl: Sized { @@ -910,8 +910,8 @@ impl IAMDeviceRemoval_Vtbl { Disassociate: Disassociate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_DirectSound\"`"] @@ -1001,8 +1001,8 @@ impl IAMDirectSound_Vtbl { GetFocusWindow: GetFocusWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMDroppedFrames_Impl: Sized { @@ -1060,8 +1060,8 @@ impl IAMDroppedFrames_Vtbl { GetAverageFrameSize: GetAverageFrameSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMExtDevice_Impl: Sized { @@ -1159,8 +1159,8 @@ impl IAMExtDevice_Vtbl { DevicePort: DevicePort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMExtTransport_Impl: Sized { @@ -1434,8 +1434,8 @@ impl IAMExtTransport_Vtbl { SetEditStart: SetEditStart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1472,8 +1472,8 @@ impl IAMExtendedErrorInfo_Vtbl { ErrorCode: ErrorCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1538,8 +1538,8 @@ impl IAMExtendedSeeking_Vtbl { PlaybackSpeed: PlaybackSpeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMFilterGraphCallback_Impl: Sized { @@ -1555,8 +1555,8 @@ impl IAMFilterGraphCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UnableToRender: UnableToRender:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMFilterMiscFlags_Impl: Sized { @@ -1572,8 +1572,8 @@ impl IAMFilterMiscFlags_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMiscFlags: GetMiscFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1603,8 +1603,8 @@ impl IAMGraphBuilderCallback_Vtbl { CreatedFilter: CreatedFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMGraphStreams_Impl: Sized { @@ -1637,8 +1637,8 @@ impl IAMGraphStreams_Vtbl { SetMaxGraphLatency: SetMaxGraphLatency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMLatency_Impl: Sized { @@ -1660,8 +1660,8 @@ impl IAMLatency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLatency: GetLatency:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1768,8 +1768,8 @@ impl IAMLine21Decoder_Vtbl { SetDrawBackgroundMode: SetDrawBackgroundMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1876,8 +1876,8 @@ impl IAMMediaContent_Vtbl { MoreInfoText: MoreInfoText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1914,8 +1914,8 @@ impl IAMMediaContent2_Vtbl { PlaylistCount: PlaylistCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1966,8 +1966,8 @@ impl IAMMediaStream_Vtbl { JoinFilterGraph: JoinFilterGraph::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -2114,8 +2114,8 @@ impl IAMMediaTypeSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -2178,8 +2178,8 @@ impl IAMMediaTypeStream_Vtbl { SetStreamAllocatorRequirements: SetStreamAllocatorRequirements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2262,8 +2262,8 @@ impl IAMMultiMediaStream_Vtbl { Render: Render::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2433,8 +2433,8 @@ impl IAMNetShowConfig_Vtbl { SetEnableHTTP: SetEnableHTTP::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2513,8 +2513,8 @@ impl IAMNetShowExProps_Vtbl { SourceLink: SourceLink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2544,8 +2544,8 @@ impl IAMNetShowPreroll_Vtbl { Preroll: Preroll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2610,8 +2610,8 @@ impl IAMNetworkStatus_Vtbl { BufferingProgress: BufferingProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMOpenProgress_Impl: Sized { @@ -2637,8 +2637,8 @@ impl IAMOpenProgress_Vtbl { AbortOperation: AbortOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMOverlayFX_Impl: Sized { @@ -2683,8 +2683,8 @@ impl IAMOverlayFX_Vtbl { GetOverlayFX: GetOverlayFX::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMParse_Impl: Sized { @@ -2723,8 +2723,8 @@ impl IAMParse_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMPhysicalPinInfo_Impl: Sized { @@ -2740,8 +2740,8 @@ impl IAMPhysicalPinInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPhysicalType: GetPhysicalType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMPlayList_Impl: Sized { @@ -2806,8 +2806,8 @@ impl IAMPlayList_Vtbl { GetRepeatInfo: GetRepeatInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMPlayListItem_Impl: Sized { @@ -2962,8 +2962,8 @@ impl IAMPlayListItem_Vtbl { GetScanDuration: GetScanDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMPluginControl_Impl: Sized { @@ -3036,8 +3036,8 @@ impl IAMPluginControl_Vtbl { IsLegacyDisabled: IsLegacyDisabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMPushSource_Impl: Sized + IAMLatency_Impl { @@ -3109,8 +3109,8 @@ impl IAMPushSource_Vtbl { SetMaxStreamOffset: SetMaxStreamOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMRebuild_Impl: Sized { @@ -3126,8 +3126,8 @@ impl IAMRebuild_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RebuildNow: RebuildNow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMResourceControl_Impl: Sized { @@ -3143,8 +3143,8 @@ impl IAMResourceControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reserve: Reserve:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3214,8 +3214,8 @@ impl IAMStats_Vtbl { AddValue: AddValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -3265,8 +3265,8 @@ impl IAMStreamConfig_Vtbl { GetStreamCaps: GetStreamCaps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMStreamControl_Impl: Sized { @@ -3299,8 +3299,8 @@ impl IAMStreamControl_Vtbl { GetInfo: GetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -3343,8 +3343,8 @@ impl IAMStreamSelect_Vtbl { Enable: Enable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTVAudio_Impl: Sized { @@ -3416,8 +3416,8 @@ impl IAMTVAudio_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTVAudioNotification_Impl: Sized { @@ -3433,8 +3433,8 @@ impl IAMTVAudioNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTVTuner_Impl: Sized + IAMTuner_Impl { @@ -3571,8 +3571,8 @@ impl IAMTVTuner_Vtbl { AudioFrequency: AudioFrequency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAMTimecodeDisplay_Impl: Sized { @@ -3624,8 +3624,8 @@ impl IAMTimecodeDisplay_Vtbl { SetTCDisplay: SetTCDisplay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTimecodeGenerator_Impl: Sized { @@ -3691,8 +3691,8 @@ impl IAMTimecodeGenerator_Vtbl { GetTimecode: GetTimecode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTimecodeReader_Impl: Sized { @@ -3751,8 +3751,8 @@ impl IAMTimecodeReader_Vtbl { GetTimecode: GetTimecode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTuner_Impl: Sized { @@ -3899,8 +3899,8 @@ impl IAMTuner_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMTunerNotification_Impl: Sized { @@ -3916,8 +3916,8 @@ impl IAMTunerNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVfwCaptureDialogs_Impl: Sized { @@ -3950,8 +3950,8 @@ impl IAMVfwCaptureDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVfwCompressDialogs_Impl: Sized { @@ -3991,8 +3991,8 @@ impl IAMVfwCompressDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -4092,8 +4092,8 @@ impl IAMVideoAccelerator_Vtbl { DisplayFrame: DisplayFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -4130,8 +4130,8 @@ impl IAMVideoAcceleratorNotify_Vtbl { GetCreateVideoAcceleratorData: GetCreateVideoAcceleratorData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVideoCompression_Impl: Sized { @@ -4244,8 +4244,8 @@ impl IAMVideoCompression_Vtbl { OverrideFrameSize: OverrideFrameSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVideoControl_Impl: Sized { @@ -4323,8 +4323,8 @@ impl IAMVideoControl_Vtbl { GetFrameRateList: GetFrameRateList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVideoDecimationProperties_Impl: Sized { @@ -4356,8 +4356,8 @@ impl IAMVideoDecimationProperties_Vtbl { SetDecimationUsage: SetDecimationUsage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMVideoProcAmp_Impl: Sized { @@ -4390,8 +4390,8 @@ impl IAMVideoProcAmp_Vtbl { Get: Get::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMWMBufferPass_Impl: Sized { @@ -4407,8 +4407,8 @@ impl IAMWMBufferPass_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotify: SetNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_WindowsMediaFormat\"`"] @@ -4428,8 +4428,8 @@ impl IAMWMBufferPassCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -4571,8 +4571,8 @@ impl IAMWstDecoder_Vtbl { SetCurrentPage: SetCurrentPage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAMovieSetup_Impl: Sized { @@ -4598,8 +4598,8 @@ impl IAMovieSetup_Vtbl { Unregister: Unregister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAsyncReader_Impl: Sized { @@ -4673,8 +4673,8 @@ impl IAsyncReader_Vtbl { EndFlush: EndFlush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -4704,8 +4704,8 @@ impl IAudioData_Vtbl { SetFormat: SetFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -4748,8 +4748,8 @@ impl IAudioMediaStream_Vtbl { CreateSample: CreateSample::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioStreamSample_Impl: Sized + IStreamSample_Impl { @@ -4771,8 +4771,8 @@ impl IAudioStreamSample_Vtbl { } Self { base__: IStreamSample_Vtbl::new::(), GetAudioData: GetAudioData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBDA_AUX_Impl: Sized { @@ -4804,8 +4804,8 @@ impl IBDA_AUX_Vtbl { EnumCapability: EnumCapability::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_AutoDemodulate_Impl: Sized { @@ -4821,8 +4821,8 @@ impl IBDA_AutoDemodulate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), put_AutoDemodulate: put_AutoDemodulate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_AutoDemodulateEx_Impl: Sized + IBDA_AutoDemodulate_Impl { @@ -4855,8 +4855,8 @@ impl IBDA_AutoDemodulateEx_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBDA_ConditionalAccess_Impl: Sized { @@ -4950,8 +4950,8 @@ impl IBDA_ConditionalAccess_Vtbl { InformUIClosed: InformUIClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_ConditionalAccessEx_Impl: Sized { @@ -5016,8 +5016,8 @@ impl IBDA_ConditionalAccessEx_Vtbl { CreateDialogRequestNumber: CreateDialogRequestNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DRIDRMService_Impl: Sized { @@ -5050,8 +5050,8 @@ impl IBDA_DRIDRMService_Vtbl { GetPairingStatus: GetPairingStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DRIWMDRMSession_Impl: Sized { @@ -5112,8 +5112,8 @@ impl IBDA_DRIWMDRMSession_Vtbl { GetLastCardeaError: GetLastCardeaError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DRM_Impl: Sized { @@ -5139,8 +5139,8 @@ impl IBDA_DRM_Vtbl { PerformDRMPairing: PerformDRMPairing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DRMService_Impl: Sized { @@ -5166,8 +5166,8 @@ impl IBDA_DRMService_Vtbl { GetDRMStatus: GetDRMStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DeviceControl_Impl: Sized { @@ -5207,8 +5207,8 @@ impl IBDA_DeviceControl_Vtbl { GetChangeState: GetChangeState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5221,8 +5221,8 @@ impl IBDA_DiagnosticProperties_Vtbl { pub const fn new, Impl: IBDA_DiagnosticProperties_Impl, const OFFSET: isize>() -> IBDA_DiagnosticProperties_Vtbl { Self { base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBDA_DigitalDemodulator_Impl: Sized { @@ -5332,8 +5332,8 @@ impl IBDA_DigitalDemodulator_Vtbl { SpectralInversion: SpectralInversion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_DigitalDemodulator2_Impl: Sized + IBDA_DigitalDemodulator_Impl { @@ -5401,8 +5401,8 @@ impl IBDA_DigitalDemodulator2_Vtbl { Pilot: Pilot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBDA_DigitalDemodulator3_Impl: Sized + IBDA_DigitalDemodulator2_Impl { @@ -5442,8 +5442,8 @@ impl IBDA_DigitalDemodulator3_Vtbl { PLPNumber: PLPNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBDA_DiseqCommand_Impl: Sized { @@ -5497,8 +5497,8 @@ impl IBDA_DiseqCommand_Vtbl { get_DiseqResponse: get_DiseqResponse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_EasMessage_Impl: Sized { @@ -5514,8 +5514,8 @@ impl IBDA_EasMessage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_EasMessage: get_EasMessage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_Encoder_Impl: Sized { @@ -5583,8 +5583,8 @@ impl IBDA_Encoder_Vtbl { GetState: GetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_EthernetFilter_Impl: Sized { @@ -5637,8 +5637,8 @@ impl IBDA_EthernetFilter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_EventingService_Impl: Sized { @@ -5654,8 +5654,8 @@ impl IBDA_EventingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompleteEvent: CompleteEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_FDC_Impl: Sized { @@ -5728,8 +5728,8 @@ impl IBDA_FDC_Vtbl { GetTableSection: GetTableSection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_FrequencyFilter_Impl: Sized { @@ -5825,8 +5825,8 @@ impl IBDA_FrequencyFilter_Vtbl { FrequencyMultiplier: FrequencyMultiplier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_GuideDataDeliveryService_Impl: Sized { @@ -5898,8 +5898,8 @@ impl IBDA_GuideDataDeliveryService_Vtbl { GetServiceInfoFromTuneXml: GetServiceInfoFromTuneXml::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_IPSinkControl_Impl: Sized { @@ -5925,8 +5925,8 @@ impl IBDA_IPSinkControl_Vtbl { GetAdapterIPAddress: GetAdapterIPAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_IPSinkInfo_Impl: Sized { @@ -5971,8 +5971,8 @@ impl IBDA_IPSinkInfo_Vtbl { AdapterDescription: AdapterDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_IPV4Filter_Impl: Sized { @@ -6025,8 +6025,8 @@ impl IBDA_IPV4Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_IPV6Filter_Impl: Sized { @@ -6079,8 +6079,8 @@ impl IBDA_IPV6Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_ISDBConditionalAccess_Impl: Sized { @@ -6096,8 +6096,8 @@ impl IBDA_ISDBConditionalAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIsdbCasRequest: SetIsdbCasRequest:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_LNBInfo_Impl: Sized { @@ -6151,8 +6151,8 @@ impl IBDA_LNBInfo_Vtbl { HighLowSwitchFrequency: HighLowSwitchFrequency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_MUX_Impl: Sized { @@ -6178,8 +6178,8 @@ impl IBDA_MUX_Vtbl { GetPidList: GetPidList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_NameValueService_Impl: Sized { @@ -6224,8 +6224,8 @@ impl IBDA_NameValueService_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_NetworkProvider_Impl: Sized { @@ -6286,8 +6286,8 @@ impl IBDA_NetworkProvider_Vtbl { UnRegisterDeviceFilter: UnRegisterDeviceFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_NullTransform_Impl: Sized { @@ -6309,8 +6309,8 @@ impl IBDA_NullTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_PinControl_Impl: Sized { @@ -6343,8 +6343,8 @@ impl IBDA_PinControl_Vtbl { RegistrationContext: RegistrationContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_SignalProperties_Impl: Sized { @@ -6398,8 +6398,8 @@ impl IBDA_SignalProperties_Vtbl { GetTuningSpace: GetTuningSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_SignalStatistics_Impl: Sized { @@ -6481,8 +6481,8 @@ impl IBDA_SignalStatistics_Vtbl { SampleTime: SampleTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -6575,8 +6575,8 @@ impl IBDA_Topology_Vtbl { GetControlNode: GetControlNode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_TransportStreamInfo_Impl: Sized { @@ -6598,8 +6598,8 @@ impl IBDA_TransportStreamInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PatTableTickCount: PatTableTickCount:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_TransportStreamSelector_Impl: Sized { @@ -6625,8 +6625,8 @@ impl IBDA_TransportStreamSelector_Vtbl { GetTSInformation: GetTSInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_UserActivityService_Impl: Sized { @@ -6665,8 +6665,8 @@ impl IBDA_UserActivityService_Vtbl { UserActivityDetected: UserActivityDetected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_VoidTransform_Impl: Sized { @@ -6688,8 +6688,8 @@ impl IBDA_VoidTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_WMDRMSession_Impl: Sized { @@ -6757,8 +6757,8 @@ impl IBDA_WMDRMSession_Vtbl { GetKeyInfo: GetKeyInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBDA_WMDRMTuner_Impl: Sized { @@ -6818,8 +6818,8 @@ impl IBDA_WMDRMTuner_Vtbl { GetStartCodeProfile: GetStartCodeProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBPCSatelliteTuner_Impl: Sized + IAMTuner_Impl { @@ -6852,8 +6852,8 @@ impl IBPCSatelliteTuner_Vtbl { IsTapingPermitted: IsTapingPermitted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6922,8 +6922,8 @@ impl IBaseFilter_Vtbl { QueryVendorInfo: QueryVendorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBaseVideoMixer_Impl: Sized { @@ -7008,8 +7008,8 @@ impl IBaseVideoMixer_Vtbl { SetClockPeriod: SetClockPeriod::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7065,8 +7065,8 @@ impl IBasicAudio_Vtbl { Balance: Balance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7384,8 +7384,8 @@ impl IBasicVideo_Vtbl { IsUsingDefaultDestination: IsUsingDefaultDestination::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7405,8 +7405,8 @@ impl IBasicVideo2_Vtbl { } Self { base__: IBasicVideo_Vtbl::new::(), GetPreferredAspectRatio: GetPreferredAspectRatio:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBroadcastEvent_Impl: Sized { @@ -7422,8 +7422,8 @@ impl IBroadcastEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Fire: Fire:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBroadcastEventEx_Impl: Sized + IBroadcastEvent_Impl { @@ -7439,8 +7439,8 @@ impl IBroadcastEventEx_Vtbl { } Self { base__: IBroadcastEvent_Vtbl::new::(), FireEx: FireEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBufferingTime_Impl: Sized { @@ -7466,8 +7466,8 @@ impl IBufferingTime_Vtbl { SetBufferingTime: SetBufferingTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICCSubStreamFiltering_Impl: Sized { @@ -7499,8 +7499,8 @@ impl ICCSubStreamFiltering_Vtbl { SetSubstreamTypes: SetSubstreamTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICameraControl_Impl: Sized { @@ -7869,8 +7869,8 @@ impl ICameraControl_Vtbl { put_PrivacyMode: put_PrivacyMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7948,8 +7948,8 @@ impl ICaptureGraphBuilder_Vtbl { CopyCaptureFile: CopyCaptureFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8040,8 +8040,8 @@ impl ICaptureGraphBuilder2_Vtbl { FindPin: FindPin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_WindowsMediaFormat\"`"] @@ -8137,8 +8137,8 @@ impl IConfigAsfWriter_Vtbl { GetIndexMode: GetIndexMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_WindowsMediaFormat\"`"] @@ -8188,8 +8188,8 @@ impl IConfigAsfWriter2_Vtbl { ResetMultiPassState: ResetMultiPassState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IConfigAviMux_Impl: Sized { @@ -8241,8 +8241,8 @@ impl IConfigAviMux_Vtbl { GetOutputCompatibilityIndex: GetOutputCompatibilityIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConfigInterleaving_Impl: Sized { @@ -8288,8 +8288,8 @@ impl IConfigInterleaving_Vtbl { get_Interleaving: get_Interleaving::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8309,8 +8309,8 @@ impl ICreateDevEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateClassEnumerator: CreateClassEnumerator:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8375,8 +8375,8 @@ impl IDDrawExclModeVideo_Vtbl { SetCallbackInterface: SetCallbackInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDDrawExclModeVideoCallback_Impl: Sized { @@ -8409,8 +8409,8 @@ impl IDDrawExclModeVideoCallback_Vtbl { OnUpdateSize: OnUpdateSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDMOWrapperFilter_Impl: Sized { @@ -8426,8 +8426,8 @@ impl IDMOWrapperFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDShowPlugin_Impl: Sized { @@ -8453,8 +8453,8 @@ impl IDShowPlugin_Vtbl { UserAgent: UserAgent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVEnc_Impl: Sized { @@ -8480,8 +8480,8 @@ impl IDVEnc_Vtbl { put_IFormatResolution: put_IFormatResolution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVRGB219_Impl: Sized { @@ -8497,8 +8497,8 @@ impl IDVRGB219_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRGB219: SetRGB219:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDVSplitter_Impl: Sized { @@ -8517,8 +8517,8 @@ impl IDVSplitter_Vtbl { DiscardAlternateVideoFrames: DiscardAlternateVideoFrames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDecimateVideoImage_Impl: Sized { @@ -8544,8 +8544,8 @@ impl IDecimateVideoImage_Vtbl { ResetDecimationImageSize: ResetDecimationImageSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeferredCommand_Impl: Sized { @@ -8597,8 +8597,8 @@ impl IDeferredCommand_Vtbl { GetHResult: GetHResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8628,8 +8628,8 @@ impl IDirectDrawMediaSample_Vtbl { LockMediaSamplePointer: LockMediaSamplePointer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8655,8 +8655,8 @@ impl IDirectDrawMediaSampleAllocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectDraw: GetDirectDraw:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8732,8 +8732,8 @@ impl IDirectDrawMediaStream_Vtbl { GetTimePerFrame: GetTimePerFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8763,8 +8763,8 @@ impl IDirectDrawStreamSample_Vtbl { SetRect: SetRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -8928,8 +8928,8 @@ impl IDirectDrawVideo_Vtbl { WillUseFullScreen: WillUseFullScreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDistributorNotify_Impl: Sized { @@ -8976,8 +8976,8 @@ impl IDistributorNotify_Vtbl { NotifyGraphChange: NotifyGraphChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -9014,8 +9014,8 @@ impl IDrawVideoImage_Vtbl { DrawVideoImageDraw: DrawVideoImageDraw::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdCmd_Impl: Sized { @@ -9041,8 +9041,8 @@ impl IDvdCmd_Vtbl { WaitForEnd: WaitForEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdControl_Impl: Sized { @@ -9299,8 +9299,8 @@ impl IDvdControl_Vtbl { ChapterPlayAutoStop: ChapterPlayAutoStop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdControl2_Impl: Sized { @@ -9718,8 +9718,8 @@ impl IDvdControl2_Vtbl { SelectDefaultSubpictureLanguage: SelectDefaultSubpictureLanguage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdGraphBuilder_Impl: Sized { @@ -9758,8 +9758,8 @@ impl IDvdGraphBuilder_Vtbl { RenderDvdVideoVolume: RenderDvdVideoVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdInfo_Impl: Sized { @@ -10010,8 +10010,8 @@ impl IDvdInfo_Vtbl { GetRoot: GetRoot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdInfo2_Impl: Sized { @@ -10410,8 +10410,8 @@ impl IDvdInfo2_Vtbl { IsSubpictureStreamEnabled: IsSubpictureStreamEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDvdState_Impl: Sized { @@ -10449,8 +10449,8 @@ impl IDvdState_Vtbl { GetParentalLevel: GetParentalLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -10525,8 +10525,8 @@ impl IESEvent_Vtbl { GetStringData: GetStringData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IESEvents_Impl: Sized { @@ -10542,8 +10542,8 @@ impl IESEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnESEventReceived: OnESEventReceived:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10620,8 +10620,8 @@ impl IEncoderAPI_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -10671,8 +10671,8 @@ impl IEnumFilters_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -10722,8 +10722,8 @@ impl IEnumMediaTypes_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumPIDMap_Impl: Sized { @@ -10769,8 +10769,8 @@ impl IEnumPIDMap_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumPins_Impl: Sized { @@ -10816,8 +10816,8 @@ impl IEnumPins_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRegFilters_Impl: Sized { @@ -10863,8 +10863,8 @@ impl IEnumRegFilters_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumStreamIdMap_Impl: Sized { @@ -10910,8 +10910,8 @@ impl IEnumStreamIdMap_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -10941,8 +10941,8 @@ impl IFileSinkFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -10978,8 +10978,8 @@ impl IFileSinkFilter2_Vtbl { GetMode: GetMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -11009,8 +11009,8 @@ impl IFileSourceFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11054,8 +11054,8 @@ impl IFilterChain_Vtbl { RemoveChain: RemoveChain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -11139,8 +11139,8 @@ impl IFilterGraph_Vtbl { SetDefaultSyncSource: SetDefaultSyncSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -11183,8 +11183,8 @@ impl IFilterGraph2_Vtbl { RenderEx: RenderEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -11204,8 +11204,8 @@ impl IFilterGraph3_Vtbl { } Self { base__: IFilterGraph2_Vtbl::new::(), SetSyncSourceEx: SetSyncSourceEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11319,8 +11319,8 @@ impl IFilterInfo_Vtbl { SetFilename: SetFilename::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFilterMapper_Impl: Sized { @@ -11394,8 +11394,8 @@ impl IFilterMapper_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11456,8 +11456,8 @@ impl IFilterMapper2_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11483,8 +11483,8 @@ impl IFilterMapper3_Vtbl { } Self { base__: IFilterMapper2_Vtbl::new::(), GetICreateDevEnum: GetICreateDevEnum:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFrequencyMap_Impl: Sized { @@ -11544,8 +11544,8 @@ impl IFrequencyMap_Vtbl { get_CountryCodeList: get_CountryCodeList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFullScreenVideo_Impl: Sized { @@ -11712,8 +11712,8 @@ impl IFullScreenVideo_Vtbl { SetDefault: SetDefault::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -11763,8 +11763,8 @@ impl IFullScreenVideoEx_Vtbl { IsKeepPixelAspectRatio: IsKeepPixelAspectRatio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -11790,8 +11790,8 @@ impl IGetCapabilitiesKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapabilitiesKey: GetCapabilitiesKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -11862,8 +11862,8 @@ impl IGraphBuilder_Vtbl { ShouldOperationContinue: ShouldOperationContinue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -11967,8 +11967,8 @@ impl IGraphConfig_Vtbl { RemoveFilterEx: RemoveFilterEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGraphConfigCallback_Impl: Sized { @@ -11984,8 +11984,8 @@ impl IGraphConfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reconfigure: Reconfigure:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGraphVersion_Impl: Sized { @@ -12007,8 +12007,8 @@ impl IGraphVersion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryVersion: QueryVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIPDVDec_Impl: Sized { @@ -12040,8 +12040,8 @@ impl IIPDVDec_Vtbl { SetIPDisplay: SetIPDisplay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMPEG2PIDMap_Impl: Sized { @@ -12080,8 +12080,8 @@ impl IMPEG2PIDMap_Vtbl { EnumPIDMap: EnumPIDMap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMPEG2StreamIdMap_Impl: Sized { @@ -12120,8 +12120,8 @@ impl IMPEG2StreamIdMap_Vtbl { EnumStreamIdMap: EnumStreamIdMap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12224,8 +12224,8 @@ impl IMediaControl_Vtbl { StopWhenReady: StopWhenReady::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12295,8 +12295,8 @@ impl IMediaEvent_Vtbl { FreeEventParams: FreeEventParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12339,8 +12339,8 @@ impl IMediaEventEx_Vtbl { GetNotifyFlags: GetNotifyFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMediaEventSink_Impl: Sized { @@ -12356,8 +12356,8 @@ impl IMediaEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -12427,8 +12427,8 @@ impl IMediaFilter_Vtbl { GetSyncSource: GetSyncSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMediaParamInfo_Impl: Sized { @@ -12506,8 +12506,8 @@ impl IMediaParamInfo_Vtbl { GetCurrentTimeFormat: GetCurrentTimeFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaParams_Impl: Sized { @@ -12560,8 +12560,8 @@ impl IMediaParams_Vtbl { SetTimeFormat: SetTimeFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12696,8 +12696,8 @@ impl IMediaPosition_Vtbl { CanSeekBackward: CanSeekBackward::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12720,8 +12720,8 @@ impl IMediaPropertyBag_Vtbl { EnumProperty: EnumProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -12861,8 +12861,8 @@ impl IMediaSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -12892,8 +12892,8 @@ impl IMediaSample2_Vtbl { SetProperties: SetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMediaSample2Config_Impl: Sized { @@ -12915,8 +12915,8 @@ impl IMediaSample2Config_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSurface: GetSurface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaSeeking_Impl: Sized { @@ -13095,8 +13095,8 @@ impl IMediaSeeking_Vtbl { GetPreroll: GetPreroll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaStream_Impl: Sized { @@ -13168,8 +13168,8 @@ impl IMediaStream_Vtbl { SendEndOfStream: SendEndOfStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -13266,8 +13266,8 @@ impl IMediaStreamFilter_Vtbl { EndOfStream: EndOfStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13309,8 +13309,8 @@ impl IMediaTypeInfo_Vtbl { Subtype: Subtype::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMemAllocator_Impl: Sized { @@ -13376,8 +13376,8 @@ impl IMemAllocator_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemAllocatorCallbackTemp_Impl: Sized + IMemAllocator_Impl { @@ -13409,8 +13409,8 @@ impl IMemAllocatorCallbackTemp_Vtbl { GetFreeCount: GetFreeCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMemAllocatorNotifyCallbackTemp_Impl: Sized { @@ -13426,8 +13426,8 @@ impl IMemAllocatorNotifyCallbackTemp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemInputPin_Impl: Sized { @@ -13499,8 +13499,8 @@ impl IMemInputPin_Vtbl { ReceiveCanBlock: ReceiveCanBlock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemoryData_Impl: Sized { @@ -13533,8 +13533,8 @@ impl IMemoryData_Vtbl { SetActual: SetActual::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -13612,8 +13612,8 @@ impl IMixerOCX_Vtbl { UnAdvise: UnAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMixerOCXNotify_Impl: Sized { @@ -13646,8 +13646,8 @@ impl IMixerOCXNotify_Vtbl { OnDataChange: OnDataChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMixerPinConfig_Impl: Sized { @@ -13743,8 +13743,8 @@ impl IMixerPinConfig_Vtbl { GetStreamTransparent: GetStreamTransparent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -13774,8 +13774,8 @@ impl IMixerPinConfig2_Vtbl { GetOverlaySurfaceColorControls: GetOverlaySurfaceColorControls::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -13818,8 +13818,8 @@ impl IMpeg2Demultiplexer_Vtbl { DeleteOutputPin: DeleteOutputPin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -13956,8 +13956,8 @@ impl IMpegAudioDecoder_Vtbl { AudioFormat: AudioFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMultiMediaStream_Impl: Sized { @@ -14068,8 +14068,8 @@ impl IMultiMediaStream_Vtbl { GetEndOfStreamEventHandle: GetEndOfStreamEventHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -14173,8 +14173,8 @@ impl IOverlay_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -14218,8 +14218,8 @@ impl IOverlayNotify_Vtbl { OnPositionChange: OnPositionChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -14239,8 +14239,8 @@ impl IOverlayNotify2_Vtbl { } Self { base__: IOverlayNotify_Vtbl::new::(), OnDisplayChange: OnDisplayChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -14277,8 +14277,8 @@ impl IPersistMediaPropertyBag_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`"] @@ -14423,8 +14423,8 @@ impl IPin_Vtbl { NewSegment: NewSegment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -14468,8 +14468,8 @@ impl IPinConnection_Vtbl { DynamicDisconnect: DynamicDisconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPinFlowControl_Impl: Sized { @@ -14485,8 +14485,8 @@ impl IPinFlowControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Block: Block:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14641,8 +14641,8 @@ impl IPinInfo_Vtbl { Render: Render::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IQualProp_Impl: Sized { @@ -14732,8 +14732,8 @@ impl IQualProp_Vtbl { DevSyncOffset: DevSyncOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -14763,8 +14763,8 @@ impl IQualityControl_Vtbl { SetSink: SetSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14794,8 +14794,8 @@ impl IQueueCommand_Vtbl { InvokeAtPresentationTime: InvokeAtPresentationTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14837,8 +14837,8 @@ impl IRegFilterInfo_Vtbl { Filter: Filter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRegisterServiceProvider_Impl: Sized { @@ -14854,8 +14854,8 @@ impl IRegisterServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterService: RegisterService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResourceConsumer_Impl: Sized { @@ -14881,8 +14881,8 @@ impl IResourceConsumer_Vtbl { ReleaseResource: ReleaseResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResourceManager_Impl: Sized { @@ -14962,8 +14962,8 @@ impl IResourceManager_Vtbl { ReleaseFocus: ReleaseFocus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISeekingPassThru_Impl: Sized { @@ -14979,8 +14979,8 @@ impl ISeekingPassThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISelector_Impl: Sized { @@ -15025,8 +15025,8 @@ impl ISelector_Vtbl { SetSourceNodeId: SetSourceNodeId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -15052,8 +15052,8 @@ impl ISpecifyParticularPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamBuilder_Impl: Sized { @@ -15079,8 +15079,8 @@ impl IStreamBuilder_Vtbl { Backout: Backout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStreamSample_Impl: Sized { @@ -15127,8 +15127,8 @@ impl IStreamSample_Vtbl { CompletionStatus: CompletionStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRAspectRatioControl_Impl: Sized { @@ -15160,8 +15160,8 @@ impl IVMRAspectRatioControl_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRAspectRatioControl9_Impl: Sized { @@ -15193,8 +15193,8 @@ impl IVMRAspectRatioControl9_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRDeinterlaceControl_Impl: Sized { @@ -15273,8 +15273,8 @@ impl IVMRDeinterlaceControl_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRDeinterlaceControl9_Impl: Sized { @@ -15353,8 +15353,8 @@ impl IVMRDeinterlaceControl9_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRFilterConfig_Impl: Sized { @@ -15433,8 +15433,8 @@ impl IVMRFilterConfig_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRFilterConfig9_Impl: Sized { @@ -15513,8 +15513,8 @@ impl IVMRFilterConfig9_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -15558,8 +15558,8 @@ impl IVMRImageCompositor_Vtbl { CompositeImage: CompositeImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -15603,8 +15603,8 @@ impl IVMRImageCompositor9_Vtbl { CompositeImage: CompositeImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -15641,8 +15641,8 @@ impl IVMRImagePresenter_Vtbl { PresentImage: PresentImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -15679,8 +15679,8 @@ impl IVMRImagePresenter9_Vtbl { PresentImage: PresentImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRImagePresenterConfig_Impl: Sized { @@ -15712,8 +15712,8 @@ impl IVMRImagePresenterConfig_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRImagePresenterConfig9_Impl: Sized { @@ -15745,8 +15745,8 @@ impl IVMRImagePresenterConfig9_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -15776,8 +15776,8 @@ impl IVMRImagePresenterExclModeConfig_Vtbl { GetXlcModeDDObjAndPrimarySurface: GetXlcModeDDObjAndPrimarySurface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] @@ -15814,8 +15814,8 @@ impl IVMRMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`"] @@ -15852,8 +15852,8 @@ impl IVMRMixerBitmap9_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRMixerControl_Impl: Sized { @@ -15959,8 +15959,8 @@ impl IVMRMixerControl_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRMixerControl9_Impl: Sized { @@ -16087,8 +16087,8 @@ impl IVMRMixerControl9_Vtbl { GetProcAmpControlRange: GetProcAmpControlRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -16139,8 +16139,8 @@ impl IVMRMonitorConfig_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -16203,8 +16203,8 @@ impl IVMRMonitorConfig9_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -16260,8 +16260,8 @@ impl IVMRSurface_Vtbl { GetSurface: GetSurface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -16317,8 +16317,8 @@ impl IVMRSurface9_Vtbl { GetSurface: GetSurface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] @@ -16362,8 +16362,8 @@ impl IVMRSurfaceAllocator_Vtbl { AdviseNotify: AdviseNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -16413,8 +16413,8 @@ impl IVMRSurfaceAllocator9_Vtbl { AdviseNotify: AdviseNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -16434,8 +16434,8 @@ impl IVMRSurfaceAllocatorEx9_Vtbl { } Self { base__: IVMRSurfaceAllocator9_Vtbl::new::(), GetSurfaceEx: GetSurfaceEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`"] @@ -16493,8 +16493,8 @@ impl IVMRSurfaceAllocatorNotify_Vtbl { SetBorderColor: SetBorderColor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`"] @@ -16545,8 +16545,8 @@ impl IVMRSurfaceAllocatorNotify9_Vtbl { NotifyEvent: NotifyEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -16602,8 +16602,8 @@ impl IVMRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVMRVideoStreamControl9_Impl: Sized { @@ -16635,8 +16635,8 @@ impl IVMRVideoStreamControl9_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -16781,8 +16781,8 @@ impl IVMRWindowlessControl_Vtbl { GetColorKey: GetColorKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -16907,8 +16907,8 @@ impl IVMRWindowlessControl9_Vtbl { GetBorderColor: GetBorderColor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -17021,8 +17021,8 @@ impl IVPBaseConfig_Vtbl { SetSurfaceParameters: SetSurfaceParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVPBaseNotify_Impl: Sized { @@ -17038,8 +17038,8 @@ impl IVPBaseNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RenegotiateVPParameters: RenegotiateVPParameters:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -17069,8 +17069,8 @@ impl IVPConfig_Vtbl { SetScalingFactors: SetScalingFactors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVPManager_Impl: Sized { @@ -17102,8 +17102,8 @@ impl IVPManager_Vtbl { GetVideoPortIndex: GetVideoPortIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVPNotify_Impl: Sized + IVPBaseNotify_Impl { @@ -17129,8 +17129,8 @@ impl IVPNotify_Vtbl { GetDeinterlaceMode: GetDeinterlaceMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVPNotify2_Impl: Sized + IVPNotify_Impl { @@ -17156,8 +17156,8 @@ impl IVPNotify2_Vtbl { GetVPSyncMaster: GetVPSyncMaster::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectDraw\"`"] @@ -17170,8 +17170,8 @@ impl IVPVBIConfig_Vtbl { pub const fn new, Impl: IVPVBIConfig_Impl, const OFFSET: isize>() -> IVPVBIConfig_Vtbl { Self { base__: IVPBaseConfig_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVPVBINotify_Impl: Sized + IVPBaseNotify_Impl {} @@ -17180,8 +17180,8 @@ impl IVPVBINotify_Vtbl { pub const fn new, Impl: IVPVBINotify_Impl, const OFFSET: isize>() -> IVPVBINotify_Vtbl { Self { base__: IVPBaseNotify_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17194,8 +17194,8 @@ impl IVideoEncoder_Vtbl { pub const fn new, Impl: IVideoEncoder_Impl, const OFFSET: isize>() -> IVideoEncoder_Vtbl { Self { base__: IEncoderAPI_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVideoFrameStep_Impl: Sized { @@ -17228,8 +17228,8 @@ impl IVideoFrameStep_Vtbl { CancelStep: CancelStep::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVideoProcAmp_Impl: Sized { @@ -17514,8 +17514,8 @@ impl IVideoProcAmp_Vtbl { getRange_WhiteBalanceComponent: getRange_WhiteBalanceComponent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -17900,8 +17900,8 @@ impl IVideoWindow_Vtbl { IsCursorHidden: IsCursorHidden::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`"] @@ -17938,8 +17938,8 @@ impl IWMCodecAMVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`"] @@ -17969,7 +17969,7 @@ impl IWMCodecVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs index 050405d00e..282bb41b20 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs @@ -34,8 +34,8 @@ impl IDMOQualityControl_Vtbl { GetStatus: GetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDMOVideoOutputOptimizations_Impl: Sized { @@ -93,8 +93,8 @@ impl IDMOVideoOutputOptimizations_Vtbl { GetCurrentSampleRequirements: GetCurrentSampleRequirements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDMO_Impl: Sized { @@ -140,8 +140,8 @@ impl IEnumDMO_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaBuffer_Impl: Sized { @@ -180,8 +180,8 @@ impl IMediaBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaObject_Impl: Sized { @@ -364,8 +364,8 @@ impl IMediaObject_Vtbl { Lock: Lock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaObjectInPlace_Impl: Sized { @@ -410,7 +410,7 @@ impl IMediaObjectInPlace_Vtbl { GetLatency: GetLatency::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs index 4bf90cbfd8..5855522e5d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs @@ -21,8 +21,8 @@ impl IKsAggregateControl_Vtbl { KsRemoveAggregate: KsRemoveAggregate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsAllocator_Impl: Sized { @@ -62,8 +62,8 @@ impl IKsAllocator_Vtbl { KsSetAllocatorMode: KsSetAllocatorMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsAllocatorEx_Impl: Sized + IKsAllocator_Impl { @@ -103,8 +103,8 @@ impl IKsAllocatorEx_Vtbl { KsCreateAllocatorAndGetHandle: KsCreateAllocatorAndGetHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IKsClockPropertySet_Impl: Sized { @@ -222,8 +222,8 @@ impl IKsClockPropertySet_Vtbl { KsGetState: KsGetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsControl_Impl: Sized { @@ -256,8 +256,8 @@ impl IKsControl_Vtbl { KsEvent: KsEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -277,8 +277,8 @@ impl IKsDataTypeCompletion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsCompleteMediaType: KsCompleteMediaType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -335,8 +335,8 @@ impl IKsDataTypeHandler_Vtbl { KsSetMediaType: KsSetMediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsFormatSupport_Impl: Sized { @@ -368,8 +368,8 @@ impl IKsFormatSupport_Vtbl { GetDevicePreferredFormat: GetDevicePreferredFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`"] @@ -406,8 +406,8 @@ impl IKsInterfaceHandler_Vtbl { KsCompleteIo: KsCompleteIo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsJackContainerId_Impl: Sized { @@ -429,8 +429,8 @@ impl IKsJackContainerId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackContainerId: GetJackContainerId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsJackDescription_Impl: Sized { @@ -462,8 +462,8 @@ impl IKsJackDescription_Vtbl { GetJackDescription: GetJackDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsJackDescription2_Impl: Sized { @@ -501,8 +501,8 @@ impl IKsJackDescription2_Vtbl { GetJackDescription2: GetJackDescription2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsJackDescription3_Impl: Sized { @@ -540,8 +540,8 @@ impl IKsJackDescription3_Vtbl { GetJackDescription3: GetJackDescription3::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsJackSinkInformation_Impl: Sized { @@ -557,8 +557,8 @@ impl IKsJackSinkInformation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackSinkInformation: GetJackSinkInformation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsNodeControl_Impl: Sized { @@ -584,8 +584,8 @@ impl IKsNodeControl_Vtbl { SetKsControl: SetKsControl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsNotifyEvent_Impl: Sized { @@ -601,8 +601,8 @@ impl IKsNotifyEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsNotifyEvent: KsNotifyEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsObject_Impl: Sized { @@ -618,8 +618,8 @@ impl IKsObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsGetObjectHandle: KsGetObjectHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`"] @@ -738,8 +738,8 @@ impl IKsPin_Vtbl { KsQualityNotify: KsQualityNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`"] @@ -759,8 +759,8 @@ impl IKsPinEx_Vtbl { } Self { base__: IKsPin_Vtbl::new::(), KsNotifyError: KsNotifyError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IKsPinFactory_Impl: Sized { @@ -782,8 +782,8 @@ impl IKsPinFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsPinFactory: KsPinFactory:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`"] @@ -876,8 +876,8 @@ impl IKsPinPipe_Vtbl { KsGetFilterName: KsGetFilterName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsPropertySet_Impl: Sized { @@ -916,8 +916,8 @@ impl IKsPropertySet_Vtbl { QuerySupported: QuerySupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsQualityForwarder_Impl: Sized + IKsObject_Impl { @@ -933,8 +933,8 @@ impl IKsQualityForwarder_Vtbl { } Self { base__: IKsObject_Vtbl::new::(), KsFlushClient: KsFlushClient:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IKsTopology_Impl: Sized { @@ -950,8 +950,8 @@ impl IKsTopology_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateNodeInstance: CreateNodeInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKsTopologyInfo_Impl: Sized { @@ -1055,7 +1055,7 @@ impl IKsTopologyInfo_Vtbl { CreateNodeInstance: CreateNodeInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs index 68072197b0..3fd9fddcb5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs @@ -57,8 +57,8 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -113,8 +113,8 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { GetProperty: GetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -156,8 +156,8 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -212,8 +212,8 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { GetDevice: GetDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -416,7 +416,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { customSettingsApplied: customSettingsApplied::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index a0529d8c3f..cab6060ff8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -20,8 +20,8 @@ impl IAdvancedMediaCapture_Vtbl { GetAdvancedMediaCaptureSettings: GetAdvancedMediaCaptureSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAdvancedMediaCaptureInitializationSettings_Impl: Sized { @@ -37,8 +37,8 @@ impl IAdvancedMediaCaptureInitializationSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDirectxDeviceManager: SetDirectxDeviceManager:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAdvancedMediaCaptureSettings_Impl: Sized { @@ -60,8 +60,8 @@ impl IAdvancedMediaCaptureSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectxDeviceManager: GetDirectxDeviceManager:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioSourceProvider_Impl: Sized { @@ -77,8 +77,8 @@ impl IAudioSourceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideInput: ProvideInput:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClusterDetector_Impl: Sized { @@ -110,8 +110,8 @@ impl IClusterDetector_Vtbl { Detect: Detect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -244,8 +244,8 @@ impl ICodecAPI_Vtbl { SetAllSettingsWithNotify: SetAllSettingsWithNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -359,8 +359,8 @@ impl ID3D12VideoDecodeCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -380,8 +380,8 @@ impl ID3D12VideoDecodeCommandList1_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList_Vtbl::new::(), DecodeFrame1: DecodeFrame1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -418,8 +418,8 @@ impl ID3D12VideoDecodeCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -439,8 +439,8 @@ impl ID3D12VideoDecodeCommandList3_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -460,8 +460,8 @@ impl ID3D12VideoDecoder_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -484,8 +484,8 @@ impl ID3D12VideoDecoder1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -505,8 +505,8 @@ impl ID3D12VideoDecoderHeap_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -529,8 +529,8 @@ impl ID3D12VideoDecoderHeap1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -574,8 +574,8 @@ impl ID3D12VideoDevice_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -605,8 +605,8 @@ impl ID3D12VideoDevice1_Vtbl { CreateVideoMotionVectorHeap: CreateVideoMotionVectorHeap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -657,8 +657,8 @@ impl ID3D12VideoDevice2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -688,8 +688,8 @@ impl ID3D12VideoDevice3_Vtbl { CreateVideoEncoderHeap: CreateVideoEncoderHeap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -817,8 +817,8 @@ impl ID3D12VideoEncodeCommandList_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -848,8 +848,8 @@ impl ID3D12VideoEncodeCommandList1_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -879,8 +879,8 @@ impl ID3D12VideoEncodeCommandList2_Vtbl { ResolveEncoderOutputMetadata: ResolveEncoderOutputMetadata::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -900,8 +900,8 @@ impl ID3D12VideoEncodeCommandList3_Vtbl { } Self { base__: ID3D12VideoEncodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -966,8 +966,8 @@ impl ID3D12VideoEncoder_Vtbl { GetMaxMotionEstimationPrecision: GetMaxMotionEstimationPrecision::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1032,8 +1032,8 @@ impl ID3D12VideoEncoderHeap_Vtbl { GetResolutionList: GetResolutionList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1063,8 +1063,8 @@ impl ID3D12VideoExtensionCommand_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1094,8 +1094,8 @@ impl ID3D12VideoMotionEstimator_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1125,8 +1125,8 @@ impl ID3D12VideoMotionVectorHeap_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1240,8 +1240,8 @@ impl ID3D12VideoProcessCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1261,8 +1261,8 @@ impl ID3D12VideoProcessCommandList1_Vtbl { } Self { base__: ID3D12VideoProcessCommandList_Vtbl::new::(), ProcessFrames1: ProcessFrames1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1299,8 +1299,8 @@ impl ID3D12VideoProcessCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -1320,8 +1320,8 @@ impl ID3D12VideoProcessCommandList3_Vtbl { } Self { base__: ID3D12VideoProcessCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1365,8 +1365,8 @@ impl ID3D12VideoProcessor_Vtbl { GetOutputStreamDesc: GetOutputStreamDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -1389,8 +1389,8 @@ impl ID3D12VideoProcessor1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1474,8 +1474,8 @@ impl IDXVAHD_Device_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1526,8 +1526,8 @@ impl IDXVAHD_VideoProcessor_Vtbl { VideoProcessBltHD: VideoProcessBltHD::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1547,8 +1547,8 @@ impl IDirect3D9ExOverlayExtension_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckDeviceOverlayType: CheckDeviceOverlayType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1599,8 +1599,8 @@ impl IDirect3DAuthenticatedChannel9_Vtbl { Configure: Configure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1679,8 +1679,8 @@ impl IDirect3DCryptoSession9_Vtbl { GetEncryptionBltKey: GetEncryptionBltKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1717,8 +1717,8 @@ impl IDirect3DDevice9Video_Vtbl { CreateCryptoSession: CreateCryptoSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1789,8 +1789,8 @@ impl IDirect3DDeviceManager9_Vtbl { GetVideoService: GetVideoService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1810,8 +1810,8 @@ impl IDirectXVideoAccelerationService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSurface: CreateSurface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1882,8 +1882,8 @@ impl IDirectXVideoDecoder_Vtbl { Execute: Execute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -1933,8 +1933,8 @@ impl IDirectXVideoDecoderService_Vtbl { CreateVideoDecoder: CreateVideoDecoder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDirectXVideoMemoryConfiguration_Impl: Sized { @@ -1966,8 +1966,8 @@ impl IDirectXVideoMemoryConfiguration_Vtbl { SetSurfaceType: SetSurfaceType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -2043,8 +2043,8 @@ impl IDirectXVideoProcessor_Vtbl { VideoProcessBlt: VideoProcessBlt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -2134,8 +2134,8 @@ impl IDirectXVideoProcessorService_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEVRFilterConfig_Impl: Sized { @@ -2167,8 +2167,8 @@ impl IEVRFilterConfig_Vtbl { GetNumberOfStreams: GetNumberOfStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEVRFilterConfigEx_Impl: Sized + IEVRFilterConfig_Impl { @@ -2200,8 +2200,8 @@ impl IEVRFilterConfigEx_Vtbl { GetConfigPrefs: GetConfigPrefs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEVRTrustedVideoPlugin_Impl: Sized { @@ -2253,8 +2253,8 @@ impl IEVRTrustedVideoPlugin_Vtbl { DisableImageExport: DisableImageExport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEVRVideoStreamControl_Impl: Sized { @@ -2286,8 +2286,8 @@ impl IEVRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileClient_Impl: Sized { @@ -2320,8 +2320,8 @@ impl IFileClient_Vtbl { Read: Read::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileIo_Impl: Sized { @@ -2403,8 +2403,8 @@ impl IFileIo_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMF2DBuffer_Impl: Sized { @@ -2477,8 +2477,8 @@ impl IMF2DBuffer_Vtbl { ContiguousCopyFrom: ContiguousCopyFrom::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMF2DBuffer2_Impl: Sized + IMF2DBuffer_Impl { @@ -2504,8 +2504,8 @@ impl IMF2DBuffer2_Vtbl { Copy2DTo: Copy2DTo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -2600,8 +2600,8 @@ impl IMFASFContentInfo_Vtbl { GetEncodingConfigurationPropertyStore: GetEncodingConfigurationPropertyStore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2732,8 +2732,8 @@ impl IMFASFIndexer_Vtbl { GetCompletedIndex: GetCompletedIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFASFMultiplexer_Impl: Sized { @@ -2820,8 +2820,8 @@ impl IMFASFMultiplexer_Vtbl { SetSyncTolerance: SetSyncTolerance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFASFMutualExclusion_Impl: Sized { @@ -2920,8 +2920,8 @@ impl IMFASFMutualExclusion_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3103,8 +3103,8 @@ impl IMFASFProfile_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFASFSplitter_Impl: Sized { @@ -3191,8 +3191,8 @@ impl IMFASFSplitter_Vtbl { GetLastSendTime: GetLastSendTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3302,8 +3302,8 @@ impl IMFASFStreamConfig_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFASFStreamPrioritization_Impl: Sized { @@ -3362,8 +3362,8 @@ impl IMFASFStreamPrioritization_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFASFStreamSelector_Impl: Sized { @@ -3533,8 +3533,8 @@ impl IMFASFStreamSelector_Vtbl { SetStreamSelectorFlags: SetStreamSelectorFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3571,8 +3571,8 @@ impl IMFActivate_Vtbl { DetachObject: DetachObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFAsyncCallback_Impl: Sized { @@ -3598,8 +3598,8 @@ impl IMFAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFAsyncCallbackLogging_Impl: Sized + IMFAsyncCallback_Impl { @@ -3625,8 +3625,8 @@ impl IMFAsyncCallbackLogging_Vtbl { GetObjectTag: GetObjectTag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFAsyncResult_Impl: Sized { @@ -3685,8 +3685,8 @@ impl IMFAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3972,8 +3972,8 @@ impl IMFAttributes_Vtbl { CopyAllItems: CopyAllItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3993,8 +3993,8 @@ impl IMFAudioMediaType_Vtbl { } Self { base__: IMFMediaType_Vtbl::new::(), GetAudioFormat: GetAudioFormat:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMFAudioPolicy_Impl: Sized { @@ -4066,8 +4066,8 @@ impl IMFAudioPolicy_Vtbl { GetIconPath: GetIconPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFAudioStreamVolume_Impl: Sized { @@ -4126,8 +4126,8 @@ impl IMFAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFBufferListNotify_Impl: Sized { @@ -4153,8 +4153,8 @@ impl IMFBufferListNotify_Vtbl { OnRemoveSourceBuffer: OnRemoveSourceBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStream_Impl: Sized { @@ -4319,8 +4319,8 @@ impl IMFByteStream_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStreamBuffering_Impl: Sized { @@ -4353,8 +4353,8 @@ impl IMFByteStreamBuffering_Vtbl { StopBuffering: StopBuffering::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStreamCacheControl_Impl: Sized { @@ -4370,8 +4370,8 @@ impl IMFByteStreamCacheControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StopBackgroundTransfer: StopBackgroundTransfer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStreamCacheControl2_Impl: Sized + IMFByteStreamCacheControl_Impl { @@ -4410,8 +4410,8 @@ impl IMFByteStreamCacheControl2_Vtbl { IsBackgroundTransferActive: IsBackgroundTransferActive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -4461,8 +4461,8 @@ impl IMFByteStreamHandler_Vtbl { GetMaxNumberOfBytesRequiredForResolution: GetMaxNumberOfBytesRequiredForResolution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStreamProxyClassFactory_Impl: Sized { @@ -4478,8 +4478,8 @@ impl IMFByteStreamProxyClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateByteStreamProxy: CreateByteStreamProxy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFByteStreamTimeSeek_Impl: Sized { @@ -4518,8 +4518,8 @@ impl IMFByteStreamTimeSeek_Vtbl { GetTimeSeekResult: GetTimeSeekResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraConfigurationManager_Impl: Sized { @@ -4558,8 +4558,8 @@ impl IMFCameraConfigurationManager_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraControlDefaults_Impl: Sized { @@ -4605,8 +4605,8 @@ impl IMFCameraControlDefaults_Vtbl { UnlockControlData: UnlockControlData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -4682,8 +4682,8 @@ impl IMFCameraControlDefaultsCollection_Vtbl { RemoveAllControls: RemoveAllControls::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCameraControlMonitor_Impl: Sized { @@ -4730,8 +4730,8 @@ impl IMFCameraControlMonitor_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraControlNotify_Impl: Sized { @@ -4757,8 +4757,8 @@ impl IMFCameraControlNotify_Vtbl { OnError: OnError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraOcclusionStateMonitor_Impl: Sized { @@ -4791,8 +4791,8 @@ impl IMFCameraOcclusionStateMonitor_Vtbl { GetSupportedStates: GetSupportedStates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraOcclusionStateReport_Impl: Sized { @@ -4814,8 +4814,8 @@ impl IMFCameraOcclusionStateReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOcclusionState: GetOcclusionState:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraOcclusionStateReportCallback_Impl: Sized { @@ -4831,8 +4831,8 @@ impl IMFCameraOcclusionStateReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnOcclusionStateReport: OnOcclusionStateReport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCameraSyncObject_Impl: Sized { @@ -4858,8 +4858,8 @@ impl IMFCameraSyncObject_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureEngine_Impl: Sized { @@ -4939,8 +4939,8 @@ impl IMFCaptureEngine_Vtbl { GetSource: GetSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureEngineClassFactory_Impl: Sized { @@ -4956,8 +4956,8 @@ impl IMFCaptureEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureEngineOnEventCallback_Impl: Sized { @@ -4973,8 +4973,8 @@ impl IMFCaptureEngineOnEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureEngineOnSampleCallback_Impl: Sized { @@ -4990,8 +4990,8 @@ impl IMFCaptureEngineOnSampleCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSample: OnSample:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureEngineOnSampleCallback2_Impl: Sized + IMFCaptureEngineOnSampleCallback_Impl { @@ -5010,8 +5010,8 @@ impl IMFCaptureEngineOnSampleCallback2_Vtbl { OnSynchronizedEvent: OnSynchronizedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCapturePhotoConfirmation_Impl: Sized { @@ -5050,8 +5050,8 @@ impl IMFCapturePhotoConfirmation_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCapturePhotoSink_Impl: Sized + IMFCaptureSink_Impl { @@ -5084,8 +5084,8 @@ impl IMFCapturePhotoSink_Vtbl { SetOutputByteStream: SetOutputByteStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCapturePreviewSink_Impl: Sized + IMFCaptureSink_Impl { @@ -5172,8 +5172,8 @@ impl IMFCapturePreviewSink_Vtbl { SetCustomSink: SetCustomSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCaptureRecordSink_Impl: Sized + IMFCaptureSink_Impl { @@ -5233,8 +5233,8 @@ impl IMFCaptureRecordSink_Vtbl { SetRotation: SetRotation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCaptureSink_Impl: Sized { @@ -5281,8 +5281,8 @@ impl IMFCaptureSink_Vtbl { RemoveAllStreams: RemoveAllStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCaptureSink2_Impl: Sized + IMFCaptureSink_Impl { @@ -5298,8 +5298,8 @@ impl IMFCaptureSink2_Vtbl { } Self { base__: IMFCaptureSink_Vtbl::new::(), SetOutputMediaType: SetOutputMediaType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFCaptureSource_Impl: Sized { @@ -5439,8 +5439,8 @@ impl IMFCaptureSource_Vtbl { GetStreamIndexFromFriendlyName: GetStreamIndexFromFriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCdmSuspendNotify_Impl: Sized { @@ -5462,8 +5462,8 @@ impl IMFCdmSuspendNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFClock_Impl: Sized { @@ -5528,8 +5528,8 @@ impl IMFClock_Vtbl { GetProperties: GetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFClockConsumer_Impl: Sized { @@ -5561,8 +5561,8 @@ impl IMFClockConsumer_Vtbl { GetPresentationClock: GetPresentationClock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFClockStateSink_Impl: Sized { @@ -5609,8 +5609,8 @@ impl IMFClockStateSink_Vtbl { OnClockSetRate: OnClockSetRate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFCollection_Impl: Sized { @@ -5682,8 +5682,8 @@ impl IMFCollection_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentDecryptionModule_Impl: Sized { @@ -5762,8 +5762,8 @@ impl IMFContentDecryptionModule_Vtbl { GetProtectionSystemIds: GetProtectionSystemIds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -5818,8 +5818,8 @@ impl IMFContentDecryptionModuleAccess_Vtbl { GetKeySystem: GetKeySystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -5855,8 +5855,8 @@ impl IMFContentDecryptionModuleFactory_Vtbl { CreateContentDecryptionModuleAccess: CreateContentDecryptionModuleAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentDecryptionModuleSession_Impl: Sized { @@ -5942,8 +5942,8 @@ impl IMFContentDecryptionModuleSession_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentDecryptionModuleSessionCallbacks_Impl: Sized { @@ -5969,8 +5969,8 @@ impl IMFContentDecryptionModuleSessionCallbacks_Vtbl { KeyStatusChanged: KeyStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentDecryptorContext_Impl: Sized { @@ -5992,8 +5992,8 @@ impl IMFContentDecryptorContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeHardwareKey: InitializeHardwareKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentEnabler_Impl: Sized { @@ -6066,8 +6066,8 @@ impl IMFContentEnabler_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentProtectionDevice_Impl: Sized { @@ -6093,8 +6093,8 @@ impl IMFContentProtectionDevice_Vtbl { GetPrivateDataByteCount: GetPrivateDataByteCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFContentProtectionManager_Impl: Sized { @@ -6120,8 +6120,8 @@ impl IMFContentProtectionManager_Vtbl { EndEnableContent: EndEnableContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFD3D12SynchronizationObject_Impl: Sized { @@ -6147,8 +6147,8 @@ impl IMFD3D12SynchronizationObject_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -6192,8 +6192,8 @@ impl IMFD3D12SynchronizationObjectCommands_Vtbl { EnqueueResourceRelease: EnqueueResourceRelease::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDLNASinkInit_Impl: Sized { @@ -6209,8 +6209,8 @@ impl IMFDLNASinkInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDRMNetHelper_Impl: Sized { @@ -6236,8 +6236,8 @@ impl IMFDRMNetHelper_Vtbl { GetChainedLicenseResponse: GetChainedLicenseResponse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDXGIBuffer_Impl: Sized { @@ -6283,8 +6283,8 @@ impl IMFDXGIBuffer_Vtbl { SetUnknown: SetUnknown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDXGIDeviceManager_Impl: Sized { @@ -6351,8 +6351,8 @@ impl IMFDXGIDeviceManager_Vtbl { UnlockDevice: UnlockDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDXGIDeviceManagerSource_Impl: Sized { @@ -6374,8 +6374,8 @@ impl IMFDXGIDeviceManagerSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetManager: GetManager:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDesiredSample_Impl: Sized { @@ -6408,8 +6408,8 @@ impl IMFDesiredSample_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDeviceTransform_Impl: Sized { @@ -6609,8 +6609,8 @@ impl IMFDeviceTransform_Vtbl { FlushOutputStream: FlushOutputStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFDeviceTransformCallback_Impl: Sized { @@ -6626,8 +6626,8 @@ impl IMFDeviceTransformCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBufferSent: OnBufferSent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraControl_Impl: Sized { @@ -6681,8 +6681,8 @@ impl IMFExtendedCameraControl_Vtbl { CommitSettings: CommitSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraController_Impl: Sized { @@ -6704,8 +6704,8 @@ impl IMFExtendedCameraController_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExtendedCameraControl: GetExtendedCameraControl:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraIntrinsicModel_Impl: Sized { @@ -6744,8 +6744,8 @@ impl IMFExtendedCameraIntrinsicModel_Vtbl { GetDistortionModelType: GetDistortionModelType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraIntrinsics_Impl: Sized { @@ -6817,8 +6817,8 @@ impl IMFExtendedCameraIntrinsics_Vtbl { AddIntrinsicModel: AddIntrinsicModel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraIntrinsicsDistortionModel6KT_Impl: Sized { @@ -6844,8 +6844,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedCameraIntrinsicsDistortionModelArcTan_Impl: Sized { @@ -6871,8 +6871,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFExtendedDRMTypeSupport_Impl: Sized { @@ -6894,8 +6894,8 @@ impl IMFExtendedDRMTypeSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTypeSupportedEx: IsTypeSupportedEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFFieldOfUseMFTUnlock_Impl: Sized { @@ -6911,8 +6911,8 @@ impl IMFFieldOfUseMFTUnlock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unlock: Unlock:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFFinalizableMediaSink_Impl: Sized + IMFMediaSink_Impl { @@ -6938,8 +6938,8 @@ impl IMFFinalizableMediaSink_Vtbl { EndFinalize: EndFinalize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFGetService_Impl: Sized { @@ -6955,8 +6955,8 @@ impl IMFGetService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFHDCPStatus_Impl: Sized { @@ -6978,8 +6978,8 @@ impl IMFHDCPStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Query: Query::, Set: Set:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFHttpDownloadRequest_Impl: Sized { @@ -7145,8 +7145,8 @@ impl IMFHttpDownloadRequest_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFHttpDownloadSession_Impl: Sized { @@ -7185,8 +7185,8 @@ impl IMFHttpDownloadSession_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFHttpDownloadSessionProvider_Impl: Sized { @@ -7208,8 +7208,8 @@ impl IMFHttpDownloadSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateHttpDownloadSession: CreateHttpDownloadSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFImageSharingEngine_Impl: Sized { @@ -7242,8 +7242,8 @@ impl IMFImageSharingEngine_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFImageSharingEngineClassFactory_Impl: Sized { @@ -7265,8 +7265,8 @@ impl IMFImageSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceFromUDN: CreateInstanceFromUDN:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFInputTrustAuthority_Impl: Sized { @@ -7332,8 +7332,8 @@ impl IMFInputTrustAuthority_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFLocalMFTRegistration_Impl: Sized { @@ -7349,8 +7349,8 @@ impl IMFLocalMFTRegistration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterMFTs: RegisterMFTs:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaBuffer_Impl: Sized { @@ -7409,8 +7409,8 @@ impl IMFMediaBuffer_Vtbl { GetMaxLength: GetMaxLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngine_Impl: Sized { @@ -7758,8 +7758,8 @@ impl IMFMediaEngine_Vtbl { OnVideoStreamTick: OnVideoStreamTick::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineAudioEndpointId_Impl: Sized { @@ -7791,8 +7791,8 @@ impl IMFMediaEngineAudioEndpointId_Vtbl { GetAudioEndpointId: GetAudioEndpointId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineClassFactory_Impl: Sized { @@ -7843,8 +7843,8 @@ impl IMFMediaEngineClassFactory_Vtbl { CreateError: CreateError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineClassFactory2_Impl: Sized { @@ -7866,8 +7866,8 @@ impl IMFMediaEngineClassFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateMediaKeys2: CreateMediaKeys2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -7896,8 +7896,8 @@ impl IMFMediaEngineClassFactory3_Vtbl { CreateMediaKeySystemAccess: CreateMediaKeySystemAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineClassFactory4_Impl: Sized { @@ -7916,8 +7916,8 @@ impl IMFMediaEngineClassFactory4_Vtbl { CreateContentDecryptionModuleFactory: CreateContentDecryptionModuleFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineClassFactoryEx_Impl: Sized + IMFMediaEngineClassFactory_Impl { @@ -7968,8 +7968,8 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { IsTypeSupported: IsTypeSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaEngineEME_Impl: Sized { @@ -8001,8 +8001,8 @@ impl IMFMediaEngineEME_Vtbl { SetMediaKeys: SetMediaKeys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineEMENotify_Impl: Sized { @@ -8028,8 +8028,8 @@ impl IMFMediaEngineEMENotify_Vtbl { WaitingForKey: WaitingForKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -8388,8 +8388,8 @@ impl IMFMediaEngineEx_Vtbl { EnableTimeUpdateTimer: EnableTimeUpdateTimer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaEngineExtension_Impl: Sized { @@ -8441,8 +8441,8 @@ impl IMFMediaEngineExtension_Vtbl { EndCreateObject: EndCreateObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineNeedKeyNotify_Impl: Sized { @@ -8458,8 +8458,8 @@ impl IMFMediaEngineNeedKeyNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NeedKey: NeedKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineNotify_Impl: Sized { @@ -8475,8 +8475,8 @@ impl IMFMediaEngineNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EventNotify: EventNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineOPMInfo_Impl: Sized { @@ -8492,8 +8492,8 @@ impl IMFMediaEngineOPMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOPMInfo: GetOPMInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineProtectedContent_Impl: Sized { @@ -8559,8 +8559,8 @@ impl IMFMediaEngineProtectedContent_Vtbl { SetApplicationCertificate: SetApplicationCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineSrcElements_Impl: Sized { @@ -8632,8 +8632,8 @@ impl IMFMediaEngineSrcElements_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineSrcElementsEx_Impl: Sized + IMFMediaEngineSrcElements_Impl { @@ -8665,8 +8665,8 @@ impl IMFMediaEngineSrcElementsEx_Vtbl { GetKeySystem: GetKeySystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaEngineSupportsSourceTransfer_Impl: Sized { @@ -8705,8 +8705,8 @@ impl IMFMediaEngineSupportsSourceTransfer_Vtbl { AttachMediaSource: AttachMediaSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineTransferSource_Impl: Sized { @@ -8725,8 +8725,8 @@ impl IMFMediaEngineTransferSource_Vtbl { TransferSourceToMediaEngine: TransferSourceToMediaEngine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaEngineWebSupport_Impl: Sized { @@ -8765,8 +8765,8 @@ impl IMFMediaEngineWebSupport_Vtbl { DisconnectWebAudio: DisconnectWebAudio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaError_Impl: Sized { @@ -8806,8 +8806,8 @@ impl IMFMediaError_Vtbl { SetExtendedErrorCode: SetExtendedErrorCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -8875,8 +8875,8 @@ impl IMFMediaEvent_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -8932,8 +8932,8 @@ impl IMFMediaEventGenerator_Vtbl { QueueEvent: QueueEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -9010,8 +9010,8 @@ impl IMFMediaEventQueue_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaKeySession_Impl: Sized { @@ -9070,8 +9070,8 @@ impl IMFMediaKeySession_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaKeySession2_Impl: Sized + IMFMediaKeySession_Impl { @@ -9137,8 +9137,8 @@ impl IMFMediaKeySession2_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaKeySessionNotify_Impl: Sized { @@ -9171,8 +9171,8 @@ impl IMFMediaKeySessionNotify_Vtbl { KeyError: KeyError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaKeySessionNotify2_Impl: Sized + IMFMediaKeySessionNotify_Impl { @@ -9198,8 +9198,8 @@ impl IMFMediaKeySessionNotify2_Vtbl { KeyStatusChange: KeyStatusChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -9254,8 +9254,8 @@ impl IMFMediaKeySystemAccess_Vtbl { KeySystem: KeySystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaKeys_Impl: Sized { @@ -9313,8 +9313,8 @@ impl IMFMediaKeys_Vtbl { GetSuspendNotify: GetSuspendNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaKeys2_Impl: Sized + IMFMediaKeys_Impl { @@ -9359,8 +9359,8 @@ impl IMFMediaKeys2_Vtbl { GetDOMException: GetDOMException::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -9464,8 +9464,8 @@ impl IMFMediaSession_Vtbl { GetFullTopology: GetFullTopology::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaSharingEngine_Impl: Sized + IMFMediaEngine_Impl { @@ -9481,8 +9481,8 @@ impl IMFMediaSharingEngine_Vtbl { } Self { base__: IMFMediaEngine_Vtbl::new::(), GetDevice: GetDevice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaSharingEngineClassFactory_Impl: Sized { @@ -9504,8 +9504,8 @@ impl IMFMediaSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSink_Impl: Sized { @@ -9616,8 +9616,8 @@ impl IMFMediaSink_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSinkPreroll_Impl: Sized { @@ -9633,8 +9633,8 @@ impl IMFMediaSinkPreroll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyPreroll: NotifyPreroll:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -9704,8 +9704,8 @@ impl IMFMediaSource_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -9725,8 +9725,8 @@ impl IMFMediaSource2_Vtbl { } Self { base__: IMFMediaSourceEx_Vtbl::new::(), SetMediaType: SetMediaType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -9775,8 +9775,8 @@ impl IMFMediaSourceEx_Vtbl { SetD3DManager: SetD3DManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMFMediaSourceExtension_Impl: Sized { @@ -9864,8 +9864,8 @@ impl IMFMediaSourceExtension_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSourceExtensionLiveSeekableRange_Impl: Sized { @@ -9891,8 +9891,8 @@ impl IMFMediaSourceExtensionLiveSeekableRange_Vtbl { ClearLiveSeekableRange: ClearLiveSeekableRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSourceExtensionNotify_Impl: Sized { @@ -9925,8 +9925,8 @@ impl IMFMediaSourceExtensionNotify_Vtbl { OnSourceClose: OnSourceClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSourcePresentationProvider_Impl: Sized { @@ -9942,8 +9942,8 @@ impl IMFMediaSourcePresentationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ForceEndOfPresentation: ForceEndOfPresentation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaSourceTopologyProvider_Impl: Sized { @@ -9965,8 +9965,8 @@ impl IMFMediaSourceTopologyProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMediaSourceTopology: GetMediaSourceTopology:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -10015,8 +10015,8 @@ impl IMFMediaStream_Vtbl { RequestSample: RequestSample::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -10052,8 +10052,8 @@ impl IMFMediaStream2_Vtbl { GetStreamState: GetStreamState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMFMediaStreamSourceSampleRequest_Impl: Sized { @@ -10069,8 +10069,8 @@ impl IMFMediaStreamSourceSampleRequest_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSample: SetSample:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMediaTimeRange_Impl: Sized { @@ -10136,8 +10136,8 @@ impl IMFMediaTimeRange_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -10206,8 +10206,8 @@ impl IMFMediaType_Vtbl { FreeRepresentation: FreeRepresentation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFMediaTypeHandler_Impl: Sized { @@ -10285,8 +10285,8 @@ impl IMFMediaTypeHandler_Vtbl { GetMajorType: GetMajorType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -10375,8 +10375,8 @@ impl IMFMetadata_Vtbl { GetAllPropertyNames: GetAllPropertyNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMetadataProvider_Impl: Sized { @@ -10398,8 +10398,8 @@ impl IMFMetadataProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMFMetadata: GetMFMetadata:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMuxStreamAttributesManager_Impl: Sized { @@ -10437,8 +10437,8 @@ impl IMFMuxStreamAttributesManager_Vtbl { GetAttributes: GetAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMuxStreamMediaTypeManager_Impl: Sized { @@ -10516,8 +10516,8 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFMuxStreamSampleManager_Impl: Sized { @@ -10562,8 +10562,8 @@ impl IMFMuxStreamSampleManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetCredential_Impl: Sized { @@ -10616,8 +10616,8 @@ impl IMFNetCredential_Vtbl { LoggedOnUser: LoggedOnUser::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetCredentialCache_Impl: Sized { @@ -10650,8 +10650,8 @@ impl IMFNetCredentialCache_Vtbl { SetUserOptions: SetUserOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetCredentialManager_Impl: Sized { @@ -10690,8 +10690,8 @@ impl IMFNetCredentialManager_Vtbl { SetGood: SetGood::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetCrossOriginSupport_Impl: Sized { @@ -10742,8 +10742,8 @@ impl IMFNetCrossOriginSupport_Vtbl { IsSameOrigin: IsSameOrigin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetProxyLocator_Impl: Sized { @@ -10796,8 +10796,8 @@ impl IMFNetProxyLocator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetProxyLocatorFactory_Impl: Sized { @@ -10819,8 +10819,8 @@ impl IMFNetProxyLocatorFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProxyLocator: CreateProxyLocator:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetResourceFilter_Impl: Sized { @@ -10852,8 +10852,8 @@ impl IMFNetResourceFilter_Vtbl { OnSendingRequest: OnSendingRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFNetSchemeHandlerConfig_Impl: Sized { @@ -10898,8 +10898,8 @@ impl IMFNetSchemeHandlerConfig_Vtbl { ResetProtocolRolloverSettings: ResetProtocolRolloverSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFObjectReferenceStream_Impl: Sized { @@ -10925,8 +10925,8 @@ impl IMFObjectReferenceStream_Vtbl { LoadReference: LoadReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -10981,8 +10981,8 @@ impl IMFOutputPolicy_Vtbl { GetMinimumGRLVersion: GetMinimumGRLVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -11037,8 +11037,8 @@ impl IMFOutputSchema_Vtbl { GetOriginatorID: GetOriginatorID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFOutputTrustAuthority_Impl: Sized { @@ -11070,8 +11070,8 @@ impl IMFOutputTrustAuthority_Vtbl { SetPolicy: SetPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFPMPClient_Impl: Sized { @@ -11087,8 +11087,8 @@ impl IMFPMPClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFPMPClientApp_Impl: Sized { @@ -11104,8 +11104,8 @@ impl IMFPMPClientApp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11142,8 +11142,8 @@ impl IMFPMPHost_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11180,8 +11180,8 @@ impl IMFPMPHostApp_Vtbl { ActivateClassById: ActivateClassById::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFPMPServer_Impl: Sized { @@ -11214,8 +11214,8 @@ impl IMFPMPServer_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -11436,8 +11436,8 @@ impl IMFPMediaItem_Vtbl { GetMetadata: GetMetadata::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -11777,8 +11777,8 @@ impl IMFPMediaPlayer_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -11798,8 +11798,8 @@ impl IMFPMediaPlayerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMediaPlayerEvent: OnMediaPlayerEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFPluginControl_Impl: Sized { @@ -11865,8 +11865,8 @@ impl IMFPluginControl_Vtbl { SetDisabled: SetDisabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFPluginControl2_Impl: Sized + IMFPluginControl_Impl { @@ -11882,8 +11882,8 @@ impl IMFPluginControl2_Vtbl { } Self { base__: IMFPluginControl_Vtbl::new::(), SetPolicy: SetPolicy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFPresentationClock_Impl: Sized + IMFClock_Impl { @@ -11963,8 +11963,8 @@ impl IMFPresentationClock_Vtbl { Pause: Pause::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -12027,8 +12027,8 @@ impl IMFPresentationDescriptor_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFPresentationTimeSource_Impl: Sized + IMFClock_Impl { @@ -12050,8 +12050,8 @@ impl IMFPresentationTimeSource_Vtbl { } Self { base__: IMFClock_Vtbl::new::(), GetUnderlyingClock: GetUnderlyingClock:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFProtectedEnvironmentAccess_Impl: Sized { @@ -12077,8 +12077,8 @@ impl IMFProtectedEnvironmentAccess_Vtbl { ReadGRL: ReadGRL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFQualityAdvise_Impl: Sized { @@ -12137,8 +12137,8 @@ impl IMFQualityAdvise_Vtbl { DropTime: DropTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFQualityAdvise2_Impl: Sized + IMFQualityAdvise_Impl { @@ -12160,8 +12160,8 @@ impl IMFQualityAdvise2_Vtbl { } Self { base__: IMFQualityAdvise_Vtbl::new::(), NotifyQualityEvent: NotifyQualityEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFQualityAdviseLimits_Impl: Sized { @@ -12199,8 +12199,8 @@ impl IMFQualityAdviseLimits_Vtbl { GetMinimumQualityLevel: GetMinimumQualityLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFQualityManager_Impl: Sized { @@ -12254,8 +12254,8 @@ impl IMFQualityManager_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRateControl_Impl: Sized { @@ -12281,8 +12281,8 @@ impl IMFRateControl_Vtbl { GetRate: GetRate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRateSupport_Impl: Sized { @@ -12327,8 +12327,8 @@ impl IMFRateSupport_Vtbl { IsRateSupported: IsRateSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFReadWriteClassFactory_Impl: Sized { @@ -12354,8 +12354,8 @@ impl IMFReadWriteClassFactory_Vtbl { CreateInstanceFromObject: CreateInstanceFromObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRealTimeClient_Impl: Sized { @@ -12388,8 +12388,8 @@ impl IMFRealTimeClient_Vtbl { SetWorkQueue: SetWorkQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRealTimeClientEx_Impl: Sized { @@ -12422,8 +12422,8 @@ impl IMFRealTimeClientEx_Vtbl { SetWorkQueueEx: SetWorkQueueEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRelativePanelReport_Impl: Sized { @@ -12445,8 +12445,8 @@ impl IMFRelativePanelReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRelativePanel: GetRelativePanel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRelativePanelWatcher_Impl: Sized + IMFShutdown_Impl { @@ -12491,8 +12491,8 @@ impl IMFRelativePanelWatcher_Vtbl { GetReport: GetReport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFRemoteAsyncCallback_Impl: Sized { @@ -12508,8 +12508,8 @@ impl IMFRemoteAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRemoteDesktopPlugin_Impl: Sized { @@ -12525,8 +12525,8 @@ impl IMFRemoteDesktopPlugin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateTopology: UpdateTopology:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFRemoteProxy_Impl: Sized { @@ -12552,8 +12552,8 @@ impl IMFRemoteProxy_Vtbl { GetRemoteHost: GetRemoteHost::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -12615,8 +12615,8 @@ impl IMFSAMIStyle_Vtbl { GetSelectedStyle: GetSelectedStyle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSSLCertificateManager_Impl: Sized { @@ -12669,8 +12669,8 @@ impl IMFSSLCertificateManager_Vtbl { OnServerCertificate: OnServerCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -12826,8 +12826,8 @@ impl IMFSample_Vtbl { CopyToBuffer: CopyToBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFSampleAllocatorControl_Impl: Sized { @@ -12853,8 +12853,8 @@ impl IMFSampleAllocatorControl_Vtbl { GetAllocatorUsage: GetAllocatorUsage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSampleGrabberSinkCallback_Impl: Sized + IMFClockStateSink_Impl { @@ -12887,8 +12887,8 @@ impl IMFSampleGrabberSinkCallback_Vtbl { OnShutdown: OnShutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFSampleGrabberSinkCallback2_Impl: Sized + IMFSampleGrabberSinkCallback_Impl { @@ -12904,8 +12904,8 @@ impl IMFSampleGrabberSinkCallback2_Vtbl { } Self { base__: IMFSampleGrabberSinkCallback_Vtbl::new::(), OnProcessSampleEx: OnProcessSampleEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMFSampleOutputStream_Impl: Sized { @@ -12938,8 +12938,8 @@ impl IMFSampleOutputStream_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSampleProtection_Impl: Sized { @@ -12998,8 +12998,8 @@ impl IMFSampleProtection_Vtbl { InitInputProtection: InitInputProtection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSaveJob_Impl: Sized { @@ -13045,8 +13045,8 @@ impl IMFSaveJob_Vtbl { GetProgress: GetProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -13083,8 +13083,8 @@ impl IMFSchemeHandler_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSecureBuffer_Impl: Sized { @@ -13106,8 +13106,8 @@ impl IMFSecureBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSecureChannel_Impl: Sized { @@ -13133,8 +13133,8 @@ impl IMFSecureChannel_Vtbl { SetupSession: SetupSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -13154,8 +13154,8 @@ impl IMFSeekInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNearestKeyFrames: GetNearestKeyFrames:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorActivitiesReport_Impl: Sized { @@ -13206,8 +13206,8 @@ impl IMFSensorActivitiesReport_Vtbl { GetActivityReportByDeviceName: GetActivityReportByDeviceName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorActivitiesReportCallback_Impl: Sized { @@ -13223,8 +13223,8 @@ impl IMFSensorActivitiesReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivitiesReport: OnActivitiesReport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorActivityMonitor_Impl: Sized { @@ -13246,8 +13246,8 @@ impl IMFSensorActivityMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorActivityReport_Impl: Sized { @@ -13299,8 +13299,8 @@ impl IMFSensorActivityReport_Vtbl { GetProcessActivity: GetProcessActivity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorDevice_Impl: Sized { @@ -13417,8 +13417,8 @@ impl IMFSensorDevice_Vtbl { GetSensorDeviceMode: GetSensorDeviceMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorGroup_Impl: Sized { @@ -13522,8 +13522,8 @@ impl IMFSensorGroup_Vtbl { CreateMediaSource: CreateMediaSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorProcessActivity_Impl: Sized { @@ -13587,8 +13587,8 @@ impl IMFSensorProcessActivity_Vtbl { GetReportTime: GetReportTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorProfile_Impl: Sized { @@ -13634,8 +13634,8 @@ impl IMFSensorProfile_Vtbl { AddBlockedControl: AddBlockedControl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSensorProfileCollection_Impl: Sized { @@ -13701,8 +13701,8 @@ impl IMFSensorProfileCollection_Vtbl { RemoveProfile: RemoveProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -13757,8 +13757,8 @@ impl IMFSensorStream_Vtbl { CloneSensorStream: CloneSensorStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFSensorTransformFactory_Impl: Sized { @@ -13823,8 +13823,8 @@ impl IMFSensorTransformFactory_Vtbl { CreateTransform: CreateTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSequencerSource_Impl: Sized { @@ -13877,8 +13877,8 @@ impl IMFSequencerSource_Vtbl { UpdateTopologyFlags: UpdateTopologyFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSharingEngineClassFactory_Impl: Sized { @@ -13900,8 +13900,8 @@ impl IMFSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFShutdown_Impl: Sized { @@ -13933,8 +13933,8 @@ impl IMFShutdown_Vtbl { GetShutdownStatus: GetShutdownStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSignedLibrary_Impl: Sized { @@ -13950,8 +13950,8 @@ impl IMFSignedLibrary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProcedureAddress: GetProcedureAddress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSimpleAudioVolume_Impl: Sized { @@ -14003,8 +14003,8 @@ impl IMFSimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSinkWriter_Impl: Sized { @@ -14099,8 +14099,8 @@ impl IMFSinkWriter_Vtbl { GetStatistics: GetStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSinkWriterCallback_Impl: Sized { @@ -14126,8 +14126,8 @@ impl IMFSinkWriterCallback_Vtbl { OnMarker: OnMarker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSinkWriterCallback2_Impl: Sized + IMFSinkWriterCallback_Impl { @@ -14153,8 +14153,8 @@ impl IMFSinkWriterCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFSinkWriterEncoderConfig_Impl: Sized { @@ -14180,8 +14180,8 @@ impl IMFSinkWriterEncoderConfig_Vtbl { PlaceEncodingParameters: PlaceEncodingParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSinkWriterEx_Impl: Sized + IMFSinkWriter_Impl { @@ -14197,8 +14197,8 @@ impl IMFSinkWriterEx_Vtbl { } Self { base__: IMFSinkWriter_Vtbl::new::(), GetTransformForStream: GetTransformForStream:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFSourceBuffer_Impl: Sized { @@ -14300,8 +14300,8 @@ impl IMFSourceBuffer_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceBufferAppendMode_Impl: Sized { @@ -14327,8 +14327,8 @@ impl IMFSourceBufferAppendMode_Vtbl { SetAppendMode: SetAppendMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceBufferList_Impl: Sized { @@ -14354,8 +14354,8 @@ impl IMFSourceBufferList_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceBufferNotify_Impl: Sized { @@ -14402,8 +14402,8 @@ impl IMFSourceBufferNotify_Vtbl { OnUpdateEnd: OnUpdateEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceOpenMonitor_Impl: Sized { @@ -14419,8 +14419,8 @@ impl IMFSourceOpenMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSourceEvent: OnSourceEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -14530,8 +14530,8 @@ impl IMFSourceReader_Vtbl { GetPresentationAttribute: GetPresentationAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceReaderCallback_Impl: Sized { @@ -14564,8 +14564,8 @@ impl IMFSourceReaderCallback_Vtbl { OnEvent: OnEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSourceReaderCallback2_Impl: Sized + IMFSourceReaderCallback_Impl { @@ -14591,8 +14591,8 @@ impl IMFSourceReaderCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -14642,8 +14642,8 @@ impl IMFSourceReaderEx_Vtbl { GetTransformForStream: GetTransformForStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -14708,8 +14708,8 @@ impl IMFSourceResolver_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -14778,8 +14778,8 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { GetMetadataItems: GetMetadataItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -14828,8 +14828,8 @@ impl IMFSpatialAudioSample_Vtbl { GetSpatialAudioObjectByIndex: GetSpatialAudioObjectByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -14871,8 +14871,8 @@ impl IMFStreamDescriptor_Vtbl { GetMediaTypeHandler: GetMediaTypeHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -14948,8 +14948,8 @@ impl IMFStreamSink_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFStreamingSinkConfig_Impl: Sized { @@ -14965,8 +14965,8 @@ impl IMFStreamingSinkConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartStreaming: StartStreaming:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFSystemId_Impl: Sized { @@ -14992,8 +14992,8 @@ impl IMFSystemId_Vtbl { Setup: Setup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -15049,8 +15049,8 @@ impl IMFTimecodeTranslate_Vtbl { EndConvertHNSToTimecode: EndConvertHNSToTimecode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedText_Impl: Sized { @@ -15208,8 +15208,8 @@ impl IMFTimedText_Vtbl { IsInBandEnabled: IsInBandEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextBinary_Impl: Sized { @@ -15225,8 +15225,8 @@ impl IMFTimedTextBinary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextBouten_Impl: Sized { @@ -15277,8 +15277,8 @@ impl IMFTimedTextBouten_Vtbl { GetBoutenPosition: GetBoutenPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextCue_Impl: Sized { @@ -15397,8 +15397,8 @@ impl IMFTimedTextCue_Vtbl { GetLine: GetLine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextCueList_Impl: Sized { @@ -15477,8 +15477,8 @@ impl IMFTimedTextCueList_Vtbl { RemoveCue: RemoveCue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextFormattedText_Impl: Sized { @@ -15517,8 +15517,8 @@ impl IMFTimedTextFormattedText_Vtbl { GetSubformatting: GetSubformatting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextNotify_Impl: Sized { @@ -15579,8 +15579,8 @@ impl IMFTimedTextNotify_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextRegion_Impl: Sized { @@ -15724,8 +15724,8 @@ impl IMFTimedTextRegion_Vtbl { GetScrollMode: GetScrollMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextRuby_Impl: Sized { @@ -15789,8 +15789,8 @@ impl IMFTimedTextRuby_Vtbl { GetRubyReserve: GetRubyReserve::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextStyle_Impl: Sized { @@ -15953,8 +15953,8 @@ impl IMFTimedTextStyle_Vtbl { GetTextOutline: GetTextOutline::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextStyle2_Impl: Sized { @@ -16018,8 +16018,8 @@ impl IMFTimedTextStyle2_Vtbl { GetFontAngleInDegrees: GetFontAngleInDegrees::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextTrack_Impl: Sized { @@ -16152,8 +16152,8 @@ impl IMFTimedTextTrack_Vtbl { GetCueList: GetCueList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimedTextTrackList_Impl: Sized { @@ -16198,8 +16198,8 @@ impl IMFTimedTextTrackList_Vtbl { GetTrackById: GetTrackById::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTimer_Impl: Sized { @@ -16231,8 +16231,8 @@ impl IMFTimer_Vtbl { CancelTimer: CancelTimer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTopoLoader_Impl: Sized { @@ -16248,8 +16248,8 @@ impl IMFTopoLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Load: Load:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -16371,8 +16371,8 @@ impl IMFTopology_Vtbl { GetOutputNodeCollection: GetOutputNodeCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -16542,8 +16542,8 @@ impl IMFTopologyNode_Vtbl { CloneFrom: CloneFrom::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFTopologyNodeAttributeEditor_Impl: Sized { @@ -16559,8 +16559,8 @@ impl IMFTopologyNodeAttributeEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateNodeAttributes: UpdateNodeAttributes:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTopologyServiceLookup_Impl: Sized { @@ -16576,8 +16576,8 @@ impl IMFTopologyServiceLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LookupService: LookupService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTopologyServiceLookupClient_Impl: Sized { @@ -16603,8 +16603,8 @@ impl IMFTopologyServiceLookupClient_Vtbl { ReleaseServicePointers: ReleaseServicePointers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTrackedSample_Impl: Sized { @@ -16620,8 +16620,8 @@ impl IMFTrackedSample_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAllocator: SetAllocator:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTranscodeProfile_Impl: Sized { @@ -16693,8 +16693,8 @@ impl IMFTranscodeProfile_Vtbl { GetContainerAttributes: GetContainerAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTranscodeSinkInfoProvider_Impl: Sized { @@ -16740,8 +16740,8 @@ impl IMFTranscodeSinkInfoProvider_Vtbl { GetSinkInfo: GetSinkInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTransform_Impl: Sized { @@ -16974,8 +16974,8 @@ impl IMFTransform_Vtbl { ProcessOutput: ProcessOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTrustedInput_Impl: Sized { @@ -16997,8 +16997,8 @@ impl IMFTrustedInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputTrustAuthority: GetInputTrustAuthority:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFTrustedOutput_Impl: Sized { @@ -17049,8 +17049,8 @@ impl IMFTrustedOutput_Vtbl { IsFinal: IsFinal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoCaptureSampleAllocator_Impl: Sized + IMFVideoSampleAllocator_Impl { @@ -17069,8 +17069,8 @@ impl IMFVideoCaptureSampleAllocator_Vtbl { InitializeCaptureSampleAllocator: InitializeCaptureSampleAllocator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFVideoDeviceID_Impl: Sized { @@ -17092,8 +17092,8 @@ impl IMFVideoDeviceID_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceID: GetDeviceID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -17251,8 +17251,8 @@ impl IMFVideoDisplayControl_Vtbl { GetFullscreen: GetFullscreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -17282,8 +17282,8 @@ impl IMFVideoMediaType_Vtbl { GetVideoRepresentation: GetVideoRepresentation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`"] @@ -17327,8 +17327,8 @@ impl IMFVideoMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoMixerControl_Impl: Sized { @@ -17380,8 +17380,8 @@ impl IMFVideoMixerControl_Vtbl { GetStreamOutputRect: GetStreamOutputRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoMixerControl2_Impl: Sized + IMFVideoMixerControl_Impl { @@ -17413,8 +17413,8 @@ impl IMFVideoMixerControl2_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFVideoPositionMapper_Impl: Sized { @@ -17433,8 +17433,8 @@ impl IMFVideoPositionMapper_Vtbl { MapOutputCoordinateToInputStream: MapOutputCoordinateToInputStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoPresenter_Impl: Sized + IMFClockStateSink_Impl { @@ -17466,8 +17466,8 @@ impl IMFVideoPresenter_Vtbl { GetCurrentMediaType: GetCurrentMediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D9\"`"] @@ -17603,8 +17603,8 @@ impl IMFVideoProcessor_Vtbl { SetBackgroundColor: SetBackgroundColor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoProcessorControl_Impl: Sized { @@ -17658,8 +17658,8 @@ impl IMFVideoProcessorControl_Vtbl { SetConstrictionSize: SetConstrictionSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoProcessorControl2_Impl: Sized + IMFVideoProcessorControl_Impl { @@ -17698,8 +17698,8 @@ impl IMFVideoProcessorControl2_Vtbl { GetSupportedHardwareEffects: GetSupportedHardwareEffects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFVideoProcessorControl3_Impl: Sized + IMFVideoProcessorControl2_Impl { @@ -17745,8 +17745,8 @@ impl IMFVideoProcessorControl3_Vtbl { SetOutputDevice: SetOutputDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMFVideoRenderer_Impl: Sized { @@ -17762,8 +17762,8 @@ impl IMFVideoRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeRenderer: InitializeRenderer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoRendererEffectControl_Impl: Sized { @@ -17782,8 +17782,8 @@ impl IMFVideoRendererEffectControl_Vtbl { OnAppServiceConnectionEstablished: OnAppServiceConnectionEstablished::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoSampleAllocator_Impl: Sized { @@ -17829,8 +17829,8 @@ impl IMFVideoSampleAllocator_Vtbl { AllocateSample: AllocateSample::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoSampleAllocatorCallback_Impl: Sized { @@ -17862,8 +17862,8 @@ impl IMFVideoSampleAllocatorCallback_Vtbl { GetFreeSampleCount: GetFreeSampleCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoSampleAllocatorEx_Impl: Sized + IMFVideoSampleAllocator_Impl { @@ -17882,8 +17882,8 @@ impl IMFVideoSampleAllocatorEx_Vtbl { InitializeSampleAllocatorEx: InitializeSampleAllocatorEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFVideoSampleAllocatorNotify_Impl: Sized { @@ -17899,8 +17899,8 @@ impl IMFVideoSampleAllocatorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFVideoSampleAllocatorNotifyEx_Impl: Sized + IMFVideoSampleAllocatorNotify_Impl { @@ -17916,8 +17916,8 @@ impl IMFVideoSampleAllocatorNotifyEx_Vtbl { } Self { base__: IMFVideoSampleAllocatorNotify_Vtbl::new::(), NotifyPrune: NotifyPrune:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_Properties\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -18028,8 +18028,8 @@ impl IMFVirtualCamera_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMFWorkQueueServices_Impl: Sized { @@ -18143,8 +18143,8 @@ impl IMFWorkQueueServices_Vtbl { GetPlatformWorkQueueMMCSSTaskId: GetPlatformWorkQueueMMCSSTaskId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMFWorkQueueServicesEx_Impl: Sized + IMFWorkQueueServices_Impl { @@ -18189,8 +18189,8 @@ impl IMFWorkQueueServicesEx_Vtbl { GetPlatformWorkQueueMMCSSPriority: GetPlatformWorkQueueMMCSSPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOPMVideoOutput_Impl: Sized { @@ -18237,8 +18237,8 @@ impl IOPMVideoOutput_Vtbl { Configure: Configure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayToControl_Impl: Sized { @@ -18264,8 +18264,8 @@ impl IPlayToControl_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayToControlWithCapabilities_Impl: Sized + IPlayToControl_Impl { @@ -18287,8 +18287,8 @@ impl IPlayToControlWithCapabilities_Vtbl { } Self { base__: IPlayToControl_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPlayToSourceClassFactory_Impl: Sized { @@ -18310,8 +18310,8 @@ impl IPlayToSourceClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IToc_Impl: Sized { @@ -18406,8 +18406,8 @@ impl IToc_Vtbl { RemoveEntryListByIndex: RemoveEntryListByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITocCollection_Impl: Sized { @@ -18460,8 +18460,8 @@ impl ITocCollection_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITocEntry_Impl: Sized { @@ -18529,8 +18529,8 @@ impl ITocEntry_Vtbl { GetDescriptionData: GetDescriptionData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITocEntryList_Impl: Sized { @@ -18583,8 +18583,8 @@ impl ITocEntryList_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITocParser_Impl: Sized { @@ -18664,8 +18664,8 @@ impl ITocParser_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IValidateBinding_Impl: Sized { @@ -18681,8 +18681,8 @@ impl IValidateBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMCodecLeakyBucket_Impl: Sized { @@ -18722,8 +18722,8 @@ impl IWMCodecLeakyBucket_Vtbl { GetBufferFullnessBits: GetBufferFullnessBits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMCodecOutputTimestamp_Impl: Sized { @@ -18739,8 +18739,8 @@ impl IWMCodecOutputTimestamp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextOutputTime: GetNextOutputTime:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DxMediaObjects\"`"] @@ -18770,8 +18770,8 @@ impl IWMCodecPrivateData_Vtbl { GetPrivateData: GetPrivateData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DxMediaObjects\"`"] @@ -18801,8 +18801,8 @@ impl IWMCodecProps_Vtbl { GetCodecProp: GetCodecProp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DxMediaObjects\"`"] @@ -18832,8 +18832,8 @@ impl IWMCodecStrings_Vtbl { GetDescription: GetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMColorConvProps_Impl: Sized { @@ -18859,8 +18859,8 @@ impl IWMColorConvProps_Vtbl { SetFullCroppingParam: SetFullCroppingParam::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMColorLegalizerProps_Impl: Sized { @@ -18876,8 +18876,8 @@ impl IWMColorLegalizerProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColorLegalizerQuality: SetColorLegalizerQuality:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMFrameInterpProps_Impl: Sized { @@ -18917,8 +18917,8 @@ impl IWMFrameInterpProps_Vtbl { SetComplexityLevel: SetComplexityLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMInterlaceProps_Impl: Sized { @@ -18951,8 +18951,8 @@ impl IWMInterlaceProps_Vtbl { SetLastFrame: SetLastFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMResamplerProps_Impl: Sized { @@ -18978,8 +18978,8 @@ impl IWMResamplerProps_Vtbl { SetUserChannelMtx: SetUserChannelMtx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMResizerProps_Impl: Sized { @@ -19026,8 +19026,8 @@ impl IWMResizerProps_Vtbl { GetFullCropRegion: GetFullCropRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMSampleExtensionSupport_Impl: Sized { @@ -19043,8 +19043,8 @@ impl IWMSampleExtensionSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUseSampleExtensions: SetUseSampleExtensions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMValidate_Impl: Sized { @@ -19060,8 +19060,8 @@ impl IWMValidate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIdentifier: SetIdentifier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMVideoDecoderHurryup_Impl: Sized { @@ -19087,8 +19087,8 @@ impl IWMVideoDecoderHurryup_Vtbl { GetHurryup: GetHurryup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DxMediaObjects\"`"] @@ -19125,8 +19125,8 @@ impl IWMVideoDecoderReconBuffer_Vtbl { SetReconstructedVideoFrame: SetReconstructedVideoFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMVideoForceKeyFrame_Impl: Sized { @@ -19142,8 +19142,8 @@ impl IWMVideoForceKeyFrame_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetKeyFrame: SetKeyFrame:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait MFASYNCRESULT_Impl: Sized + IMFAsyncResult_Impl {} @@ -19152,7 +19152,7 @@ impl MFASYNCRESULT_Vtbl { pub const fn new, Impl: MFASYNCRESULT_Impl, const OFFSET: isize>() -> MFASYNCRESULT_Vtbl { Self { base__: IMFAsyncResult_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs index 8dba5c6905..380f943a92 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs @@ -505,8 +505,8 @@ impl IFeed_Vtbl { ItemCount: ItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -588,8 +588,8 @@ impl IFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -750,8 +750,8 @@ impl IFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -823,8 +823,8 @@ impl IFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1056,8 +1056,8 @@ impl IFeedFolder_Vtbl { GetWatcher: GetWatcher::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1185,8 +1185,8 @@ impl IFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1411,8 +1411,8 @@ impl IFeedItem_Vtbl { Modified: Modified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1438,8 +1438,8 @@ impl IFeedItem2_Vtbl { } Self { base__: IFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1494,8 +1494,8 @@ impl IFeedsEnum_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1689,8 +1689,8 @@ impl IFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPAudioRenderConfig_Impl: Sized { @@ -1716,8 +1716,8 @@ impl IWMPAudioRenderConfig_Vtbl { SetaudioOutputDevice: SetaudioOutputDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1760,8 +1760,8 @@ impl IWMPCdrom_Vtbl { eject: eject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1881,8 +1881,8 @@ impl IWMPCdromBurn_Vtbl { erase: erase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1931,8 +1931,8 @@ impl IWMPCdromCollection_Vtbl { getByDriveSpecifier: getByDriveSpecifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPCdromRip_Impl: Sized { @@ -1972,8 +1972,8 @@ impl IWMPCdromRip_Vtbl { stopRip: stopRip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2045,8 +2045,8 @@ impl IWMPClosedCaption_Vtbl { SetcaptioningId: SetcaptioningId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2097,8 +2097,8 @@ impl IWMPClosedCaption2_Vtbl { getSAMIStyleName: getSAMIStyleName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPContentContainer_Impl: Sized { @@ -2188,8 +2188,8 @@ impl IWMPContentContainer_Vtbl { GetContentID: GetContentID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPContentContainerList_Impl: Sized { @@ -2240,8 +2240,8 @@ impl IWMPContentContainerList_Vtbl { GetContainer: GetContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2442,8 +2442,8 @@ impl IWMPContentPartner_Vtbl { VerifyPermission: VerifyPermission::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2550,8 +2550,8 @@ impl IWMPContentPartnerCallback_Vtbl { VerifyPermissionComplete: VerifyPermissionComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2685,8 +2685,8 @@ impl IWMPControls_Vtbl { playItem: playItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2706,8 +2706,8 @@ impl IWMPControls2_Vtbl { } Self { base__: IWMPControls_Vtbl::new::(), step: step:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2793,8 +2793,8 @@ impl IWMPControls3_Vtbl { SetcurrentPositionTimecode: SetcurrentPositionTimecode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPConvert_Impl: Sized { @@ -2820,8 +2820,8 @@ impl IWMPConvert_Vtbl { GetErrorURL: GetErrorURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3044,8 +3044,8 @@ impl IWMPCore_Vtbl { status: status::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3071,8 +3071,8 @@ impl IWMPCore2_Vtbl { } Self { base__: IWMPCore_Vtbl::new::(), dvd: dvd:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3114,8 +3114,8 @@ impl IWMPCore3_Vtbl { newMedia: newMedia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3173,8 +3173,8 @@ impl IWMPDVD_Vtbl { resume: resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3244,8 +3244,8 @@ impl IWMPDownloadCollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3317,8 +3317,8 @@ impl IWMPDownloadItem_Vtbl { cancel: cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3338,8 +3338,8 @@ impl IWMPDownloadItem2_Vtbl { } Self { base__: IWMPDownloadItem_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3381,8 +3381,8 @@ impl IWMPDownloadManager_Vtbl { createDownloadCollection: createDownloadCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -3475,8 +3475,8 @@ impl IWMPEffects_Vtbl { RenderFullScreen: RenderFullScreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -3534,8 +3534,8 @@ impl IWMPEffects2_Vtbl { RenderWindowed: RenderWindowed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3585,8 +3585,8 @@ impl IWMPError_Vtbl { webHelp: webHelp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3637,8 +3637,8 @@ impl IWMPErrorItem_Vtbl { customUrl: customUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3658,8 +3658,8 @@ impl IWMPErrorItem2_Vtbl { } Self { base__: IWMPErrorItem_Vtbl::new::(), condition: condition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3990,8 +3990,8 @@ impl IWMPEvents_Vtbl { MouseUp: MouseUp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4049,8 +4049,8 @@ impl IWMPEvents2_Vtbl { CreatePartnershipComplete: CreatePartnershipComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4143,8 +4143,8 @@ impl IWMPEvents3_Vtbl { MediaCollectionMediaRemoved: MediaCollectionMediaRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4164,8 +4164,8 @@ impl IWMPEvents4_Vtbl { } Self { base__: IWMPEvents3_Vtbl::new::(), DeviceEstimation: DeviceEstimation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPFolderMonitorServices_Impl: Sized { @@ -4254,8 +4254,8 @@ impl IWMPFolderMonitorServices_Vtbl { stopScan: stopScan::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPGraphCreation_Impl: Sized { @@ -4288,8 +4288,8 @@ impl IWMPGraphCreation_Vtbl { GetGraphCreationFlags: GetGraphCreationFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4339,8 +4339,8 @@ impl IWMPLibrary_Vtbl { isIdentical: isIdentical::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4360,8 +4360,8 @@ impl IWMPLibrary2_Vtbl { } Self { base__: IWMPLibrary_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPLibraryServices_Impl: Sized { @@ -4393,8 +4393,8 @@ impl IWMPLibraryServices_Vtbl { getLibraryByType: getLibraryByType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPLibrarySharingServices_Impl: Sized { @@ -4427,8 +4427,8 @@ impl IWMPLibrarySharingServices_Vtbl { showLibrarySharing: showLibrarySharing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4570,8 +4570,8 @@ impl IWMPMedia_Vtbl { isReadOnlyItem: isReadOnlyItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4597,8 +4597,8 @@ impl IWMPMedia2_Vtbl { } Self { base__: IWMPMedia_Vtbl::new::(), error: error:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4628,8 +4628,8 @@ impl IWMPMedia3_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4777,8 +4777,8 @@ impl IWMPMediaCollection_Vtbl { isDeleted: isDeleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4846,8 +4846,8 @@ impl IWMPMediaCollection2_Vtbl { getByAttributeAndMediaType: getByAttributeAndMediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPMediaPluginRegistrar_Impl: Sized { @@ -4873,8 +4873,8 @@ impl IWMPMediaPluginRegistrar_Vtbl { WMPUnRegisterPlayerPlugin: WMPUnRegisterPlayerPlugin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4918,8 +4918,8 @@ impl IWMPMetadataPicture_Vtbl { URL: URL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4949,8 +4949,8 @@ impl IWMPMetadataText_Vtbl { text: text::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5162,8 +5162,8 @@ impl IWMPNetwork_Vtbl { framesSkipped: framesSkipped::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPNodeRealEstate_Impl: Sized { @@ -5224,8 +5224,8 @@ impl IWMPNodeRealEstate_Vtbl { GetFullScreen: GetFullScreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPNodeRealEstateHost_Impl: Sized { @@ -5251,8 +5251,8 @@ impl IWMPNodeRealEstateHost_Vtbl { OnFullScreenTransition: OnFullScreenTransition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPNodeWindowed_Impl: Sized { @@ -5278,8 +5278,8 @@ impl IWMPNodeWindowed_Vtbl { GetOwnerWindow: GetOwnerWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPNodeWindowedHost_Impl: Sized { @@ -5298,8 +5298,8 @@ impl IWMPNodeWindowedHost_Vtbl { OnWindowMessageFromRenderer: OnWindowMessageFromRenderer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPNodeWindowless_Impl: Sized + IWMPWindowMessageSink_Impl { @@ -5315,8 +5315,8 @@ impl IWMPNodeWindowless_Vtbl { } Self { base__: IWMPWindowMessageSink_Vtbl::new::(), OnDraw: OnDraw:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPNodeWindowlessHost_Impl: Sized { @@ -5332,8 +5332,8 @@ impl IWMPNodeWindowlessHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvalidateRect: InvalidateRect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5405,8 +5405,8 @@ impl IWMPPlayer_Vtbl { uiMode: uiMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5506,8 +5506,8 @@ impl IWMPPlayer2_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5607,8 +5607,8 @@ impl IWMPPlayer3_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5735,8 +5735,8 @@ impl IWMPPlayer4_Vtbl { openPlayer: openPlayer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5780,8 +5780,8 @@ impl IWMPPlayerApplication_Vtbl { hasDisplay: hasDisplay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPPlayerServices_Impl: Sized { @@ -5814,8 +5814,8 @@ impl IWMPPlayerServices_Vtbl { setTaskPaneURL: setTaskPaneURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPPlayerServices2_Impl: Sized + IWMPPlayerServices_Impl { @@ -5834,8 +5834,8 @@ impl IWMPPlayerServices2_Vtbl { setBackgroundProcessingPriority: setBackgroundProcessingPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5955,8 +5955,8 @@ impl IWMPPlaylist_Vtbl { moveItem: moveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5992,8 +5992,8 @@ impl IWMPPlaylistArray_Vtbl { item: item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6082,8 +6082,8 @@ impl IWMPPlaylistCollection_Vtbl { importPlaylist: importPlaylist::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPPlugin_Impl: Sized { @@ -6137,8 +6137,8 @@ impl IWMPPlugin_Vtbl { UnAdviseWMPServices: UnAdviseWMPServices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPPluginEnable_Impl: Sized { @@ -6164,8 +6164,8 @@ impl IWMPPluginEnable_Vtbl { GetEnable: GetEnable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6230,8 +6230,8 @@ impl IWMPPluginUI_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6261,8 +6261,8 @@ impl IWMPQuery_Vtbl { beginNextGroup: beginNextGroup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6306,8 +6306,8 @@ impl IWMPRemoteMediaServices_Vtbl { GetCustomUIMode: GetCustomUIMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPRenderConfig_Impl: Sized { @@ -6333,8 +6333,8 @@ impl IWMPRenderConfig_Vtbl { inProcOnly: inProcOnly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPServices_Impl: Sized { @@ -6360,8 +6360,8 @@ impl IWMPServices_Vtbl { GetStreamState: GetStreamState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6538,8 +6538,8 @@ impl IWMPSettings_Vtbl { SetenableErrorDialogs: SetenableErrorDialogs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6576,8 +6576,8 @@ impl IWMPSettings2_Vtbl { requestMediaAccessRights: requestMediaAccessRights::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPSkinManager_Impl: Sized { @@ -6593,8 +6593,8 @@ impl IWMPSkinManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVisualStyle: SetVisualStyle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6624,8 +6624,8 @@ impl IWMPStringCollection_Vtbl { item: item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6669,8 +6669,8 @@ impl IWMPStringCollection2_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6714,8 +6714,8 @@ impl IWMPSubscriptionService_Vtbl { startBackgroundProcessing: startBackgroundProcessing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6759,8 +6759,8 @@ impl IWMPSubscriptionService2_Vtbl { prepareForSync: prepareForSync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPSubscriptionServiceCallback_Impl: Sized { @@ -6776,8 +6776,8 @@ impl IWMPSubscriptionServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPSyncDevice_Impl: Sized { @@ -6901,8 +6901,8 @@ impl IWMPSyncDevice_Vtbl { isIdentical: isIdentical::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPSyncDevice2_Impl: Sized + IWMPSyncDevice_Impl { @@ -6918,8 +6918,8 @@ impl IWMPSyncDevice2_Vtbl { } Self { base__: IWMPSyncDevice_Vtbl::new::(), setItemInfo: setItemInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6949,8 +6949,8 @@ impl IWMPSyncDevice3_Vtbl { cancelEstimation: cancelEstimation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMPSyncServices_Impl: Sized { @@ -6982,8 +6982,8 @@ impl IWMPSyncServices_Vtbl { getDevice: getDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPTranscodePolicy_Impl: Sized { @@ -6999,8 +6999,8 @@ impl IWMPTranscodePolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), allowTranscode: allowTranscode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPUserEventSink_Impl: Sized { @@ -7016,8 +7016,8 @@ impl IWMPUserEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyUserEvent: NotifyUserEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -7037,8 +7037,8 @@ impl IWMPVideoRenderConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetpresenterActivate: SetpresenterActivate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPWindowMessageSink_Impl: Sized { @@ -7054,8 +7054,8 @@ impl IWMPWindowMessageSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWindowMessage: OnWindowMessage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7547,8 +7547,8 @@ impl IXFeed_Vtbl { ItemCount: ItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7624,8 +7624,8 @@ impl IXFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXFeedEnclosure_Impl: Sized { @@ -7776,8 +7776,8 @@ impl IXFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXFeedEvents_Impl: Sized { @@ -7845,8 +7845,8 @@ impl IXFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXFeedFolder_Impl: Sized { @@ -8026,8 +8026,8 @@ impl IXFeedFolder_Vtbl { TotalItemCount: TotalItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXFeedFolderEvents_Impl: Sized { @@ -8151,8 +8151,8 @@ impl IXFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8365,8 +8365,8 @@ impl IXFeedItem_Vtbl { Modified: Modified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8392,8 +8392,8 @@ impl IXFeedItem2_Vtbl { } Self { base__: IXFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXFeedsEnum_Impl: Sized { @@ -8421,8 +8421,8 @@ impl IXFeedsEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Count: Count::, Item: Item:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8592,8 +8592,8 @@ impl IXFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8606,7 +8606,7 @@ impl _WMPOCXEvents_Vtbl { pub const fn new, Impl: _WMPOCXEvents_Impl, const OFFSET: isize>() -> _WMPOCXEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_WMPOCXEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_WMPOCXEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs index e00612b658..8ace82e77e 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs @@ -48,8 +48,8 @@ impl IAVIEditStream_Vtbl { SetInfo: SetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAVIFile_Impl: Sized { @@ -110,8 +110,8 @@ impl IAVIFile_Vtbl { DeleteStream: DeleteStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -131,8 +131,8 @@ impl IAVIPersistFile_Vtbl { } Self { base__: super::super::System::Com::IPersistFile_Vtbl::new::(), Reserved1: Reserved1:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAVIStream_Impl: Sized { @@ -221,8 +221,8 @@ impl IAVIStream_Vtbl { SetInfo: SetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAVIStreaming_Impl: Sized { @@ -244,8 +244,8 @@ impl IAVIStreaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -289,7 +289,7 @@ impl IGetFrame_Vtbl { SetFormat: SetFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index 19dbb2c73c..f095668120 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -44,8 +44,8 @@ impl IPhotoAcquire_Vtbl { EnumResults: EnumResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhotoAcquireDeviceSelectionDialog_Impl: Sized { @@ -78,8 +78,8 @@ impl IPhotoAcquireDeviceSelectionDialog_Vtbl { DoModal: DoModal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -200,8 +200,8 @@ impl IPhotoAcquireItem_Vtbl { GetSubItemAt: GetSubItemAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhotoAcquireOptionsDialog_Impl: Sized { @@ -254,8 +254,8 @@ impl IPhotoAcquireOptionsDialog_Vtbl { SaveData: SaveData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -299,8 +299,8 @@ impl IPhotoAcquirePlugin_Vtbl { DisplayConfigureDialog: DisplayConfigureDialog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -467,8 +467,8 @@ impl IPhotoAcquireProgressCB_Vtbl { GetUserInput: GetUserInput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhotoAcquireSettings_Impl: Sized { @@ -607,8 +607,8 @@ impl IPhotoAcquireSettings_Vtbl { GetAcquisitionTime: GetAcquisitionTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -710,8 +710,8 @@ impl IPhotoAcquireSource_Vtbl { BindToObject: BindToObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhotoProgressActionCB_Impl: Sized { @@ -727,8 +727,8 @@ impl IPhotoProgressActionCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAction: DoAction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -888,8 +888,8 @@ impl IPhotoProgressDialog_Vtbl { GetUserInput: GetUserInput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1029,7 +1029,7 @@ impl IUserInputString_Vtbl { GetImage: GetImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index 90414b6b57..07a071ab53 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -61,8 +61,8 @@ impl IEnumSpObjectTokens_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -155,8 +155,8 @@ impl ISpAudio_Vtbl { SetBufferNotifySize: SetBufferNotifySize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISpContainerLexicon_Impl: Sized + ISpLexicon_Impl { @@ -172,8 +172,8 @@ impl ISpContainerLexicon_Vtbl { } Self { base__: ISpLexicon_Vtbl::new::(), AddLexicon: AddLexicon:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpDataKey_Impl: Sized { @@ -299,8 +299,8 @@ impl ISpDataKey_Vtbl { EnumValues: EnumValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpDisplayAlternates_Impl: Sized { @@ -326,8 +326,8 @@ impl ISpDisplayAlternates_Vtbl { SetFullStopTrailSpace: SetFullStopTrailSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpEnginePronunciation_Impl: Sized { @@ -353,8 +353,8 @@ impl ISpEnginePronunciation_Vtbl { GetPronunciations: GetPronunciations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpEventSink_Impl: Sized { @@ -380,8 +380,8 @@ impl ISpEventSink_Vtbl { GetEventInterest: GetEventInterest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpEventSource_Impl: Sized + ISpNotifySource_Impl { @@ -414,8 +414,8 @@ impl ISpEventSource_Vtbl { GetInfo: GetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpEventSource2_Impl: Sized + ISpEventSource_Impl { @@ -431,8 +431,8 @@ impl ISpEventSource2_Vtbl { } Self { base__: ISpEventSource_Vtbl::new::(), GetEventsEx: GetEventsEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -504,8 +504,8 @@ impl ISpGrammarBuilder_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpGrammarBuilder2_Impl: Sized { @@ -531,8 +531,8 @@ impl ISpGrammarBuilder2_Vtbl { SetPhoneticAlphabet: SetPhoneticAlphabet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpLexicon_Impl: Sized { @@ -586,8 +586,8 @@ impl ISpLexicon_Vtbl { GetWords: GetWords::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -638,8 +638,8 @@ impl ISpMMSysAudio_Vtbl { SetLineId: SetLineId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISpNotifyCallback_Impl: Sized { @@ -680,8 +680,8 @@ impl ISpNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpNotifySource_Impl: Sized { @@ -742,8 +742,8 @@ impl ISpNotifySource_Vtbl { GetNotifyEventHandle: GetNotifyEventHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpNotifyTranslator_Impl: Sized + ISpNotifySink_Impl { @@ -797,8 +797,8 @@ impl ISpNotifyTranslator_Vtbl { GetEventHandle: GetEventHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpObjectToken_Impl: Sized + ISpDataKey_Impl { @@ -898,8 +898,8 @@ impl ISpObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpObjectTokenCategory_Impl: Sized + ISpDataKey_Impl { @@ -977,8 +977,8 @@ impl ISpObjectTokenCategory_Vtbl { GetDefaultTokenId: GetDefaultTokenId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpObjectTokenInit_Impl: Sized + ISpObjectToken_Impl { @@ -994,8 +994,8 @@ impl ISpObjectTokenInit_Vtbl { } Self { base__: ISpObjectToken_Vtbl::new::(), InitFromDataKey: InitFromDataKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISpObjectWithToken_Impl: Sized { @@ -1027,8 +1027,8 @@ impl ISpObjectWithToken_Vtbl { GetObjectToken: GetObjectToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpPhoneConverter_Impl: Sized + ISpObjectWithToken_Impl { @@ -1060,8 +1060,8 @@ impl ISpPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpPhoneticAlphabetConverter_Impl: Sized { @@ -1120,8 +1120,8 @@ impl ISpPhoneticAlphabetConverter_Vtbl { GetMaxConvertLength: GetMaxConvertLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpPhoneticAlphabetSelection_Impl: Sized { @@ -1153,8 +1153,8 @@ impl ISpPhoneticAlphabetSelection_Vtbl { SetAlphabetToUPS: SetAlphabetToUPS::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1210,8 +1210,8 @@ impl ISpPhrase_Vtbl { Discard: Discard::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1254,8 +1254,8 @@ impl ISpPhrase2_Vtbl { GetAudio: GetAudio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1285,8 +1285,8 @@ impl ISpPhraseAlt_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpProperties_Impl: Sized { @@ -1332,8 +1332,8 @@ impl ISpProperties_Vtbl { GetPropertyString: GetPropertyString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -1499,8 +1499,8 @@ impl ISpRecoContext_Vtbl { GetContextState: GetContextState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISpRecoContext2_Impl: Sized { @@ -1533,8 +1533,8 @@ impl ISpRecoContext2_Vtbl { SetAdaptationData2: SetAdaptationData2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1682,8 +1682,8 @@ impl ISpRecoGrammar_Vtbl { GetGrammarState: GetGrammarState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_Urlmon\"`"] @@ -1755,8 +1755,8 @@ impl ISpRecoGrammar2_Vtbl { SetSMLSecurityManager: SetSMLSecurityManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1833,8 +1833,8 @@ impl ISpRecoResult_Vtbl { GetRecoContext: GetRecoContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1877,8 +1877,8 @@ impl ISpRecoResult2_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -2036,8 +2036,8 @@ impl ISpRecognizer_Vtbl { EmulateRecognition: EmulateRecognition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpRecognizer2_Impl: Sized { @@ -2070,8 +2070,8 @@ impl ISpRecognizer2_Vtbl { ResetAcousticModelAdaptation: ResetAcousticModelAdaptation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -2091,8 +2091,8 @@ impl ISpRegDataKey_Vtbl { } Self { base__: ISpDataKey_Vtbl::new::(), SetKey: SetKey:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2122,8 +2122,8 @@ impl ISpResourceManager_Vtbl { GetObject: GetObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISpSerializeState_Impl: Sized { @@ -2149,8 +2149,8 @@ impl ISpSerializeState_Vtbl { SetSerializedState: SetSerializedState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpShortcut_Impl: Sized { @@ -2224,8 +2224,8 @@ impl ISpShortcut_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -2275,8 +2275,8 @@ impl ISpStream_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -2302,8 +2302,8 @@ impl ISpStreamFormat_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), GetFormat: GetFormat:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`"] @@ -2379,8 +2379,8 @@ impl ISpStreamFormatConverter_Vtbl { ScaleBaseToConvertedOffset: ScaleBaseToConvertedOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISpTranscript_Impl: Sized { @@ -2412,8 +2412,8 @@ impl ISpTranscript_Vtbl { AppendTranscript: AppendTranscript::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2622,8 +2622,8 @@ impl ISpVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2653,8 +2653,8 @@ impl ISpXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2769,8 +2769,8 @@ impl ISpeechAudio_Vtbl { SetState: SetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2846,8 +2846,8 @@ impl ISpeechAudioBufferInfo_Vtbl { SetEventBias: SetEventBias::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2923,8 +2923,8 @@ impl ISpeechAudioFormat_Vtbl { SetWaveFormatEx: SetWaveFormatEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3005,8 +3005,8 @@ impl ISpeechAudioStatus_Vtbl { CurrentDevicePosition: CurrentDevicePosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3075,8 +3075,8 @@ impl ISpeechBaseStream_Vtbl { Seek: Seek::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3112,8 +3112,8 @@ impl ISpeechCustomStream_Vtbl { putref_BaseStream: putref_BaseStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3255,8 +3255,8 @@ impl ISpeechDataKey_Vtbl { EnumValues: EnumValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3282,8 +3282,8 @@ impl ISpeechFileStream_Vtbl { } Self { base__: ISpeechBaseStream_Vtbl::new::(), Open: Open::, Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3378,8 +3378,8 @@ impl ISpeechGrammarRule_Vtbl { AddState: AddState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3442,8 +3442,8 @@ impl ISpeechGrammarRuleState_Vtbl { AddSpecialTransition: AddSpecialTransition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3563,8 +3563,8 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { NextState: NextState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3619,8 +3619,8 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3728,8 +3728,8 @@ impl ISpeechGrammarRules_Vtbl { CommitAndSave: CommitAndSave::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3813,8 +3813,8 @@ impl ISpeechLexicon_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3895,8 +3895,8 @@ impl ISpeechLexiconPronunciation_Vtbl { Symbolic: Symbolic::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3951,8 +3951,8 @@ impl ISpeechLexiconPronunciations_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4020,8 +4020,8 @@ impl ISpeechLexiconWord_Vtbl { Pronunciations: Pronunciations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4076,8 +4076,8 @@ impl ISpeechLexiconWords_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4146,8 +4146,8 @@ impl ISpeechMMSysAudio_Vtbl { MMHandle: MMHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4183,8 +4183,8 @@ impl ISpeechMemoryStream_Vtbl { GetData: GetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4345,8 +4345,8 @@ impl ISpeechObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4428,8 +4428,8 @@ impl ISpeechObjectTokenCategory_Vtbl { EnumerateTokens: EnumerateTokens::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4484,8 +4484,8 @@ impl ISpeechObjectTokens_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4547,8 +4547,8 @@ impl ISpeechPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4623,8 +4623,8 @@ impl ISpeechPhraseAlternate_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4679,8 +4679,8 @@ impl ISpeechPhraseAlternates_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4865,8 +4865,8 @@ impl ISpeechPhraseElement_Vtbl { EngineConfidence: EngineConfidence::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4921,8 +4921,8 @@ impl ISpeechPhraseElements_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5146,8 +5146,8 @@ impl ISpeechPhraseInfo_Vtbl { GetDisplayAttributes: GetDisplayAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5176,8 +5176,8 @@ impl ISpeechPhraseInfoBuilder_Vtbl { RestorePhraseFromMemory: RestorePhraseFromMemory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5232,8 +5232,8 @@ impl ISpeechPhraseProperties_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5366,8 +5366,8 @@ impl ISpeechPhraseProperty_Vtbl { Children: Children::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5435,8 +5435,8 @@ impl ISpeechPhraseReplacement_Vtbl { NumberOfElements: NumberOfElements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5491,8 +5491,8 @@ impl ISpeechPhraseReplacements_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5612,8 +5612,8 @@ impl ISpeechPhraseRule_Vtbl { EngineConfidence: EngineConfidence::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5668,8 +5668,8 @@ impl ISpeechPhraseRules_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5938,8 +5938,8 @@ impl ISpeechRecoContext_Vtbl { SetAdaptationData: SetAdaptationData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6118,8 +6118,8 @@ impl ISpeechRecoGrammar_Vtbl { IsPronounceable: IsPronounceable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6253,8 +6253,8 @@ impl ISpeechRecoResult_Vtbl { DiscardResultInfo: DiscardResultInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6274,8 +6274,8 @@ impl ISpeechRecoResult2_Vtbl { } Self { base__: ISpeechRecoResult_Vtbl::new::(), SetTextFeedback: SetTextFeedback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6436,8 +6436,8 @@ impl ISpeechRecoResultDispatch_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6505,8 +6505,8 @@ impl ISpeechRecoResultTimes_Vtbl { OffsetFromStart: OffsetFromStart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6800,8 +6800,8 @@ impl ISpeechRecognizer_Vtbl { GetProfiles: GetProfiles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6895,8 +6895,8 @@ impl ISpeechRecognizerStatus_Vtbl { SupportedLanguages: SupportedLanguages::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6933,8 +6933,8 @@ impl ISpeechResourceLoader_Vtbl { ReleaseLocalCopy: ReleaseLocalCopy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7030,8 +7030,8 @@ impl ISpeechTextSelectionInformation_Vtbl { SelectionLength: SelectionLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7385,8 +7385,8 @@ impl ISpeechVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7558,8 +7558,8 @@ impl ISpeechVoiceStatus_Vtbl { VisemeId: VisemeId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7715,8 +7715,8 @@ impl ISpeechWaveFormatEx_Vtbl { SetExtraData: SetExtraData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7752,8 +7752,8 @@ impl ISpeechXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7766,8 +7766,8 @@ impl _ISpeechRecoContextEvents_Vtbl { pub const fn new, Impl: _ISpeechRecoContextEvents_Impl, const OFFSET: isize>() -> _ISpeechRecoContextEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7780,7 +7780,7 @@ impl _ISpeechVoiceEvents_Vtbl { pub const fn new, Impl: _ISpeechVoiceEvents_Impl, const OFFSET: isize>() -> _ISpeechVoiceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs index 4663041cb2..5c35b07dc5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs @@ -91,8 +91,8 @@ impl INSNetSourceCreator_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INSSBuffer_Impl: Sized { @@ -157,8 +157,8 @@ impl INSSBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INSSBuffer2_Impl: Sized + INSSBuffer_Impl { @@ -190,8 +190,8 @@ impl INSSBuffer2_Vtbl { SetSampleProperties: SetSampleProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait INSSBuffer3_Impl: Sized + INSSBuffer2_Impl { @@ -217,8 +217,8 @@ impl INSSBuffer3_Vtbl { GetProperty: GetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait INSSBuffer4_Impl: Sized + INSSBuffer3_Impl { @@ -250,8 +250,8 @@ impl INSSBuffer4_Vtbl { GetPropertyByIndex: GetPropertyByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMAddressAccess_Impl: Sized { @@ -303,8 +303,8 @@ impl IWMAddressAccess_Vtbl { RemoveAccessEntry: RemoveAccessEntry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMAddressAccess2_Impl: Sized + IWMAddressAccess_Impl { @@ -330,8 +330,8 @@ impl IWMAddressAccess2_Vtbl { AddAccessEntryEx: AddAccessEntryEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMAuthorizer_Impl: Sized { @@ -382,8 +382,8 @@ impl IWMAuthorizer_Vtbl { GetSharedData: GetSharedData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMBackupRestoreProps_Impl: Sized { @@ -443,8 +443,8 @@ impl IWMBackupRestoreProps_Vtbl { RemoveAllProps: RemoveAllProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMBandwidthSharing_Impl: Sized + IWMStreamList_Impl { @@ -490,8 +490,8 @@ impl IWMBandwidthSharing_Vtbl { SetBandwidth: SetBandwidth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMClientConnections_Impl: Sized { @@ -529,8 +529,8 @@ impl IWMClientConnections_Vtbl { GetClientProperties: GetClientProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMClientConnections2_Impl: Sized + IWMClientConnections_Impl { @@ -546,8 +546,8 @@ impl IWMClientConnections2_Vtbl { } Self { base__: IWMClientConnections_Vtbl::new::(), GetClientInfo: GetClientInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMCodecInfo_Impl: Sized { @@ -598,8 +598,8 @@ impl IWMCodecInfo_Vtbl { GetCodecFormat: GetCodecFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMCodecInfo2_Impl: Sized + IWMCodecInfo_Impl { @@ -625,8 +625,8 @@ impl IWMCodecInfo2_Vtbl { GetCodecFormatDesc: GetCodecFormatDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMCodecInfo3_Impl: Sized + IWMCodecInfo2_Impl { @@ -666,8 +666,8 @@ impl IWMCodecInfo3_Vtbl { GetCodecEnumerationSetting: GetCodecEnumerationSetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMCredentialCallback_Impl: Sized { @@ -683,8 +683,8 @@ impl IWMCredentialCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcquireCredentials: AcquireCredentials:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMEditor_Impl: Sized { @@ -700,8 +700,8 @@ impl IWMDRMEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDRMProperty: GetDRMProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMMessageParser_Impl: Sized { @@ -727,8 +727,8 @@ impl IWMDRMMessageParser_Vtbl { ParseLicenseRequestMsg: ParseLicenseRequestMsg::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMReader_Impl: Sized { @@ -796,8 +796,8 @@ impl IWMDRMReader_Vtbl { GetDRMProperty: GetDRMProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMReader2_Impl: Sized + IWMDRMReader_Impl { @@ -837,8 +837,8 @@ impl IWMDRMReader2_Vtbl { TryNextLicense: TryNextLicense::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDRMReader3_Impl: Sized + IWMDRMReader2_Impl { @@ -854,8 +854,8 @@ impl IWMDRMReader3_Vtbl { } Self { base__: IWMDRMReader2_Vtbl::new::(), GetInclusionList: GetInclusionList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMDRMTranscryptionManager_Impl: Sized { @@ -877,8 +877,8 @@ impl IWMDRMTranscryptionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTranscryptor: CreateTranscryptor:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMTranscryptor_Impl: Sized { @@ -918,8 +918,8 @@ impl IWMDRMTranscryptor_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMTranscryptor2_Impl: Sized + IWMDRMTranscryptor_Impl { @@ -971,8 +971,8 @@ impl IWMDRMTranscryptor2_Vtbl { GetDuration: GetDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDRMWriter_Impl: Sized { @@ -1012,8 +1012,8 @@ impl IWMDRMWriter_Vtbl { SetDRMAttribute: SetDRMAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMDRMWriter2_Impl: Sized + IWMDRMWriter_Impl { @@ -1029,8 +1029,8 @@ impl IWMDRMWriter2_Vtbl { } Self { base__: IWMDRMWriter_Vtbl::new::(), SetWMDRMNetEncryption: SetWMDRMNetEncryption:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMDRMWriter3_Impl: Sized + IWMDRMWriter2_Impl { @@ -1046,8 +1046,8 @@ impl IWMDRMWriter3_Vtbl { } Self { base__: IWMDRMWriter2_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMDeviceRegistration_Impl: Sized { @@ -1131,8 +1131,8 @@ impl IWMDeviceRegistration_Vtbl { GetRegisteredDeviceByID: GetRegisteredDeviceByID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMGetSecureChannel_Impl: Sized { @@ -1157,8 +1157,8 @@ impl IWMGetSecureChannel_Vtbl { GetPeerSecureChannelInterface: GetPeerSecureChannelInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMHeaderInfo_Impl: Sized { @@ -1272,8 +1272,8 @@ impl IWMHeaderInfo_Vtbl { RemoveScript: RemoveScript::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMHeaderInfo2_Impl: Sized + IWMHeaderInfo_Impl { @@ -1305,8 +1305,8 @@ impl IWMHeaderInfo2_Vtbl { GetCodecInfo: GetCodecInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMHeaderInfo3_Impl: Sized + IWMHeaderInfo2_Impl { @@ -1373,8 +1373,8 @@ impl IWMHeaderInfo3_Vtbl { AddCodecInfo: AddCodecInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMIStreamProps_Impl: Sized { @@ -1390,8 +1390,8 @@ impl IWMIStreamProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMImageInfo_Impl: Sized { @@ -1423,8 +1423,8 @@ impl IWMImageInfo_Vtbl { GetImage: GetImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMIndexer_Impl: Sized { @@ -1450,8 +1450,8 @@ impl IWMIndexer_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMIndexer2_Impl: Sized + IWMIndexer_Impl { @@ -1467,8 +1467,8 @@ impl IWMIndexer2_Vtbl { } Self { base__: IWMIndexer_Vtbl::new::(), Configure: Configure:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMInputMediaProps_Impl: Sized + IWMMediaProps_Impl { @@ -1494,8 +1494,8 @@ impl IWMInputMediaProps_Vtbl { GetGroupName: GetGroupName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMLanguageList_Impl: Sized { @@ -1540,8 +1540,8 @@ impl IWMLanguageList_Vtbl { AddLanguageByRFC1766String: AddLanguageByRFC1766String::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMLicenseBackup_Impl: Sized { @@ -1567,8 +1567,8 @@ impl IWMLicenseBackup_Vtbl { CancelLicenseBackup: CancelLicenseBackup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMLicenseRestore_Impl: Sized { @@ -1594,8 +1594,8 @@ impl IWMLicenseRestore_Vtbl { CancelLicenseRestore: CancelLicenseRestore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMLicenseRevocationAgent_Impl: Sized { @@ -1621,8 +1621,8 @@ impl IWMLicenseRevocationAgent_Vtbl { ProcessLRB: ProcessLRB::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMMediaProps_Impl: Sized { @@ -1661,8 +1661,8 @@ impl IWMMediaProps_Vtbl { SetMediaType: SetMediaType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMMetadataEditor_Impl: Sized { @@ -1695,8 +1695,8 @@ impl IWMMetadataEditor_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMMetadataEditor2_Impl: Sized + IWMMetadataEditor_Impl { @@ -1712,8 +1712,8 @@ impl IWMMetadataEditor2_Vtbl { } Self { base__: IWMMetadataEditor_Vtbl::new::(), OpenEx: OpenEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMMutualExclusion_Impl: Sized + IWMStreamList_Impl { @@ -1745,8 +1745,8 @@ impl IWMMutualExclusion_Vtbl { SetType: SetType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMMutualExclusion2_Impl: Sized + IWMMutualExclusion_Impl { @@ -1834,8 +1834,8 @@ impl IWMMutualExclusion2_Vtbl { RemoveStreamForRecord: RemoveStreamForRecord::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMOutputMediaProps_Impl: Sized + IWMMediaProps_Impl { @@ -1861,8 +1861,8 @@ impl IWMOutputMediaProps_Vtbl { GetConnectionName: GetConnectionName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPacketSize_Impl: Sized { @@ -1894,8 +1894,8 @@ impl IWMPacketSize_Vtbl { SetMaxPacketSize: SetMaxPacketSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPacketSize2_Impl: Sized + IWMPacketSize_Impl { @@ -1927,8 +1927,8 @@ impl IWMPacketSize2_Vtbl { SetMinPacketSize: SetMinPacketSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMPlayerHook_Impl: Sized { @@ -1944,8 +1944,8 @@ impl IWMPlayerHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PreDecode: PreDecode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPlayerTimestampHook_Impl: Sized { @@ -1967,8 +1967,8 @@ impl IWMPlayerTimestampHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapTimestamp: MapTimestamp:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMProfile_Impl: Sized { @@ -2154,8 +2154,8 @@ impl IWMProfile_Vtbl { CreateNewMutualExclusion: CreateNewMutualExclusion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMProfile2_Impl: Sized + IWMProfile_Impl { @@ -2177,8 +2177,8 @@ impl IWMProfile2_Vtbl { } Self { base__: IWMProfile_Vtbl::new::(), GetProfileID: GetProfileID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMProfile3_Impl: Sized + IWMProfile2_Impl { @@ -2316,8 +2316,8 @@ impl IWMProfile3_Vtbl { GetExpectedPacketCount: GetExpectedPacketCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMProfileManager_Impl: Sized { @@ -2401,8 +2401,8 @@ impl IWMProfileManager_Vtbl { LoadSystemProfile: LoadSystemProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMProfileManager2_Impl: Sized + IWMProfileManager_Impl { @@ -2428,8 +2428,8 @@ impl IWMProfileManager2_Vtbl { SetSystemProfileVersion: SetSystemProfileVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMProfileManagerLanguage_Impl: Sized { @@ -2455,8 +2455,8 @@ impl IWMProfileManagerLanguage_Vtbl { SetUserLanguageID: SetUserLanguageID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMPropertyVault_Impl: Sized { @@ -2510,8 +2510,8 @@ impl IWMPropertyVault_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMProximityDetection_Impl: Sized { @@ -2527,8 +2527,8 @@ impl IWMProximityDetection_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDetection: StartDetection:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReader_Impl: Sized { @@ -2641,8 +2641,8 @@ impl IWMReader_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderAccelerator_Impl: Sized { @@ -2668,8 +2668,8 @@ impl IWMReaderAccelerator_Vtbl { Notify: Notify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderAdvanced_Impl: Sized { @@ -2875,8 +2875,8 @@ impl IWMReaderAdvanced_Vtbl { NotifyLateDelivery: NotifyLateDelivery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3015,8 +3015,8 @@ impl IWMReaderAdvanced2_Vtbl { OpenStream: OpenStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3046,8 +3046,8 @@ impl IWMReaderAdvanced3_Vtbl { StartAtPosition: StartAtPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3150,8 +3150,8 @@ impl IWMReaderAdvanced4_Vtbl { GetURL: GetURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3171,8 +3171,8 @@ impl IWMReaderAdvanced5_Vtbl { } Self { base__: IWMReaderAdvanced4_Vtbl::new::(), SetPlayerHook: SetPlayerHook:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3192,8 +3192,8 @@ impl IWMReaderAdvanced6_Vtbl { } Self { base__: IWMReaderAdvanced5_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMReaderAllocatorEx_Impl: Sized { @@ -3219,8 +3219,8 @@ impl IWMReaderAllocatorEx_Vtbl { AllocateForOutputEx: AllocateForOutputEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderCallback_Impl: Sized + IWMStatusCallback_Impl { @@ -3236,8 +3236,8 @@ impl IWMReaderCallback_Vtbl { } Self { base__: IWMStatusCallback_Vtbl::new::(), OnSample: OnSample:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMReaderCallbackAdvanced_Impl: Sized { @@ -3291,8 +3291,8 @@ impl IWMReaderCallbackAdvanced_Vtbl { AllocateForOutput: AllocateForOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderNetworkConfig_Impl: Sized { @@ -3607,8 +3607,8 @@ impl IWMReaderNetworkConfig_Vtbl { ResetLoggingUrlList: ResetLoggingUrlList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderNetworkConfig2_Impl: Sized + IWMReaderNetworkConfig_Impl { @@ -3753,8 +3753,8 @@ impl IWMReaderNetworkConfig2_Vtbl { GetMaxNetPacketSize: GetMaxNetPacketSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMReaderPlaylistBurn_Impl: Sized { @@ -3800,8 +3800,8 @@ impl IWMReaderPlaylistBurn_Vtbl { EndPlaylistBurn: EndPlaylistBurn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderStreamClock_Impl: Sized { @@ -3840,8 +3840,8 @@ impl IWMReaderStreamClock_Vtbl { KillTimer: KillTimer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderTimecode_Impl: Sized { @@ -3873,8 +3873,8 @@ impl IWMReaderTimecode_Vtbl { GetTimecodeRangeBounds: GetTimecodeRangeBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMReaderTypeNegotiation_Impl: Sized { @@ -3890,8 +3890,8 @@ impl IWMReaderTypeNegotiation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TryOutputProps: TryOutputProps:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMRegisterCallback_Impl: Sized { @@ -3917,8 +3917,8 @@ impl IWMRegisterCallback_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMRegisteredDevice_Impl: Sized { @@ -4082,8 +4082,8 @@ impl IWMRegisteredDevice_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMSBufferAllocator_Impl: Sized { @@ -4121,8 +4121,8 @@ impl IWMSBufferAllocator_Vtbl { AllocatePageSizeBuffer: AllocatePageSizeBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMSInternalAdminNetSource_Impl: Sized { @@ -4229,8 +4229,8 @@ impl IWMSInternalAdminNetSource_Vtbl { IsUsingIE: IsUsingIE::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMSInternalAdminNetSource2_Impl: Sized { @@ -4270,8 +4270,8 @@ impl IWMSInternalAdminNetSource2_Vtbl { FindProxyForURLEx: FindProxyForURLEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMSInternalAdminNetSource3_Impl: Sized + IWMSInternalAdminNetSource2_Impl { @@ -4344,8 +4344,8 @@ impl IWMSInternalAdminNetSource3_Vtbl { GetCredentialsEx2: GetCredentialsEx2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMSecureChannel_Impl: Sized + IWMAuthorizer_Impl { @@ -4440,8 +4440,8 @@ impl IWMSecureChannel_Vtbl { WMSC_SetSharedData: WMSC_SetSharedData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMStatusCallback_Impl: Sized { @@ -4457,8 +4457,8 @@ impl IWMStatusCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatus: OnStatus:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMStreamConfig_Impl: Sized { @@ -4571,8 +4571,8 @@ impl IWMStreamConfig_Vtbl { SetBufferWindow: SetBufferWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMStreamConfig2_Impl: Sized + IWMStreamConfig_Impl { @@ -4638,8 +4638,8 @@ impl IWMStreamConfig2_Vtbl { RemoveAllDataUnitExtensions: RemoveAllDataUnitExtensions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMStreamConfig3_Impl: Sized + IWMStreamConfig2_Impl { @@ -4665,8 +4665,8 @@ impl IWMStreamConfig3_Vtbl { SetLanguage: SetLanguage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMStreamList_Impl: Sized { @@ -4699,8 +4699,8 @@ impl IWMStreamList_Vtbl { RemoveStream: RemoveStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMStreamPrioritization_Impl: Sized { @@ -4726,8 +4726,8 @@ impl IWMStreamPrioritization_Vtbl { SetPriorityRecords: SetPriorityRecords::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4950,8 +4950,8 @@ impl IWMSyncReader_Vtbl { OpenStream: OpenStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5027,8 +5027,8 @@ impl IWMSyncReader2_Vtbl { GetAllocateForStream: GetAllocateForStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMVideoMediaProps_Impl: Sized + IWMMediaProps_Impl { @@ -5080,8 +5080,8 @@ impl IWMVideoMediaProps_Vtbl { SetQuality: SetQuality::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWatermarkInfo_Impl: Sized { @@ -5113,8 +5113,8 @@ impl IWMWatermarkInfo_Vtbl { GetWatermarkEntry: GetWatermarkEntry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMWriter_Impl: Sized { @@ -5247,8 +5247,8 @@ impl IWMWriter_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMWriterAdvanced_Impl: Sized { @@ -5367,8 +5367,8 @@ impl IWMWriterAdvanced_Vtbl { GetSyncTolerance: GetSyncTolerance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMWriterAdvanced2_Impl: Sized + IWMWriterAdvanced_Impl { @@ -5394,8 +5394,8 @@ impl IWMWriterAdvanced2_Vtbl { SetInputSetting: SetInputSetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWriterAdvanced3_Impl: Sized + IWMWriterAdvanced2_Impl { @@ -5421,8 +5421,8 @@ impl IWMWriterAdvanced3_Vtbl { SetNonBlocking: SetNonBlocking::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMWriterFileSink_Impl: Sized + IWMWriterSink_Impl { @@ -5438,8 +5438,8 @@ impl IWMWriterFileSink_Vtbl { } Self { base__: IWMWriterSink_Vtbl::new::(), Open: Open:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWriterFileSink2_Impl: Sized + IWMWriterFileSink_Impl { @@ -5524,8 +5524,8 @@ impl IWMWriterFileSink2_Vtbl { IsClosed: IsClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMWriterFileSink3_Impl: Sized + IWMWriterFileSink2_Impl { @@ -5611,8 +5611,8 @@ impl IWMWriterFileSink3_Vtbl { CompleteOperations: CompleteOperations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWMWriterNetworkSink_Impl: Sized + IWMWriterSink_Impl { @@ -5692,8 +5692,8 @@ impl IWMWriterNetworkSink_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWriterPostView_Impl: Sized { @@ -5798,8 +5798,8 @@ impl IWMWriterPostView_Vtbl { GetAllocateForPostView: GetAllocateForPostView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMWriterPostViewCallback_Impl: Sized + IWMStatusCallback_Impl { @@ -5825,8 +5825,8 @@ impl IWMWriterPostViewCallback_Vtbl { AllocateForPostView: AllocateForPostView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWriterPreprocess_Impl: Sized { @@ -5879,8 +5879,8 @@ impl IWMWriterPreprocess_Vtbl { EndPreprocessingPass: EndPreprocessingPass::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWMWriterPushSink_Impl: Sized + IWMWriterSink_Impl { @@ -5913,8 +5913,8 @@ impl IWMWriterPushSink_Vtbl { EndSession: EndSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWMWriterSink_Impl: Sized { @@ -5973,7 +5973,7 @@ impl IWMWriterSink_Vtbl { OnEndWriting: OnEndWriting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/impl.rs index ef0b15e61a..f4c82b0f51 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/impl.rs @@ -53,8 +53,8 @@ impl IReferenceClock_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IReferenceClock2_Impl: Sized + IReferenceClock_Impl {} @@ -63,8 +63,8 @@ impl IReferenceClock2_Vtbl { pub const fn new, Impl: IReferenceClock2_Impl, const OFFSET: isize>() -> IReferenceClock2_Vtbl { Self { base__: IReferenceClock_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IReferenceClockTimerControl_Impl: Sized { @@ -96,7 +96,7 @@ impl IReferenceClockTimerControl_Vtbl { GetDefaultTimerResolution: GetDefaultTimerResolution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs index f06873371e..8d60756d0d 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs @@ -8,8 +8,8 @@ impl IDummyMBNUCMExt_Vtbl { pub const fn new, Impl: IDummyMBNUCMExt_Impl, const OFFSET: isize>() -> IDummyMBNUCMExt_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMbnConnection_Impl: Sized { @@ -106,8 +106,8 @@ impl IMbnConnection_Vtbl { GetActivationNetworkError: GetActivationNetworkError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -149,8 +149,8 @@ impl IMbnConnectionContext_Vtbl { SetProvisionedContext: SetProvisionedContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionContextEvents_Impl: Sized { @@ -176,8 +176,8 @@ impl IMbnConnectionContextEvents_Vtbl { OnSetProvisionedContextComplete: OnSetProvisionedContextComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionEvents_Impl: Sized { @@ -217,8 +217,8 @@ impl IMbnConnectionEvents_Vtbl { OnVoiceCallStateChange: OnVoiceCallStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -260,8 +260,8 @@ impl IMbnConnectionManager_Vtbl { GetConnections: GetConnections::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionManagerEvents_Impl: Sized { @@ -287,8 +287,8 @@ impl IMbnConnectionManagerEvents_Vtbl { OnConnectionRemoval: OnConnectionRemoval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionProfile_Impl: Sized { @@ -327,8 +327,8 @@ impl IMbnConnectionProfile_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionProfileEvents_Impl: Sized { @@ -344,8 +344,8 @@ impl IMbnConnectionProfileEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProfileUpdate: OnProfileUpdate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -394,8 +394,8 @@ impl IMbnConnectionProfileManager_Vtbl { CreateConnectionProfile: CreateConnectionProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnConnectionProfileManagerEvents_Impl: Sized { @@ -421,8 +421,8 @@ impl IMbnConnectionProfileManagerEvents_Vtbl { OnConnectionProfileRemoval: OnConnectionProfileRemoval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -594,8 +594,8 @@ impl IMbnDeviceService_Vtbl { IsDataSessionOpen: IsDataSessionOpen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnDeviceServiceStateEvents_Impl: Sized { @@ -611,8 +611,8 @@ impl IMbnDeviceServiceStateEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionsStateChange: OnSessionsStateChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -680,8 +680,8 @@ impl IMbnDeviceServicesContext_Vtbl { MaxDataSize: MaxDataSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -774,8 +774,8 @@ impl IMbnDeviceServicesEvents_Vtbl { OnInterfaceStateChange: OnInterfaceStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnDeviceServicesManager_Impl: Sized { @@ -797,8 +797,8 @@ impl IMbnDeviceServicesManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceServicesContext: GetDeviceServicesContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -945,8 +945,8 @@ impl IMbnInterface_Vtbl { GetConnection: GetConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnInterfaceEvents_Impl: Sized { @@ -1014,8 +1014,8 @@ impl IMbnInterfaceEvents_Vtbl { OnScanNetworkComplete: OnScanNetworkComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1057,8 +1057,8 @@ impl IMbnInterfaceManager_Vtbl { GetInterfaces: GetInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnInterfaceManagerEvents_Impl: Sized { @@ -1084,8 +1084,8 @@ impl IMbnInterfaceManagerEvents_Vtbl { OnInterfaceRemoval: OnInterfaceRemoval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1173,8 +1173,8 @@ impl IMbnMultiCarrier_Vtbl { ScanNetwork: ScanNetwork::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnMultiCarrierEvents_Impl: Sized { @@ -1221,8 +1221,8 @@ impl IMbnMultiCarrierEvents_Vtbl { OnInterfaceCapabilityChange: OnInterfaceCapabilityChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnPin_Impl: Sized { @@ -1377,8 +1377,8 @@ impl IMbnPin_Vtbl { GetPinManager: GetPinManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnPinEvents_Impl: Sized { @@ -1425,8 +1425,8 @@ impl IMbnPinEvents_Vtbl { OnUnblockComplete: OnUnblockComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1481,8 +1481,8 @@ impl IMbnPinManager_Vtbl { GetPinState: GetPinState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnPinManagerEvents_Impl: Sized { @@ -1508,8 +1508,8 @@ impl IMbnPinManagerEvents_Vtbl { OnGetPinStateComplete: OnGetPinStateComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnRadio_Impl: Sized { @@ -1560,8 +1560,8 @@ impl IMbnRadio_Vtbl { SetSoftwareRadioState: SetSoftwareRadioState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnRadioEvents_Impl: Sized { @@ -1587,8 +1587,8 @@ impl IMbnRadioEvents_Vtbl { OnSetSoftwareRadioStateComplete: OnSetSoftwareRadioStateComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnRegistration_Impl: Sized { @@ -1730,8 +1730,8 @@ impl IMbnRegistration_Vtbl { SetRegisterMode: SetRegisterMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnRegistrationEvents_Impl: Sized { @@ -1771,8 +1771,8 @@ impl IMbnRegistrationEvents_Vtbl { OnSetRegisterModeComplete: OnSetRegisterModeComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1798,8 +1798,8 @@ impl IMbnServiceActivation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1819,8 +1819,8 @@ impl IMbnServiceActivationEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivationComplete: OnActivationComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnSignal_Impl: Sized { @@ -1858,8 +1858,8 @@ impl IMbnSignal_Vtbl { GetSignalError: GetSignalError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnSignalEvents_Impl: Sized { @@ -1875,8 +1875,8 @@ impl IMbnSignalEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSignalStateChange: OnSignalStateChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1996,8 +1996,8 @@ impl IMbnSms_Vtbl { GetSmsStatus: GetSmsStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMbnSmsConfiguration_Impl: Sized { @@ -2075,8 +2075,8 @@ impl IMbnSmsConfiguration_Vtbl { SetSmsFormat: SetSmsFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2141,8 +2141,8 @@ impl IMbnSmsEvents_Vtbl { OnSmsStatusChange: OnSmsStatusChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2210,8 +2210,8 @@ impl IMbnSmsReadMsgPdu_Vtbl { Message: Message::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2331,8 +2331,8 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { Message: Message::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2387,8 +2387,8 @@ impl IMbnSubscriberInformation_Vtbl { TelephoneNumbers: TelephoneNumbers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2418,8 +2418,8 @@ impl IMbnVendorSpecificEvents_Vtbl { OnSetVendorSpecificComplete: OnSetVendorSpecificComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2445,7 +2445,7 @@ impl IMbnVendorSpecificOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVendorSpecific: SetVendorSpecific:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs index 608ece42ef..b3da25b924 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs @@ -35,8 +35,8 @@ impl IEnumNetCfgBindingInterface_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumNetCfgBindingPath_Impl: Sized { @@ -76,8 +76,8 @@ impl IEnumNetCfgBindingPath_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumNetCfgComponent_Impl: Sized { @@ -117,8 +117,8 @@ impl IEnumNetCfgComponent_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfg_Impl: Sized { @@ -179,8 +179,8 @@ impl INetCfg_Vtbl { QueryNetCfgClass: QueryNetCfgClass::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgBindingInterface_Impl: Sized { @@ -213,8 +213,8 @@ impl INetCfgBindingInterface_Vtbl { GetLowerComponent: GetLowerComponent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgBindingPath_Impl: Sized { @@ -288,8 +288,8 @@ impl INetCfgBindingPath_Vtbl { EnumBindingInterfaces: EnumBindingInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgClass_Impl: Sized { @@ -315,8 +315,8 @@ impl INetCfgClass_Vtbl { EnumComponents: EnumComponents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgClassSetup_Impl: Sized { @@ -349,8 +349,8 @@ impl INetCfgClassSetup_Vtbl { DeInstall: DeInstall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgClassSetup2_Impl: Sized + INetCfgClassSetup_Impl { @@ -369,8 +369,8 @@ impl INetCfgClassSetup2_Vtbl { UpdateNonEnumeratedComponent: UpdateNonEnumeratedComponent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -482,8 +482,8 @@ impl INetCfgComponent_Vtbl { RaisePropertyUi: RaisePropertyUi::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentBindings_Impl: Sized { @@ -551,8 +551,8 @@ impl INetCfgComponentBindings_Vtbl { MoveAfter: MoveAfter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentControl_Impl: Sized { @@ -592,8 +592,8 @@ impl INetCfgComponentControl_Vtbl { CancelChanges: CancelChanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentNotifyBinding_Impl: Sized { @@ -619,8 +619,8 @@ impl INetCfgComponentNotifyBinding_Vtbl { NotifyBindingPath: NotifyBindingPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentNotifyGlobal_Impl: Sized { @@ -666,8 +666,8 @@ impl INetCfgComponentNotifyGlobal_Vtbl { SysNotifyComponent: SysNotifyComponent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentPropertyUi_Impl: Sized { @@ -721,8 +721,8 @@ impl INetCfgComponentPropertyUi_Vtbl { CancelProperties: CancelProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentSetup_Impl: Sized { @@ -762,8 +762,8 @@ impl INetCfgComponentSetup_Vtbl { Removing: Removing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentSysPrep_Impl: Sized { @@ -789,8 +789,8 @@ impl INetCfgComponentSysPrep_Vtbl { RestoreAdapterParameters: RestoreAdapterParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgComponentUpperEdge_Impl: Sized { @@ -823,8 +823,8 @@ impl INetCfgComponentUpperEdge_Vtbl { RemoveInterfacesFromAdapter: RemoveInterfacesFromAdapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgLock_Impl: Sized { @@ -857,8 +857,8 @@ impl INetCfgLock_Vtbl { IsWriteLocked: IsWriteLocked::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgPnpReconfigCallback_Impl: Sized { @@ -874,8 +874,8 @@ impl INetCfgPnpReconfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendPnpReconfig: SendPnpReconfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetCfgSysPrep_Impl: Sized { @@ -915,8 +915,8 @@ impl INetCfgSysPrep_Vtbl { HrSetupSetFirstMultiSzField: HrSetupSetFirstMultiSzField::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetLanConnectionUiInfo_Impl: Sized { @@ -938,8 +938,8 @@ impl INetLanConnectionUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceGuid: GetDeviceGuid:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetRasConnectionIpUiInfo_Impl: Sized { @@ -955,8 +955,8 @@ impl INetRasConnectionIpUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUiInfo: GetUiInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] @@ -988,8 +988,8 @@ impl IProvisioningDomain_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Query: Query:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProvisioningProfileWireless_Impl: Sized { @@ -1011,7 +1011,7 @@ impl IProvisioningProfileWireless_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProfile: CreateProfile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs index a79ab4e604..5ad2dab509 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs @@ -11,8 +11,8 @@ impl INetDiagExtensibleHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveAttributes: ResolveAttributes:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetDiagHelper_Impl: Sized { @@ -168,8 +168,8 @@ impl INetDiagHelper_Vtbl { Cleanup: Cleanup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetDiagHelperEx_Impl: Sized { @@ -202,8 +202,8 @@ impl INetDiagHelperEx_Vtbl { ReproduceFailure: ReproduceFailure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetDiagHelperInfo_Impl: Sized { @@ -219,8 +219,8 @@ impl INetDiagHelperInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAttributeInfo: GetAttributeInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetDiagHelperUtilFactory_Impl: Sized { @@ -236,7 +236,7 @@ impl INetDiagHelperUtilFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateUtilityInstance: CreateUtilityInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs index b44c99c0db..5a81c9d3d9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs @@ -78,8 +78,8 @@ impl ISdo_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -175,8 +175,8 @@ impl ISdoCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -245,8 +245,8 @@ impl ISdoDictionaryOld_Vtbl { GetAttributeID: GetAttributeID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -373,8 +373,8 @@ impl ISdoMachine_Vtbl { GetSDOSchema: GetSDOSchema::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -431,8 +431,8 @@ impl ISdoMachine2_Vtbl { Reload: Reload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -482,8 +482,8 @@ impl ISdoServiceControl_Vtbl { ResetService: ResetService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -520,7 +520,7 @@ impl ITemplateSdo_Vtbl { AddToSdoAsProperty: AddToSdoAsProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs index e38b856304..001618c411 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs @@ -94,8 +94,8 @@ impl IDot11AdHocInterface_Vtbl { GetStatus: GetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocInterfaceNotificationSink_Impl: Sized { @@ -111,8 +111,8 @@ impl IDot11AdHocInterfaceNotificationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionStatusChange: OnConnectionStatusChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocManager_Impl: Sized { @@ -183,8 +183,8 @@ impl IDot11AdHocManager_Vtbl { GetNetwork: GetNetwork::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocManagerNotificationSink_Impl: Sized { @@ -224,8 +224,8 @@ impl IDot11AdHocManagerNotificationSink_Vtbl { OnInterfaceRemove: OnInterfaceRemove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocNetwork_Impl: Sized { @@ -345,8 +345,8 @@ impl IDot11AdHocNetwork_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocNetworkNotificationSink_Impl: Sized { @@ -372,8 +372,8 @@ impl IDot11AdHocNetworkNotificationSink_Vtbl { OnConnectFail: OnConnectFail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDot11AdHocSecuritySettings_Impl: Sized { @@ -399,8 +399,8 @@ impl IDot11AdHocSecuritySettings_Vtbl { GetDot11CipherAlgorithm: GetDot11CipherAlgorithm::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDot11AdHocInterfaces_Impl: Sized { @@ -446,8 +446,8 @@ impl IEnumDot11AdHocInterfaces_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDot11AdHocNetworks_Impl: Sized { @@ -493,8 +493,8 @@ impl IEnumDot11AdHocNetworks_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDot11AdHocSecuritySettings_Impl: Sized { @@ -540,7 +540,7 @@ impl IEnumDot11AdHocSecuritySettings_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs index b87163dea5..af00c23398 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs @@ -21,8 +21,8 @@ impl IWCNConnectNotify_Vtbl { ConnectFailed: ConnectFailed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWCNDevice_Impl: Sized { @@ -117,7 +117,7 @@ impl IWCNDevice_Vtbl { SetNFCPasswordParams: SetNFCPasswordParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs index 61c8a4b198..7675eb0686 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs @@ -169,8 +169,8 @@ impl IDynamicPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -245,8 +245,8 @@ impl IDynamicPortMappingCollection_Vtbl { Add: Add::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnumNetConnection_Impl: Sized { @@ -292,8 +292,8 @@ impl IEnumNetConnection_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -343,8 +343,8 @@ impl IEnumNetSharingEveryConnection_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -394,8 +394,8 @@ impl IEnumNetSharingPortMapping_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -445,8 +445,8 @@ impl IEnumNetSharingPrivateConnection_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -496,8 +496,8 @@ impl IEnumNetSharingPublicConnection_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -527,8 +527,8 @@ impl INATEventManager_Vtbl { SetNumberOfEntriesCallback: SetNumberOfEntriesCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait INATExternalIPAddressCallback_Impl: Sized { @@ -544,8 +544,8 @@ impl INATExternalIPAddressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewExternalIPAddress: NewExternalIPAddress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INATNumberOfEntriesCallback_Impl: Sized { @@ -561,8 +561,8 @@ impl INATNumberOfEntriesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewNumberOfEntries: NewNumberOfEntries:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetConnection_Impl: Sized { @@ -641,8 +641,8 @@ impl INetConnection_Vtbl { Rename: Rename::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetConnectionConnectUi_Impl: Sized { @@ -675,8 +675,8 @@ impl INetConnectionConnectUi_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetConnectionManager_Impl: Sized { @@ -698,8 +698,8 @@ impl INetConnectionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumConnections: EnumConnections:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -793,8 +793,8 @@ impl INetConnectionProps_Vtbl { Characteristics: Characteristics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -930,8 +930,8 @@ impl INetFwAuthorizedApplication_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1000,8 +1000,8 @@ impl INetFwAuthorizedApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1217,8 +1217,8 @@ impl INetFwIcmpSettings_Vtbl { SetAllowOutboundPacketTooBig: SetAllowOutboundPacketTooBig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1281,8 +1281,8 @@ impl INetFwMgr_Vtbl { IsIcmpTypeAllowed: IsIcmpTypeAllowed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1451,8 +1451,8 @@ impl INetFwOpenPort_Vtbl { BuiltIn: BuiltIn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1521,8 +1521,8 @@ impl INetFwOpenPorts_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1564,8 +1564,8 @@ impl INetFwPolicy_Vtbl { GetProfileByType: GetProfileByType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1813,8 +1813,8 @@ impl INetFwPolicy2_Vtbl { LocalPolicyModifyState: LocalPolicyModifyState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1883,8 +1883,8 @@ impl INetFwProduct_Vtbl { PathToSignedProductExe: PathToSignedProductExe::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1952,8 +1952,8 @@ impl INetFwProducts_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2127,8 +2127,8 @@ impl INetFwProfile_Vtbl { AuthorizedApplications: AuthorizedApplications::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2224,8 +2224,8 @@ impl INetFwRemoteAdminSettings_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2601,8 +2601,8 @@ impl INetFwRule_Vtbl { SetAction: SetAction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2638,8 +2638,8 @@ impl INetFwRule2_Vtbl { SetEdgeTraversalOptions: SetEdgeTraversalOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2775,8 +2775,8 @@ impl INetFwRule3_Vtbl { SetSecureFlags: SetSecureFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2845,8 +2845,8 @@ impl INetFwRules_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2994,8 +2994,8 @@ impl INetFwService_Vtbl { GloballyOpenPorts: GloballyOpenPorts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3044,8 +3044,8 @@ impl INetFwServiceRestriction_Vtbl { Rules: Rules::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3100,8 +3100,8 @@ impl INetFwServices_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3217,8 +3217,8 @@ impl INetSharingConfiguration_Vtbl { RemovePortMapping: RemovePortMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3260,8 +3260,8 @@ impl INetSharingEveryConnectionCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3355,8 +3355,8 @@ impl INetSharingManager_Vtbl { get_NetConnectionProps: get_NetConnectionProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3406,8 +3406,8 @@ impl INetSharingPortMapping_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3449,8 +3449,8 @@ impl INetSharingPortMappingCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3570,8 +3570,8 @@ impl INetSharingPortMappingProps_Vtbl { Enabled: Enabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3613,8 +3613,8 @@ impl INetSharingPrivateConnectionCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3656,8 +3656,8 @@ impl INetSharingPublicConnectionCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3792,8 +3792,8 @@ impl IStaticPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3868,8 +3868,8 @@ impl IStaticPortMappingCollection_Vtbl { Add: Add::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3924,7 +3924,7 @@ impl IUPnPNAT_Vtbl { NATEventManager: NATEventManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index ec830570cc..657bd45b9a 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -150,8 +150,8 @@ impl IADs_Vtbl { GetInfoEx: GetInfoEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -330,8 +330,8 @@ impl IADsADSystemInfo_Vtbl { GetTrees: GetTrees::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -487,8 +487,8 @@ impl IADsAccessControlEntry_Vtbl { SetTrustee: SetTrustee::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -584,8 +584,8 @@ impl IADsAccessControlList_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -674,8 +674,8 @@ impl IADsAcl_Vtbl { CopyAcl: CopyAcl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IADsAggregatee_Impl: Sized { @@ -715,8 +715,8 @@ impl IADsAggregatee_Vtbl { RestoreInterface: RestoreInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IADsAggregator_Impl: Sized { @@ -742,8 +742,8 @@ impl IADsAggregator_Vtbl { DisconnectAsAggregator: DisconnectAsAggregator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -799,8 +799,8 @@ impl IADsBackLink_Vtbl { SetObjectName: SetObjectName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -836,8 +836,8 @@ impl IADsCaseIgnoreList_Vtbl { SetCaseIgnoreList: SetCaseIgnoreList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1159,8 +1159,8 @@ impl IADsClass_Vtbl { Qualifiers: Qualifiers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1216,8 +1216,8 @@ impl IADsCollection_Vtbl { GetObject: GetObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1559,8 +1559,8 @@ impl IADsComputer_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1592,8 +1592,8 @@ impl IADsComputerOperations_Vtbl { } Self { base__: IADs_Vtbl::new::(), Status: Status::, Shutdown: Shutdown:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1734,8 +1734,8 @@ impl IADsContainer_Vtbl { MoveHere: MoveHere::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1791,8 +1791,8 @@ impl IADsDNWithBinary_Vtbl { SetDNString: SetDNString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1848,8 +1848,8 @@ impl IADsDNWithString_Vtbl { SetDNString: SetDNString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1869,8 +1869,8 @@ impl IADsDeleteOps_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeleteObject: DeleteObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2059,8 +2059,8 @@ impl IADsDomain_Vtbl { SetLockoutObservationInterval: SetLockoutObservationInterval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2116,8 +2116,8 @@ impl IADsEmail_Vtbl { SetAddress: SetAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2160,8 +2160,8 @@ impl IADsExtension_Vtbl { PrivateInvoke: PrivateInvoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2217,8 +2217,8 @@ impl IADsFaxNumber_Vtbl { SetParameters: SetParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2274,8 +2274,8 @@ impl IADsFileService_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2317,8 +2317,8 @@ impl IADsFileServiceOperations_Vtbl { Resources: Resources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2427,8 +2427,8 @@ impl IADsFileShare_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2504,8 +2504,8 @@ impl IADsGroup_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2561,8 +2561,8 @@ impl IADsHold_Vtbl { SetAmount: SetAmount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2618,8 +2618,8 @@ impl IADsLargeInteger_Vtbl { SetLowPart: SetLowPart::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2715,8 +2715,8 @@ impl IADsLocality_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2778,8 +2778,8 @@ impl IADsMembers_Vtbl { SetFilter: SetFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2856,8 +2856,8 @@ impl IADsNameTranslate_Vtbl { GetEx: GetEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2893,8 +2893,8 @@ impl IADsNamespaces_Vtbl { SetDefaultContainer: SetDefaultContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2950,8 +2950,8 @@ impl IADsNetAddress_Vtbl { SetAddress: SetAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3087,8 +3087,8 @@ impl IADsO_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3244,8 +3244,8 @@ impl IADsOU_Vtbl { SetBusinessCategory: SetBusinessCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3281,8 +3281,8 @@ impl IADsObjectOptions_Vtbl { SetOption: SetOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3318,8 +3318,8 @@ impl IADsOctetList_Vtbl { SetOctetList: SetOctetList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3345,8 +3345,8 @@ impl IADsOpenDSObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OpenDSObject: OpenDSObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3422,8 +3422,8 @@ impl IADsPath_Vtbl { SetPath: SetPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3552,8 +3552,8 @@ impl IADsPathname_Vtbl { SetEscapedMode: SetEscapedMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3589,8 +3589,8 @@ impl IADsPostalAddress_Vtbl { SetPostalAddress: SetPostalAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3804,8 +3804,8 @@ impl IADsPrintJob_Vtbl { SetNotifyPath: SetNotifyPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3894,8 +3894,8 @@ impl IADsPrintJobOperations_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4171,8 +4171,8 @@ impl IADsPrintQueue_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4235,8 +4235,8 @@ impl IADsPrintQueueOperations_Vtbl { Purge: Purge::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4365,8 +4365,8 @@ impl IADsProperty_Vtbl { Qualifiers: Qualifiers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4469,8 +4469,8 @@ impl IADsPropertyEntry_Vtbl { SetValues: SetValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4567,8 +4567,8 @@ impl IADsPropertyList_Vtbl { PurgePropertyList: PurgePropertyList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4831,8 +4831,8 @@ impl IADsPropertyValue_Vtbl { SetUTCTime: SetUTCTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4862,8 +4862,8 @@ impl IADsPropertyValue2_Vtbl { PutObjectProperty: PutObjectProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4979,8 +4979,8 @@ impl IADsReplicaPointer_Vtbl { SetReplicaAddressHints: SetReplicaAddressHints::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5048,8 +5048,8 @@ impl IADsResource_Vtbl { LockCount: LockCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5278,8 +5278,8 @@ impl IADsSecurityDescriptor_Vtbl { CopySecurityDescriptor: CopySecurityDescriptor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5348,8 +5348,8 @@ impl IADsSecurityUtility_Vtbl { SetSecurityMask: SetSecurityMask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5605,8 +5605,8 @@ impl IADsService_Vtbl { SetDependencies: SetDependencies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5670,8 +5670,8 @@ impl IADsServiceOperations_Vtbl { SetPassword: SetPassword::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5765,8 +5765,8 @@ impl IADsSession_Vtbl { IdleTime: IdleTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5802,8 +5802,8 @@ impl IADsSyntax_Vtbl { SetOleAutoDataType: SetOleAutoDataType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5859,8 +5859,8 @@ impl IADsTimestamp_Vtbl { SetEventID: SetEventID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5936,8 +5936,8 @@ impl IADsTypedName_Vtbl { SetInterval: SetInterval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6878,8 +6878,8 @@ impl IADsUser_Vtbl { ChangePassword: ChangePassword::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6947,8 +6947,8 @@ impl IADsWinNTSystemInfo_Vtbl { PDC: PDC::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -6968,8 +6968,8 @@ impl ICommonQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenQueryWindow: OpenQueryWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7038,8 +7038,8 @@ impl IDirectoryObject_Vtbl { DeleteDSObject: DeleteDSObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectorySchemaMgmt_Impl: Sized { @@ -7107,8 +7107,8 @@ impl IDirectorySchemaMgmt_Vtbl { DeleteClassDefinition: DeleteClassDefinition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDirectorySearch_Impl: Sized { @@ -7196,8 +7196,8 @@ impl IDirectorySearch_Vtbl { CloseSearchHandle: CloseSearchHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7233,8 +7233,8 @@ impl IDsAdminCreateObj_Vtbl { CreateModal: CreateModal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDsAdminNewObj_Impl: Sized { @@ -7260,8 +7260,8 @@ impl IDsAdminNewObj_Vtbl { GetPageCounts: GetPageCounts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -7319,8 +7319,8 @@ impl IDsAdminNewObjExt_Vtbl { GetSummaryInfo: GetSummaryInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDsAdminNewObjPrimarySite_Impl: Sized { @@ -7346,8 +7346,8 @@ impl IDsAdminNewObjPrimarySite_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7391,8 +7391,8 @@ impl IDsAdminNotifyHandler_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDsBrowseDomainTree_Impl: Sized { @@ -7439,8 +7439,8 @@ impl IDsBrowseDomainTree_Vtbl { SetComputer: SetComputer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -7533,8 +7533,8 @@ impl IDsDisplaySpecifier_Vtbl { GetAttributeADsType: GetAttributeADsType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7570,8 +7570,8 @@ impl IDsObjectPicker_Vtbl { InvokeDialog: InvokeDialog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7591,8 +7591,8 @@ impl IDsObjectPickerCredentials_Vtbl { } Self { base__: IDsObjectPicker_Vtbl::new::(), SetCredentials: SetCredentials:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7657,8 +7657,8 @@ impl IPersistQuery_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7727,8 +7727,8 @@ impl IPrivateDispatch_Vtbl { ADSIInvoke: ADSIInvoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrivateUnknown_Impl: Sized { @@ -7754,8 +7754,8 @@ impl IPrivateUnknown_Vtbl { ADSIReleaseObject: ADSIReleaseObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -7792,7 +7792,7 @@ impl IQueryForm_Vtbl { AddPages: AddPages::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs index 67936d5190..b558f510ed 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs @@ -49,8 +49,8 @@ impl AsyncIBackgroundCopyCallback_Vtbl { Finish_JobModification: Finish_JobModification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -106,8 +106,8 @@ impl IBITSExtensionSetup_Vtbl { GetCleanupTask: GetCleanupTask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -133,8 +133,8 @@ impl IBITSExtensionSetupFactory_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), GetObject: GetObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyCallback_Impl: Sized { @@ -167,8 +167,8 @@ impl IBackgroundCopyCallback_Vtbl { JobModification: JobModification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyCallback1_Impl: Sized { @@ -201,8 +201,8 @@ impl IBackgroundCopyCallback1_Vtbl { OnProgressEx: OnProgressEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyCallback2_Impl: Sized + IBackgroundCopyCallback_Impl { @@ -218,8 +218,8 @@ impl IBackgroundCopyCallback2_Vtbl { } Self { base__: IBackgroundCopyCallback_Vtbl::new::(), FileTransferred: FileTransferred:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyCallback3_Impl: Sized + IBackgroundCopyCallback2_Impl { @@ -235,8 +235,8 @@ impl IBackgroundCopyCallback3_Vtbl { } Self { base__: IBackgroundCopyCallback2_Vtbl::new::(), FileRangesTransferred: FileRangesTransferred:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyError_Impl: Sized { @@ -307,8 +307,8 @@ impl IBackgroundCopyError_Vtbl { GetProtocol: GetProtocol::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyFile_Impl: Sized { @@ -353,8 +353,8 @@ impl IBackgroundCopyFile_Vtbl { GetProgress: GetProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyFile2_Impl: Sized + IBackgroundCopyFile_Impl { @@ -380,8 +380,8 @@ impl IBackgroundCopyFile2_Vtbl { SetRemoteName: SetRemoteName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyFile3_Impl: Sized + IBackgroundCopyFile2_Impl { @@ -439,8 +439,8 @@ impl IBackgroundCopyFile3_Vtbl { IsDownloadedFromPeer: IsDownloadedFromPeer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyFile4_Impl: Sized + IBackgroundCopyFile3_Impl { @@ -456,8 +456,8 @@ impl IBackgroundCopyFile4_Vtbl { } Self { base__: IBackgroundCopyFile3_Vtbl::new::(), GetPeerDownloadStats: GetPeerDownloadStats:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyFile5_Impl: Sized + IBackgroundCopyFile4_Impl { @@ -489,8 +489,8 @@ impl IBackgroundCopyFile5_Vtbl { GetProperty: GetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyFile6_Impl: Sized + IBackgroundCopyFile5_Impl { @@ -523,8 +523,8 @@ impl IBackgroundCopyFile6_Vtbl { GetFilledFileRanges: GetFilledFileRanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -693,8 +693,8 @@ impl IBackgroundCopyGroup_Vtbl { SetNotificationPointer: SetNotificationPointer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyJob_Impl: Sized { @@ -1014,8 +1014,8 @@ impl IBackgroundCopyJob_Vtbl { TakeOwnership: TakeOwnership::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyJob1_Impl: Sized { @@ -1107,8 +1107,8 @@ impl IBackgroundCopyJob1_Vtbl { JobID: JobID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyJob2_Impl: Sized + IBackgroundCopyJob_Impl { @@ -1182,8 +1182,8 @@ impl IBackgroundCopyJob2_Vtbl { RemoveCredentials: RemoveCredentials::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyJob3_Impl: Sized + IBackgroundCopyJob2_Impl { @@ -1229,8 +1229,8 @@ impl IBackgroundCopyJob3_Vtbl { GetFileACLFlags: GetFileACLFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyJob4_Impl: Sized + IBackgroundCopyJob3_Impl { @@ -1308,8 +1308,8 @@ impl IBackgroundCopyJob4_Vtbl { GetMaximumDownloadTime: GetMaximumDownloadTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyJob5_Impl: Sized + IBackgroundCopyJob4_Impl { @@ -1341,8 +1341,8 @@ impl IBackgroundCopyJob5_Vtbl { GetProperty: GetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyJobHttpOptions_Impl: Sized { @@ -1422,8 +1422,8 @@ impl IBackgroundCopyJobHttpOptions_Vtbl { GetSecurityFlags: GetSecurityFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyJobHttpOptions2_Impl: Sized + IBackgroundCopyJobHttpOptions_Impl { @@ -1455,8 +1455,8 @@ impl IBackgroundCopyJobHttpOptions2_Vtbl { GetHttpMethod: GetHttpMethod::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyJobHttpOptions3_Impl: Sized + IBackgroundCopyJobHttpOptions2_Impl { @@ -1482,8 +1482,8 @@ impl IBackgroundCopyJobHttpOptions3_Vtbl { MakeCustomHeadersWriteOnly: MakeCustomHeadersWriteOnly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IBackgroundCopyManager_Impl: Sized { @@ -1541,8 +1541,8 @@ impl IBackgroundCopyManager_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyQMgr_Impl: Sized { @@ -1593,8 +1593,8 @@ impl IBackgroundCopyQMgr_Vtbl { EnumGroups: EnumGroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBackgroundCopyServerCertificateValidationCallback_Impl: Sized { @@ -1610,8 +1610,8 @@ impl IBackgroundCopyServerCertificateValidationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ValidateServerCertificate: ValidateServerCertificate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBitsPeer_Impl: Sized { @@ -1662,8 +1662,8 @@ impl IBitsPeer_Vtbl { IsAvailable: IsAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBitsPeerCacheAdministration_Impl: Sized { @@ -1809,8 +1809,8 @@ impl IBitsPeerCacheAdministration_Vtbl { DiscoverPeers: DiscoverPeers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBitsPeerCacheRecord_Impl: Sized { @@ -1901,8 +1901,8 @@ impl IBitsPeerCacheRecord_Vtbl { GetFileRanges: GetFileRanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBitsTokenOptions_Impl: Sized { @@ -1961,8 +1961,8 @@ impl IBitsTokenOptions_Vtbl { GetHelperTokenSid: GetHelperTokenSid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBackgroundCopyFiles_Impl: Sized { @@ -2021,8 +2021,8 @@ impl IEnumBackgroundCopyFiles_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBackgroundCopyGroups_Impl: Sized { @@ -2081,8 +2081,8 @@ impl IEnumBackgroundCopyGroups_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBackgroundCopyJobs_Impl: Sized { @@ -2141,8 +2141,8 @@ impl IEnumBackgroundCopyJobs_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBackgroundCopyJobs1_Impl: Sized { @@ -2201,8 +2201,8 @@ impl IEnumBackgroundCopyJobs1_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBitsPeerCacheRecords_Impl: Sized { @@ -2261,8 +2261,8 @@ impl IEnumBitsPeerCacheRecords_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumBitsPeers_Impl: Sized { @@ -2321,7 +2321,7 @@ impl IEnumBitsPeers_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs index a397dc6400..451f7c5f80 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs @@ -28,8 +28,8 @@ impl IGetClusterDataInfo_Vtbl { GetObjectCount: GetObjectCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterGroupInfo_Impl: Sized { @@ -45,8 +45,8 @@ impl IGetClusterGroupInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetGroupHandle: GetGroupHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterNetInterfaceInfo_Impl: Sized { @@ -62,8 +62,8 @@ impl IGetClusterNetInterfaceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetInterfaceHandle: GetNetInterfaceHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterNetworkInfo_Impl: Sized { @@ -79,8 +79,8 @@ impl IGetClusterNetworkInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetworkHandle: GetNetworkHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterNodeInfo_Impl: Sized { @@ -96,8 +96,8 @@ impl IGetClusterNodeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNodeHandle: GetNodeHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterObjectInfo_Impl: Sized { @@ -123,8 +123,8 @@ impl IGetClusterObjectInfo_Vtbl { GetObjectType: GetObjectType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetClusterResourceInfo_Impl: Sized { @@ -157,8 +157,8 @@ impl IGetClusterResourceInfo_Vtbl { GetResourceNetworkName: GetResourceNetworkName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -202,8 +202,8 @@ impl IGetClusterUIInfo_Vtbl { GetIcon: GetIcon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -258,8 +258,8 @@ impl ISClusApplication_Vtbl { OpenCluster: OpenCluster::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -335,8 +335,8 @@ impl ISClusCryptoKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -404,8 +404,8 @@ impl ISClusDisk_Vtbl { Partitions: Partitions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -460,8 +460,8 @@ impl ISClusDisks_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -581,8 +581,8 @@ impl ISClusNetInterface_Vtbl { Cluster: Cluster::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -644,8 +644,8 @@ impl ISClusNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -798,8 +798,8 @@ impl ISClusNetwork_Vtbl { Cluster: Cluster::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -861,8 +861,8 @@ impl ISClusNetworkNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -924,8 +924,8 @@ impl ISClusNetworks_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1105,8 +1105,8 @@ impl ISClusNode_Vtbl { NetInterfaces: NetInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1168,8 +1168,8 @@ impl ISClusNodeNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1231,8 +1231,8 @@ impl ISClusNodes_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1339,8 +1339,8 @@ impl ISClusPartition_Vtbl { FileSystem: FileSystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1421,8 +1421,8 @@ impl ISClusPartitionEx_Vtbl { VolumeGuid: VolumeGuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1477,8 +1477,8 @@ impl ISClusPartitions_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1625,8 +1625,8 @@ impl ISClusProperties_Vtbl { Modified: Modified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1813,8 +1813,8 @@ impl ISClusProperty_Vtbl { UseDefaultValue: UseDefaultValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1929,8 +1929,8 @@ impl ISClusPropertyValue_Vtbl { Data: Data::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2005,8 +2005,8 @@ impl ISClusPropertyValueData_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2081,8 +2081,8 @@ impl ISClusPropertyValues_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2108,8 +2108,8 @@ impl ISClusRefObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Handle: Handle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2185,8 +2185,8 @@ impl ISClusRegistryKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2282,8 +2282,8 @@ impl ISClusResDependencies_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2379,8 +2379,8 @@ impl ISClusResDependents_Vtbl { RemoveItem: RemoveItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2592,8 +2592,8 @@ impl ISClusResGroup_Vtbl { Cluster: Cluster::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2696,8 +2696,8 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { AddItem: AddItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2779,8 +2779,8 @@ impl ISClusResGroupResources_Vtbl { DeleteItem: DeleteItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2862,8 +2862,8 @@ impl ISClusResGroups_Vtbl { DeleteItem: DeleteItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2952,8 +2952,8 @@ impl ISClusResPossibleOwnerNodes_Vtbl { Modified: Modified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3093,8 +3093,8 @@ impl ISClusResType_Vtbl { AvailableDisks: AvailableDisks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3156,8 +3156,8 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3239,8 +3239,8 @@ impl ISClusResTypeResources_Vtbl { DeleteItem: DeleteItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3322,8 +3322,8 @@ impl ISClusResTypes_Vtbl { DeleteItem: DeleteItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3707,8 +3707,8 @@ impl ISClusResource_Vtbl { SetMaintenanceMode: SetMaintenanceMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3790,8 +3790,8 @@ impl ISClusResources_Vtbl { DeleteItem: DeleteItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3859,8 +3859,8 @@ impl ISClusScsiAddress_Vtbl { Lun: Lun::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4006,8 +4006,8 @@ impl ISClusVersion_Vtbl { MixedVersion: MixedVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4266,8 +4266,8 @@ impl ISCluster_Vtbl { NetInterfaces: NetInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4342,8 +4342,8 @@ impl ISClusterNames_Vtbl { DomainName: DomainName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4405,8 +4405,8 @@ impl ISDomainNames_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWCContextMenuCallback_Impl: Sized { @@ -4422,8 +4422,8 @@ impl IWCContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddExtensionMenuItem: AddExtensionMenuItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWCPropertySheetCallback_Impl: Sized { @@ -4439,8 +4439,8 @@ impl IWCPropertySheetCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertySheetPage: AddPropertySheetPage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWCWizard97Callback_Impl: Sized { @@ -4466,8 +4466,8 @@ impl IWCWizard97Callback_Vtbl { EnableNext: EnableNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWCWizardCallback_Impl: Sized { @@ -4493,8 +4493,8 @@ impl IWCWizardCallback_Vtbl { EnableNext: EnableNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWEExtendContextMenu_Impl: Sized { @@ -4510,8 +4510,8 @@ impl IWEExtendContextMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddContextMenuItems: AddContextMenuItems:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWEExtendPropertySheet_Impl: Sized { @@ -4527,8 +4527,8 @@ impl IWEExtendPropertySheet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePropertySheetPages: CreatePropertySheetPages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWEExtendWizard_Impl: Sized { @@ -4544,8 +4544,8 @@ impl IWEExtendWizard_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizardPages: CreateWizardPages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWEExtendWizard97_Impl: Sized { @@ -4561,8 +4561,8 @@ impl IWEExtendWizard97_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizard97Pages: CreateWizard97Pages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWEInvokeCommand_Impl: Sized { @@ -4578,7 +4578,7 @@ impl IWEInvokeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeCommand: InvokeCommand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs index 86fc036021..540ab09e49 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs @@ -58,8 +58,8 @@ impl IEnumNetworkConnections_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -122,8 +122,8 @@ impl IEnumNetworks_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -284,8 +284,8 @@ impl INetwork_Vtbl { SetCategory: SetCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -311,8 +311,8 @@ impl INetwork2_Vtbl { } Self { base__: INetwork_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -419,8 +419,8 @@ impl INetworkConnection_Vtbl { GetDomainType: GetDomainType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -446,8 +446,8 @@ impl INetworkConnection2_Vtbl { } Self { base__: INetworkConnection_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait INetworkConnectionCost_Impl: Sized { @@ -479,8 +479,8 @@ impl INetworkConnectionCost_Vtbl { GetDataPlanStatus: GetDataPlanStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetworkConnectionCostEvents_Impl: Sized { @@ -506,8 +506,8 @@ impl INetworkConnectionCostEvents_Vtbl { ConnectionDataPlanStatusChanged: ConnectionDataPlanStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetworkConnectionEvents_Impl: Sized { @@ -533,8 +533,8 @@ impl INetworkConnectionEvents_Vtbl { NetworkConnectionPropertyChanged: NetworkConnectionPropertyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetworkCostManager_Impl: Sized { @@ -567,8 +567,8 @@ impl INetworkCostManager_Vtbl { SetDestinationAddresses: SetDestinationAddresses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetworkCostManagerEvents_Impl: Sized { @@ -594,8 +594,8 @@ impl INetworkCostManagerEvents_Vtbl { DataPlanStatusChanged: DataPlanStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INetworkEvents_Impl: Sized { @@ -635,8 +635,8 @@ impl INetworkEvents_Vtbl { NetworkPropertyChanged: NetworkPropertyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -757,8 +757,8 @@ impl INetworkListManager_Vtbl { ClearSimulatedProfileInfo: ClearSimulatedProfileInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait INetworkListManagerEvents_Impl: Sized { @@ -774,7 +774,7 @@ impl INetworkListManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectivityChanged: ConnectivityChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs index e40154ce47..981ffc1016 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs @@ -27,8 +27,8 @@ impl IFindSimilarResults_Vtbl { GetNextFileId: GetNextFileId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcComparator_Impl: Sized { @@ -44,8 +44,8 @@ impl IRdcComparator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Process: Process:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcFileReader_Impl: Sized { @@ -90,8 +90,8 @@ impl IRdcFileReader_Vtbl { GetFilePosition: GetFilePosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcFileWriter_Impl: Sized + IRdcFileReader_Impl { @@ -130,8 +130,8 @@ impl IRdcFileWriter_Vtbl { DeleteOnClose: DeleteOnClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRdcGenerator_Impl: Sized { @@ -163,8 +163,8 @@ impl IRdcGenerator_Vtbl { Process: Process::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcGeneratorFilterMaxParameters_Impl: Sized { @@ -216,8 +216,8 @@ impl IRdcGeneratorFilterMaxParameters_Vtbl { SetHashWindowSize: SetHashWindowSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcGeneratorParameters_Impl: Sized { @@ -269,8 +269,8 @@ impl IRdcGeneratorParameters_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcLibrary_Impl: Sized { @@ -367,8 +367,8 @@ impl IRdcLibrary_Vtbl { GetRDCVersion: GetRDCVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcSignatureReader_Impl: Sized { @@ -400,8 +400,8 @@ impl IRdcSignatureReader_Vtbl { ReadSignatures: ReadSignatures::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRdcSimilarityGenerator_Impl: Sized { @@ -433,8 +433,8 @@ impl IRdcSimilarityGenerator_Vtbl { Results: Results::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarity_Impl: Sized { @@ -519,8 +519,8 @@ impl ISimilarity_Vtbl { GetRecordCount: GetRecordCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityFileIdTable_Impl: Sized { @@ -605,8 +605,8 @@ impl ISimilarityFileIdTable_Vtbl { GetRecordCount: GetRecordCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityReportProgress_Impl: Sized { @@ -622,8 +622,8 @@ impl ISimilarityReportProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityTableDumpState_Impl: Sized { @@ -639,8 +639,8 @@ impl ISimilarityTableDumpState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextData: GetNextData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityTraitsMappedView_Impl: Sized { @@ -686,8 +686,8 @@ impl ISimilarityTraitsMappedView_Vtbl { GetView: GetView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityTraitsMapping_Impl: Sized { @@ -772,8 +772,8 @@ impl ISimilarityTraitsMapping_Vtbl { CreateView: CreateView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimilarityTraitsTable_Impl: Sized { @@ -858,7 +858,7 @@ impl ISimilarityTraitsTable_Vtbl { GetLastIndex: GetLastIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs index 8964a7ea7c..0744eefdbc 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinHttp/impl.rs @@ -198,8 +198,8 @@ impl IWinHttpRequest_Vtbl { SetAutoLogonPolicy: SetAutoLogonPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -243,7 +243,7 @@ impl IWinHttpRequestEvents_Vtbl { OnError: OnError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs index 21dc5e3b6e..7557a226e2 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs @@ -31,8 +31,8 @@ impl IDialBranding_Vtbl { GetBitmap: GetBitmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDialEngine_Impl: Sized { @@ -105,8 +105,8 @@ impl IDialEngine_Vtbl { GetConnectHandle: GetConnectHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDialEventSink_Impl: Sized { @@ -122,8 +122,8 @@ impl IDialEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProofOfPossessionCookieInfoManager_Impl: Sized { @@ -139,8 +139,8 @@ impl IProofOfPossessionCookieInfoManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCookieInfoForUri: GetCookieInfoForUri:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProofOfPossessionCookieInfoManager2_Impl: Sized { @@ -159,7 +159,7 @@ impl IProofOfPossessionCookieInfoManager2_Vtbl { GetCookieInfoWithUriForAccount: GetCookieInfoWithUriForAccount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs index 19e13901cd..5d5c056f0c 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs @@ -27,7 +27,7 @@ impl IContentPrefetcherTaskTrigger_Vtbl { IsRegisteredForContentPrefetch: IsRegisteredForContentPrefetch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index 327d05cc49..f0409189ab 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -59,8 +59,8 @@ impl AsyncIAssociatedIdentityProvider_Vtbl { Finish_ChangeCredential: Finish_ChangeCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -158,8 +158,8 @@ impl AsyncIConnectedIdentityProvider_Vtbl { Finish_GetAccountState: Finish_GetAccountState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIIdentityAdvise_Impl: Sized { @@ -185,8 +185,8 @@ impl AsyncIIdentityAdvise_Vtbl { Finish_IdentityUpdated: Finish_IdentityUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -230,8 +230,8 @@ impl AsyncIIdentityAuthentication_Vtbl { Finish_ValidateIdentityCredential: Finish_ValidateIdentityCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -389,8 +389,8 @@ impl AsyncIIdentityProvider_Vtbl { Finish_UnAdvise: Finish_UnAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -502,8 +502,8 @@ impl AsyncIIdentityStore_Vtbl { Finish_Reset: Finish_Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIIdentityStoreEx_Impl: Sized { @@ -543,8 +543,8 @@ impl AsyncIIdentityStoreEx_Vtbl { Finish_DeleteConnectedIdentity: Finish_DeleteConnectedIdentity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -587,8 +587,8 @@ impl IAssociatedIdentityProvider_Vtbl { ChangeCredential: ChangeCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -651,8 +651,8 @@ impl IConnectedIdentityProvider_Vtbl { GetAccountState: GetAccountState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIdentityAdvise_Impl: Sized { @@ -668,8 +668,8 @@ impl IIdentityAdvise_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IdentityUpdated: IdentityUpdated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -699,8 +699,8 @@ impl IIdentityAuthentication_Vtbl { ValidateIdentityCredential: ValidateIdentityCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -796,8 +796,8 @@ impl IIdentityProvider_Vtbl { UnAdvise: UnAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -867,8 +867,8 @@ impl IIdentityStore_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIdentityStoreEx_Impl: Sized { @@ -894,7 +894,7 @@ impl IIdentityStoreEx_Vtbl { DeleteConnectedIdentity: DeleteConnectedIdentity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs index 6d53731bf7..61c87d3c62 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs @@ -11,7 +11,7 @@ impl ICcgDomainAuthCredentials_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPasswordCredentials: GetPasswordCredentials:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs index 776584748e..da2450c0e5 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs @@ -11,8 +11,8 @@ impl IEffectivePermission_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEffectivePermission: GetEffectivePermission:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEffectivePermission2_Impl: Sized { @@ -79,8 +79,8 @@ impl IEffectivePermission2_Vtbl { ComputeEffectivePermissionWithSecondarySecurity: ComputeEffectivePermissionWithSecondarySecurity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -145,8 +145,8 @@ impl ISecurityInformation_Vtbl { PropertySheetPageCallback: PropertySheetPageCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -182,8 +182,8 @@ impl ISecurityInformation2_Vtbl { LookupSids: LookupSids::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISecurityInformation3_Impl: Sized { @@ -215,8 +215,8 @@ impl ISecurityInformation3_Vtbl { OpenElevatedEditor: OpenElevatedEditor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISecurityInformation4_Impl: Sized { @@ -232,8 +232,8 @@ impl ISecurityInformation4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecondarySecurity: GetSecondarySecurity:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISecurityObjectTypeInfo_Impl: Sized { @@ -249,7 +249,7 @@ impl ISecurityObjectTypeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInheritSource: GetInheritSource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs index a1012cbbd0..72e6313264 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs @@ -636,8 +636,8 @@ impl IAzApplication_Vtbl { DeleteDelegatedPolicyUserName: DeleteDelegatedPolicyUserName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -679,8 +679,8 @@ impl IAzApplication2_Vtbl { InitializeClientContext2: InitializeClientContext2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -854,8 +854,8 @@ impl IAzApplication3_Vtbl { SetBizRulesEnabled: SetBizRulesEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1167,8 +1167,8 @@ impl IAzApplicationGroup_Vtbl { NonMembersName: NonMembersName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1257,8 +1257,8 @@ impl IAzApplicationGroup2_Vtbl { RoleAssignments: RoleAssignments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1313,8 +1313,8 @@ impl IAzApplicationGroups_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1369,8 +1369,8 @@ impl IAzApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1875,8 +1875,8 @@ impl IAzAuthorizationStore_Vtbl { CloseApplication: CloseApplication::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1918,8 +1918,8 @@ impl IAzAuthorizationStore2_Vtbl { CreateApplication2: CreateApplication2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1988,8 +1988,8 @@ impl IAzAuthorizationStore3_Vtbl { GetSchemaVersion: GetSchemaVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2045,8 +2045,8 @@ impl IAzBizRuleContext_Vtbl { GetParameter: GetParameter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2110,8 +2110,8 @@ impl IAzBizRuleInterfaces_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2181,8 +2181,8 @@ impl IAzBizRuleParameters_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2361,8 +2361,8 @@ impl IAzClientContext_Vtbl { SetRoleForAccessCheck: SetRoleForAccessCheck::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2426,8 +2426,8 @@ impl IAzClientContext2_Vtbl { LDAPQueryDN: LDAPQueryDN::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2547,8 +2547,8 @@ impl IAzClientContext3_Vtbl { Sids: Sids::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2578,8 +2578,8 @@ impl IAzNameResolver_Vtbl { NamesFromSids: NamesFromSids::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2615,8 +2615,8 @@ impl IAzObjectPicker_Vtbl { Name: Name::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2752,8 +2752,8 @@ impl IAzOperation_Vtbl { Submit: Submit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2779,8 +2779,8 @@ impl IAzOperation2_Vtbl { } Self { base__: IAzOperation_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2835,8 +2835,8 @@ impl IAzOperations_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2878,8 +2878,8 @@ impl IAzPrincipalLocator_Vtbl { ObjectPicker: ObjectPicker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3144,8 +3144,8 @@ impl IAzRole_Vtbl { MembersName: MembersName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3201,8 +3201,8 @@ impl IAzRoleAssignment_Vtbl { Scope: Scope::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3257,8 +3257,8 @@ impl IAzRoleAssignments_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3314,8 +3314,8 @@ impl IAzRoleDefinition_Vtbl { RoleDefinitions: RoleDefinitions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3370,8 +3370,8 @@ impl IAzRoleDefinitions_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3426,8 +3426,8 @@ impl IAzRoles_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3829,8 +3829,8 @@ impl IAzScope_Vtbl { DeletePolicyReaderName: DeletePolicyReaderName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3938,8 +3938,8 @@ impl IAzScope2_Vtbl { DeleteRoleAssignment: DeleteRoleAssignment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3994,8 +3994,8 @@ impl IAzScopes_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4259,8 +4259,8 @@ impl IAzTask_Vtbl { Submit: Submit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4286,8 +4286,8 @@ impl IAzTask2_Vtbl { } Self { base__: IAzTask_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4342,7 +4342,7 @@ impl IAzTasks_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs index 54184dcc26..7e5602323e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs @@ -35,8 +35,8 @@ impl ISceSvcAttachmentData_Vtbl { CloseHandle: CloseHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISceSvcAttachmentPersistInfo_Impl: Sized { @@ -69,7 +69,7 @@ impl ISceSvcAttachmentPersistInfo_Vtbl { FreeBuffer: FreeBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs index 6ca7940fb2..45b029586d 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs @@ -84,8 +84,8 @@ impl IAlternativeName_Vtbl { get_RawData: get_RawData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -161,8 +161,8 @@ impl IAlternativeNames_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -217,8 +217,8 @@ impl IBinaryConverter_Vtbl { StringToVariantByteArray: StringToVariantByteArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -260,8 +260,8 @@ impl IBinaryConverter2_Vtbl { VariantArrayToStringArray: VariantArrayToStringArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -837,8 +837,8 @@ impl ICEnroll_Vtbl { SetHashAlgorithm: SetHashAlgorithm::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -908,8 +908,8 @@ impl ICEnroll2_Vtbl { SetEnableT61DNEncoding: SetEnableT61DNEncoding::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1071,8 +1071,8 @@ impl ICEnroll3_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1403,8 +1403,8 @@ impl ICEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1520,8 +1520,8 @@ impl ICertAdmin_Vtbl { ImportCertificate: ImportCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1656,8 +1656,8 @@ impl ICertAdmin2_Vtbl { DeleteRow: DeleteRow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1725,8 +1725,8 @@ impl ICertConfig_Vtbl { GetConfig: GetConfig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1746,8 +1746,8 @@ impl ICertConfig2_Vtbl { } Self { base__: ICertConfig_Vtbl::new::(), SetSharedFolder: SetSharedFolder:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1836,8 +1836,8 @@ impl ICertEncodeAltName_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1893,8 +1893,8 @@ impl ICertEncodeAltName2_Vtbl { SetNameEntryBlob: SetNameEntryBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1956,8 +1956,8 @@ impl ICertEncodeBitString_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2006,8 +2006,8 @@ impl ICertEncodeBitString2_Vtbl { GetBitStringBlob: GetBitStringBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2116,8 +2116,8 @@ impl ICertEncodeCRLDistInfo_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2153,8 +2153,8 @@ impl ICertEncodeCRLDistInfo2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2230,8 +2230,8 @@ impl ICertEncodeDateArray_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2267,8 +2267,8 @@ impl ICertEncodeDateArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2344,8 +2344,8 @@ impl ICertEncodeLongArray_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2381,8 +2381,8 @@ impl ICertEncodeLongArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2471,8 +2471,8 @@ impl ICertEncodeStringArray_Vtbl { Encode: Encode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2508,8 +2508,8 @@ impl ICertEncodeStringArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2558,8 +2558,8 @@ impl ICertExit_Vtbl { GetDescription: GetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2585,8 +2585,8 @@ impl ICertExit2_Vtbl { } Self { base__: ICertExit_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2612,8 +2612,8 @@ impl ICertGetConfig_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), GetConfig: GetConfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2656,8 +2656,8 @@ impl ICertManageModule_Vtbl { Configure: Configure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2713,8 +2713,8 @@ impl ICertPolicy_Vtbl { ShutDown: ShutDown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2740,8 +2740,8 @@ impl ICertPolicy2_Vtbl { } Self { base__: ICertPolicy_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2824,8 +2824,8 @@ impl ICertProperties_Vtbl { InitializeFromCertificate: InitializeFromCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2902,8 +2902,8 @@ impl ICertProperty_Vtbl { SetValueOnCertificate: SetValueOnCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2939,8 +2939,8 @@ impl ICertPropertyArchived_Vtbl { Archived: Archived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2976,8 +2976,8 @@ impl ICertPropertyArchivedKeyHash_Vtbl { get_ArchivedKeyHash: get_ArchivedKeyHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3013,8 +3013,8 @@ impl ICertPropertyAutoEnroll_Vtbl { TemplateName: TemplateName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3070,8 +3070,8 @@ impl ICertPropertyBackedUp_Vtbl { BackedUpTime: BackedUpTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3107,8 +3107,8 @@ impl ICertPropertyDescription_Vtbl { Description: Description::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3183,8 +3183,8 @@ impl ICertPropertyEnrollment_Vtbl { FriendlyName: FriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3311,8 +3311,8 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { GetEnrollmentServerAuthentication: GetEnrollmentServerAuthentication::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3348,8 +3348,8 @@ impl ICertPropertyFriendlyName_Vtbl { FriendlyName: FriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3385,8 +3385,8 @@ impl ICertPropertyKeyProvInfo_Vtbl { PrivateKey: PrivateKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3429,8 +3429,8 @@ impl ICertPropertyRenewal_Vtbl { get_Renewal: get_Renewal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3473,8 +3473,8 @@ impl ICertPropertyRequestOriginator_Vtbl { RequestOriginator: RequestOriginator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3510,8 +3510,8 @@ impl ICertPropertySHA1Hash_Vtbl { get_SHA1Hash: get_SHA1Hash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3618,8 +3618,8 @@ impl ICertRequest_Vtbl { GetCertificate: GetCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3713,8 +3713,8 @@ impl ICertRequest2_Vtbl { GetFullResponseProperty: GetFullResponseProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3776,8 +3776,8 @@ impl ICertRequest3_Vtbl { GetRefreshPolicy: GetRefreshPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICertRequestD_Impl: Sized { @@ -3816,8 +3816,8 @@ impl ICertRequestD_Vtbl { Ping: Ping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICertRequestD2_Impl: Sized + ICertRequestD_Impl { @@ -3863,8 +3863,8 @@ impl ICertRequestD2_Vtbl { Ping2: Ping2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4006,8 +4006,8 @@ impl ICertServerExit_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4163,8 +4163,8 @@ impl ICertServerPolicy_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4248,8 +4248,8 @@ impl ICertView_Vtbl { OpenView: OpenView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4269,8 +4269,8 @@ impl ICertView2_Vtbl { } Self { base__: ICertView_Vtbl::new::(), SetTable: SetTable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4319,8 +4319,8 @@ impl ICertificateAttestationChallenge_Vtbl { RequestID: RequestID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4350,8 +4350,8 @@ impl ICertificateAttestationChallenge2_Vtbl { put_KeyBlob: put_KeyBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4427,8 +4427,8 @@ impl ICertificatePolicies_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4477,8 +4477,8 @@ impl ICertificatePolicy_Vtbl { PolicyQualifiers: PolicyQualifiers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4574,8 +4574,8 @@ impl ICertificationAuthorities_Vtbl { get_ItemByName: get_ItemByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4601,8 +4601,8 @@ impl ICertificationAuthority_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4658,8 +4658,8 @@ impl ICryptAttribute_Vtbl { Values: Values::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4755,8 +4755,8 @@ impl ICryptAttributes_Vtbl { AddRange: AddRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4902,8 +4902,8 @@ impl ICspAlgorithm_Vtbl { Operations: Operations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5005,8 +5005,8 @@ impl ICspAlgorithms_Vtbl { get_IndexByObjectId: get_IndexByObjectId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5231,8 +5231,8 @@ impl ICspInformation_Vtbl { GetCspStatusFromOperations: GetCspStatusFromOperations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5380,8 +5380,8 @@ impl ICspInformations_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5476,8 +5476,8 @@ impl ICspStatus_Vtbl { DisplayName: DisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5605,8 +5605,8 @@ impl ICspStatuses_Vtbl { get_ItemByProvider: get_ItemByProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnroll_Impl: Sized { @@ -6108,8 +6108,8 @@ impl IEnroll_Vtbl { CreatePKCS7RequestFromRequest: CreatePKCS7RequestFromRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnroll2_Impl: Sized + IEnroll_Impl { @@ -6247,8 +6247,8 @@ impl IEnroll2_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnroll4_Impl: Sized + IEnroll2_Impl { @@ -6484,8 +6484,8 @@ impl IEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6549,8 +6549,8 @@ impl IEnumCERTVIEWATTRIBUTE_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6642,8 +6642,8 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6714,8 +6714,8 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6811,8 +6811,8 @@ impl IEnumCERTVIEWROW_Vtbl { GetMaxIndex: GetMaxIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait INDESPolicy_Impl: Sized { @@ -6865,8 +6865,8 @@ impl INDESPolicy_Vtbl { Notify: Notify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6988,8 +6988,8 @@ impl IOCSPAdmin_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7263,8 +7263,8 @@ impl IOCSPCAConfiguration_Vtbl { SetCAConfig: SetCAConfig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7352,8 +7352,8 @@ impl IOCSPCAConfigurationCollection_Vtbl { DeleteCAConfiguration: DeleteCAConfiguration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7415,8 +7415,8 @@ impl IOCSPProperty_Vtbl { Modified: Modified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7524,8 +7524,8 @@ impl IOCSPPropertyCollection_Vtbl { GetAllProperties: GetAllProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7621,8 +7621,8 @@ impl IObjectId_Vtbl { GetAlgorithmName: GetAlgorithmName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7705,8 +7705,8 @@ impl IObjectIds_Vtbl { AddRange: AddRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7781,8 +7781,8 @@ impl IPolicyQualifier_Vtbl { get_RawData: get_RawData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7858,8 +7858,8 @@ impl IPolicyQualifiers_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7988,8 +7988,8 @@ impl ISignerCertificate_Vtbl { SignatureInformation: SignatureInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8078,8 +8078,8 @@ impl ISignerCertificates_Vtbl { Find: Find::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8169,8 +8169,8 @@ impl ISmimeCapabilities_Vtbl { AddAvailableSmimeCapabilities: AddAvailableSmimeCapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8219,8 +8219,8 @@ impl ISmimeCapability_Vtbl { BitCount: BitCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8276,8 +8276,8 @@ impl IX500DistinguishedName_Vtbl { get_EncodedName: get_EncodedName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8326,8 +8326,8 @@ impl IX509Attribute_Vtbl { get_RawData: get_RawData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8396,8 +8396,8 @@ impl IX509AttributeArchiveKey_Vtbl { EncryptionStrength: EncryptionStrength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8440,8 +8440,8 @@ impl IX509AttributeArchiveKeyHash_Vtbl { get_EncryptedKeyHashBlob: get_EncryptedKeyHashBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8523,8 +8523,8 @@ impl IX509AttributeClientId_Vtbl { ProcessName: ProcessName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8593,8 +8593,8 @@ impl IX509AttributeCspProvider_Vtbl { get_Signature: get_Signature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8637,8 +8637,8 @@ impl IX509AttributeExtensions_Vtbl { X509Extensions: X509Extensions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8681,8 +8681,8 @@ impl IX509AttributeOSVersion_Vtbl { OSVersion: OSVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8725,8 +8725,8 @@ impl IX509AttributeRenewalCertificate_Vtbl { get_RenewalCertificate: get_RenewalCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8802,8 +8802,8 @@ impl IX509Attributes_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9072,8 +9072,8 @@ impl IX509CertificateRequest_Vtbl { get_RawData: get_RawData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9196,8 +9196,8 @@ impl IX509CertificateRequestCertificate_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9253,8 +9253,8 @@ impl IX509CertificateRequestCertificate2_Vtbl { Template: Template::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9527,8 +9527,8 @@ impl IX509CertificateRequestCmc_Vtbl { SignerCertificates: SignerCertificates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9598,8 +9598,8 @@ impl IX509CertificateRequestCmc2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9925,8 +9925,8 @@ impl IX509CertificateRequestPkcs10_Vtbl { GetCspStatuses: GetCspStatuses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9989,8 +9989,8 @@ impl IX509CertificateRequestPkcs10V2_Vtbl { Template: Template::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10119,8 +10119,8 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { NameValuePairs: NameValuePairs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10176,8 +10176,8 @@ impl IX509CertificateRequestPkcs10V4_Vtbl { SetAttestPrivateKeyPreferred: SetAttestPrivateKeyPreferred::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10261,8 +10261,8 @@ impl IX509CertificateRequestPkcs7_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10318,8 +10318,8 @@ impl IX509CertificateRequestPkcs7V2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10654,8 +10654,8 @@ impl IX509CertificateRevocationList_Vtbl { get_Signature: get_Signature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10751,8 +10751,8 @@ impl IX509CertificateRevocationListEntries_Vtbl { AddRange: AddRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10847,8 +10847,8 @@ impl IX509CertificateRevocationListEntry_Vtbl { CriticalExtensions: CriticalExtensions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10874,8 +10874,8 @@ impl IX509CertificateTemplate_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10938,8 +10938,8 @@ impl IX509CertificateTemplateWritable_Vtbl { Template: Template::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11041,8 +11041,8 @@ impl IX509CertificateTemplates_Vtbl { get_ItemByOid: get_ItemByOid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11171,8 +11171,8 @@ impl IX509EndorsementKey_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11433,8 +11433,8 @@ impl IX509Enrollment_Vtbl { CAConfigString: CAConfigString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11503,8 +11503,8 @@ impl IX509Enrollment2_Vtbl { RequestIdString: RequestIdString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11554,8 +11554,8 @@ impl IX509EnrollmentHelper_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11847,8 +11847,8 @@ impl IX509EnrollmentPolicyServer_Vtbl { SetCost: SetCost::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11984,8 +11984,8 @@ impl IX509EnrollmentStatus_Vtbl { ErrorText: ErrorText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12011,8 +12011,8 @@ impl IX509EnrollmentWebClassFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12081,8 +12081,8 @@ impl IX509Extension_Vtbl { SetCritical: SetCritical::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12125,8 +12125,8 @@ impl IX509ExtensionAlternativeNames_Vtbl { AlternativeNames: AlternativeNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12169,8 +12169,8 @@ impl IX509ExtensionAuthorityKeyIdentifier_Vtbl { get_AuthorityKeyIdentifier: get_AuthorityKeyIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12226,8 +12226,8 @@ impl IX509ExtensionBasicConstraints_Vtbl { PathLenConstraint: PathLenConstraint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12270,8 +12270,8 @@ impl IX509ExtensionCertificatePolicies_Vtbl { Policies: Policies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12314,8 +12314,8 @@ impl IX509ExtensionEnhancedKeyUsage_Vtbl { EnhancedKeyUsage: EnhancedKeyUsage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12358,8 +12358,8 @@ impl IX509ExtensionKeyUsage_Vtbl { KeyUsage: KeyUsage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12402,8 +12402,8 @@ impl IX509ExtensionMSApplicationPolicies_Vtbl { Policies: Policies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12446,8 +12446,8 @@ impl IX509ExtensionSmimeCapabilities_Vtbl { SmimeCapabilities: SmimeCapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12490,8 +12490,8 @@ impl IX509ExtensionSubjectKeyIdentifier_Vtbl { get_SubjectKeyIdentifier: get_SubjectKeyIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12560,8 +12560,8 @@ impl IX509ExtensionTemplate_Vtbl { MinorVersion: MinorVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12604,8 +12604,8 @@ impl IX509ExtensionTemplateName_Vtbl { TemplateName: TemplateName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12701,8 +12701,8 @@ impl IX509Extensions_Vtbl { AddRange: AddRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12728,8 +12728,8 @@ impl IX509MachineEnrollmentFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12778,8 +12778,8 @@ impl IX509NameValuePair_Vtbl { Name: Name::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12855,8 +12855,8 @@ impl IX509NameValuePairs_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -12939,8 +12939,8 @@ impl IX509PolicyServerListManager_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13097,8 +13097,8 @@ impl IX509PolicyServerUrl_Vtbl { RemoveFromRegistry: RemoveFromRegistry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13688,8 +13688,8 @@ impl IX509PrivateKey_Vtbl { SetDescription: SetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13805,8 +13805,8 @@ impl IX509PrivateKey2_Vtbl { SetParametersExportType: SetParametersExportType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13901,8 +13901,8 @@ impl IX509PublicKey_Vtbl { ComputeKeyIdentifier: ComputeKeyIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14150,8 +14150,8 @@ impl IX509SCEPEnrollment_Vtbl { DeleteRequest: DeleteRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14239,8 +14239,8 @@ impl IX509SCEPEnrollment2_Vtbl { SetActivityId: SetActivityId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14322,8 +14322,8 @@ impl IX509SCEPEnrollmentHelper_Vtbl { ResultMessageText: ResultMessageText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14472,7 +14472,7 @@ impl IX509SignatureInformation_Vtbl { SetDefaultValues: SetDefaultValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs index c8eef458a3..b0269ca0cc 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs @@ -217,8 +217,8 @@ impl ICertSrvSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -354,8 +354,8 @@ impl ICertSrvSetupKeyInformation_Vtbl { SetExistingCACertificate: SetExistingCACertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -417,8 +417,8 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { Add: Add::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -488,8 +488,8 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -566,8 +566,8 @@ impl ICertificateEnrollmentServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -703,7 +703,7 @@ impl IMSCEPSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs index 166e339291..ce6feb7658 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs @@ -21,8 +21,8 @@ impl IProtectionPolicyManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProtectionPolicyManagerInterop2_Impl: Sized { @@ -69,8 +69,8 @@ impl IProtectionPolicyManagerInterop2_Vtbl { RequestAccessForAppWithMessageForWindowAsync: RequestAccessForAppWithMessageForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProtectionPolicyManagerInterop3_Impl: Sized { @@ -124,7 +124,7 @@ impl IProtectionPolicyManagerInterop3_Vtbl { RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync: RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs index 9b83d0c20a..773d738383 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs @@ -48,8 +48,8 @@ impl IAccountingProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAuthenticationProviderConfig_Impl: Sized { @@ -102,8 +102,8 @@ impl IAuthenticationProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEAPProviderConfig_Impl: Sized { @@ -157,8 +157,8 @@ impl IEAPProviderConfig_Vtbl { RouterInvokeCredentialsUI: RouterInvokeCredentialsUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEAPProviderConfig2_Impl: Sized + IEAPProviderConfig_Impl { @@ -184,8 +184,8 @@ impl IEAPProviderConfig2_Vtbl { GetGlobalConfig: GetGlobalConfig::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEAPProviderConfig3_Impl: Sized + IEAPProviderConfig2_Impl { @@ -204,8 +204,8 @@ impl IEAPProviderConfig3_Vtbl { ServerInvokeCertificateConfigUI: ServerInvokeCertificateConfigUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRouterProtocolConfig_Impl: Sized { @@ -231,7 +231,7 @@ impl IRouterProtocolConfig_Vtbl { RemoveProtocol: RemoveProtocol::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs index 3e1deff52b..4fecc86606 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs @@ -11,7 +11,7 @@ impl IIsolatedAppLauncher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Launch: Launch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs index 7fc141053f..9eb578fb46 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs @@ -43,8 +43,8 @@ impl ITpmVirtualSmartCardManager_Vtbl { DestroyVirtualSmartCard: DestroyVirtualSmartCard::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITpmVirtualSmartCardManager2_Impl: Sized + ITpmVirtualSmartCardManager_Impl { @@ -81,8 +81,8 @@ impl ITpmVirtualSmartCardManager2_Vtbl { CreateVirtualSmartCardWithPinPolicy: CreateVirtualSmartCardWithPinPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITpmVirtualSmartCardManager3_Impl: Sized + ITpmVirtualSmartCardManager2_Impl { @@ -123,8 +123,8 @@ impl ITpmVirtualSmartCardManager3_Vtbl { CreateVirtualSmartCardWithAttestation: CreateVirtualSmartCardWithAttestation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITpmVirtualSmartCardManagerStatusCallback_Impl: Sized { @@ -150,7 +150,7 @@ impl ITpmVirtualSmartCardManagerStatusCallback_Vtbl { ReportError: ReportError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs index 717619979c..d497e08666 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs @@ -11,8 +11,8 @@ impl IDedupBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RestoreFiles: RestoreFiles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -62,8 +62,8 @@ impl IDedupChunkLibrary_Vtbl { StartChunking: StartChunking::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -211,8 +211,8 @@ impl IDedupDataPort_Vtbl { GetRequestResults: GetRequestResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDedupDataPortManager_Impl: Sized { @@ -257,8 +257,8 @@ impl IDedupDataPortManager_Vtbl { GetVolumeDataPort: GetVolumeDataPort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDedupIterateChunksHash32_Impl: Sized { @@ -298,8 +298,8 @@ impl IDedupIterateChunksHash32_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDedupReadFileCallback_Impl: Sized { @@ -332,7 +332,7 @@ impl IDedupReadFileCallback_Vtbl { PreviewContainerRead: PreviewContainerRead::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs index 98006aaa29..c3f91dada5 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs @@ -67,8 +67,8 @@ impl IEnhancedStorageACT_Vtbl { GetSilos: GetSilos::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnhancedStorageACT2_Impl: Sized + IEnhancedStorageACT_Impl { @@ -106,8 +106,8 @@ impl IEnhancedStorageACT2_Vtbl { IsDeviceRemovable: IsDeviceRemovable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnhancedStorageACT3_Impl: Sized + IEnhancedStorageACT2_Impl { @@ -152,8 +152,8 @@ impl IEnhancedStorageACT3_Vtbl { GetShellExtSupport: GetShellExtSupport::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Devices_PortableDevices\"`"] @@ -222,8 +222,8 @@ impl IEnhancedStorageSilo_Vtbl { GetDevicePath: GetDevicePath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnhancedStorageSiloAction_Impl: Sized { @@ -268,8 +268,8 @@ impl IEnhancedStorageSiloAction_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumEnhancedStorageACT_Impl: Sized { @@ -301,7 +301,7 @@ impl IEnumEnhancedStorageACT_Vtbl { GetMatchingACT: GetMatchingACT::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs index 390fab49c5..086b93d2cc 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs @@ -135,8 +135,8 @@ impl IFhConfigMgr_Vtbl { QueryProtectionStatus: QueryProtectionStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFhReassociation_Impl: Sized { @@ -189,8 +189,8 @@ impl IFhReassociation_Vtbl { PerformReassociation: PerformReassociation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFhScopeIterator_Impl: Sized { @@ -222,8 +222,8 @@ impl IFhScopeIterator_Vtbl { GetItem: GetItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFhTarget_Impl: Sized { @@ -261,7 +261,7 @@ impl IFhTarget_Vtbl { GetNumericalProperty: GetNumericalProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs index bbd62a01de..48d28ce1c6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs @@ -8,8 +8,8 @@ impl DIFsrmClassificationEvents_Vtbl { pub const fn new, Impl: DIFsrmClassificationEvents_Impl, const OFFSET: isize>() -> DIFsrmClassificationEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -35,8 +35,8 @@ impl IFsrmAccessDeniedRemediationClient_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -105,8 +105,8 @@ impl IFsrmAction_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -262,8 +262,8 @@ impl IFsrmActionCommand_Vtbl { SetLogResult: SetLogResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -419,8 +419,8 @@ impl IFsrmActionEmail_Vtbl { SetMessageText: SetMessageText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -456,8 +456,8 @@ impl IFsrmActionEmail2_Vtbl { SetAttachmentFileListSize: SetAttachmentFileListSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -513,8 +513,8 @@ impl IFsrmActionEventLog_Vtbl { SetMessageText: SetMessageText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -570,8 +570,8 @@ impl IFsrmActionReport_Vtbl { SetMailTo: SetMailTo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -620,8 +620,8 @@ impl IFsrmAutoApplyQuota_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -940,8 +940,8 @@ impl IFsrmClassificationManager_Vtbl { ClearFileProperty: ClearFileProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -961,8 +961,8 @@ impl IFsrmClassificationManager2_Vtbl { } Self { base__: IFsrmClassificationManager_Vtbl::new::(), ClassifyFiles: ClassifyFiles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1038,8 +1038,8 @@ impl IFsrmClassificationRule_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1115,8 +1115,8 @@ impl IFsrmClassifierModuleDefinition_Vtbl { SetNeedsExplicitValue: SetNeedsExplicitValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1180,8 +1180,8 @@ impl IFsrmClassifierModuleImplementation_Vtbl { OnEndFile: OnEndFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1282,8 +1282,8 @@ impl IFsrmCollection_Vtbl { GetById: GetById::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1309,8 +1309,8 @@ impl IFsrmCommittableCollection_Vtbl { } Self { base__: IFsrmMutableCollection_Vtbl::new::(), Commit: Commit:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1352,8 +1352,8 @@ impl IFsrmDerivedObjectsResult_Vtbl { Results: Results::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1429,8 +1429,8 @@ impl IFsrmExportImport_Vtbl { ImportQuotaTemplates: ImportQuotaTemplates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1466,8 +1466,8 @@ impl IFsrmFileCondition_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1583,8 +1583,8 @@ impl IFsrmFileConditionProperty_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1660,8 +1660,8 @@ impl IFsrmFileGroup_Vtbl { SetNonMembers: SetNonMembers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1697,8 +1697,8 @@ impl IFsrmFileGroupImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1779,8 +1779,8 @@ impl IFsrmFileGroupManager_Vtbl { ImportFileGroups: ImportFileGroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2307,8 +2307,8 @@ impl IFsrmFileManagementJob_Vtbl { CreateCustomAction: CreateCustomAction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2389,8 +2389,8 @@ impl IFsrmFileManagementJobManager_Vtbl { GetFileManagementJob: GetFileManagementJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2478,8 +2478,8 @@ impl IFsrmFileScreen_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2561,8 +2561,8 @@ impl IFsrmFileScreenBase_Vtbl { EnumActions: EnumActions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2611,8 +2611,8 @@ impl IFsrmFileScreenException_Vtbl { SetAllowedFileGroups: SetAllowedFileGroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2745,8 +2745,8 @@ impl IFsrmFileScreenManager_Vtbl { CreateFileScreenCollection: CreateFileScreenCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2802,8 +2802,8 @@ impl IFsrmFileScreenTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2839,8 +2839,8 @@ impl IFsrmFileScreenTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2921,8 +2921,8 @@ impl IFsrmFileScreenTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2972,8 +2972,8 @@ impl IFsrmMutableCollection_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3036,8 +3036,8 @@ impl IFsrmObject_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3066,8 +3066,8 @@ impl IFsrmPathMapper_Vtbl { GetSharePathsForLocalPath: GetSharePathsForLocalPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3142,8 +3142,8 @@ impl IFsrmPipelineModuleConnector_Vtbl { Bind: Bind::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3352,8 +3352,8 @@ impl IFsrmPipelineModuleDefinition_Vtbl { SetParameters: SetParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3389,8 +3389,8 @@ impl IFsrmPipelineModuleImplementation_Vtbl { OnUnload: OnUnload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3458,8 +3458,8 @@ impl IFsrmProperty_Vtbl { PropertyFlags: PropertyFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3736,8 +3736,8 @@ impl IFsrmPropertyBag_Vtbl { GetFileStreamInterface: GetFileStreamInterface::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3779,8 +3779,8 @@ impl IFsrmPropertyBag2_Vtbl { GetUntrustedInFileProperties: GetUntrustedInFileProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3863,8 +3863,8 @@ impl IFsrmPropertyCondition_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3980,8 +3980,8 @@ impl IFsrmPropertyDefinition_Vtbl { SetParameters: SetParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4056,8 +4056,8 @@ impl IFsrmPropertyDefinition2_Vtbl { ValueDefinitions: ValueDefinitions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4125,8 +4125,8 @@ impl IFsrmPropertyDefinitionValue_Vtbl { UniqueID: UniqueID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4195,8 +4195,8 @@ impl IFsrmQuota_Vtbl { RefreshUsageProperties: RefreshUsageProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4312,8 +4312,8 @@ impl IFsrmQuotaBase_Vtbl { EnumThresholdActions: EnumThresholdActions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4479,8 +4479,8 @@ impl IFsrmQuotaManager_Vtbl { CreateQuotaCollection: CreateQuotaCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4506,8 +4506,8 @@ impl IFsrmQuotaManagerEx_Vtbl { } Self { base__: IFsrmQuotaManager_Vtbl::new::(), IsAffectedByQuota: IsAffectedByQuota:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4595,8 +4595,8 @@ impl IFsrmQuotaObject_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4652,8 +4652,8 @@ impl IFsrmQuotaTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4689,8 +4689,8 @@ impl IFsrmQuotaTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4771,8 +4771,8 @@ impl IFsrmQuotaTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4881,8 +4881,8 @@ impl IFsrmReport_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5083,8 +5083,8 @@ impl IFsrmReportJob_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5212,8 +5212,8 @@ impl IFsrmReportManager_Vtbl { SetReportSizeLimit: SetReportSizeLimit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5257,8 +5257,8 @@ impl IFsrmReportScheduler_Vtbl { DeleteScheduleTask: DeleteScheduleTask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5400,8 +5400,8 @@ impl IFsrmRule_Vtbl { LastModified: LastModified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5544,8 +5544,8 @@ impl IFsrmSetting_Vtbl { GetActionRunLimitInterval: GetActionRunLimitInterval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5621,8 +5621,8 @@ impl IFsrmStorageModuleDefinition_Vtbl { SetUpdatesFileContent: SetUpdatesFileContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5659,7 +5659,7 @@ impl IFsrmStorageModuleImplementation_Vtbl { SaveProperties: SaveProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs index e9f27d395c..4182af921c 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs @@ -188,8 +188,8 @@ impl IDiskQuotaControl_Vtbl { ShutdownNameResolution: ShutdownNameResolution::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDiskQuotaEvents_Impl: Sized { @@ -205,8 +205,8 @@ impl IDiskQuotaEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserNameChanged: OnUserNameChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDiskQuotaUser_Impl: Sized { @@ -323,8 +323,8 @@ impl IDiskQuotaUser_Vtbl { GetAccountStatus: GetAccountStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDiskQuotaUserBatch_Impl: Sized { @@ -364,8 +364,8 @@ impl IDiskQuotaUserBatch_Vtbl { FlushToDisk: FlushToDisk::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDiskQuotaUsers_Impl: Sized { @@ -411,7 +411,7 @@ impl IEnumDiskQuotaUsers_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index d1a685b448..decbf84ce5 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -15,8 +15,8 @@ impl DDiscFormat2DataEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -36,8 +36,8 @@ impl DDiscFormat2EraseEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -57,8 +57,8 @@ impl DDiscFormat2RawCDEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -78,8 +78,8 @@ impl DDiscFormat2TrackAtOnceEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -109,8 +109,8 @@ impl DDiscMaster2Events_Vtbl { NotifyDeviceRemoved: NotifyDeviceRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -130,8 +130,8 @@ impl DFileSystemImageEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -151,8 +151,8 @@ impl DFileSystemImageImportEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), UpdateImport: UpdateImport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -172,8 +172,8 @@ impl DWriteEngine2Events_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -215,8 +215,8 @@ impl IBlockRange_Vtbl { EndLba: EndLba::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -242,8 +242,8 @@ impl IBlockRangeList_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), BlockRanges: BlockRanges:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -352,8 +352,8 @@ impl IBootOptions_Vtbl { AssignBootImage: AssignBootImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBurnVerification_Impl: Sized { @@ -385,8 +385,8 @@ impl IBurnVerification_Vtbl { BurnVerificationLevel: BurnVerificationLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -467,8 +467,8 @@ impl IDiscFormat2_Vtbl { SupportedMediaTypes: SupportedMediaTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -840,8 +840,8 @@ impl IDiscFormat2Data_Vtbl { SetWriteSpeed: SetWriteSpeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -909,8 +909,8 @@ impl IDiscFormat2DataEventArgs_Vtbl { CurrentAction: CurrentAction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1006,8 +1006,8 @@ impl IDiscFormat2Erase_Vtbl { EraseMedia: EraseMedia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1275,8 +1275,8 @@ impl IDiscFormat2RawCD_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1331,8 +1331,8 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1619,8 +1619,8 @@ impl IDiscFormat2TrackAtOnce_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1688,8 +1688,8 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDiscMaster_Impl: Sized { @@ -1815,8 +1815,8 @@ impl IDiscMaster_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1884,8 +1884,8 @@ impl IDiscMaster2_Vtbl { IsSupportedEnvironment: IsSupportedEnvironment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDiscMasterProgressEvents_Impl: Sized { @@ -1966,8 +1966,8 @@ impl IDiscMasterProgressEvents_Vtbl { NotifyEraseComplete: NotifyEraseComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -2118,8 +2118,8 @@ impl IDiscRecorder_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2366,8 +2366,8 @@ impl IDiscRecorder2_Vtbl { ExclusiveAccessOwner: ExclusiveAccessOwner::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDiscRecorder2Ex_Impl: Sized { @@ -2523,8 +2523,8 @@ impl IDiscRecorder2Ex_Vtbl { GetMaximumPageAlignedTransferSize: GetMaximumPageAlignedTransferSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDiscMasterFormats_Impl: Sized { @@ -2570,8 +2570,8 @@ impl IEnumDiscMasterFormats_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDiscRecorders_Impl: Sized { @@ -2617,8 +2617,8 @@ impl IEnumDiscRecorders_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2668,8 +2668,8 @@ impl IEnumFsiItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2719,8 +2719,8 @@ impl IEnumProgressItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3278,8 +3278,8 @@ impl IFileSystemImage_Vtbl { SetMultisessionInterfaces: SetMultisessionInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3315,8 +3315,8 @@ impl IFileSystemImage2_Vtbl { SetBootImageOptionsArray: SetBootImageOptionsArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3365,8 +3365,8 @@ impl IFileSystemImage3_Vtbl { ProbeSpecificFileSystem: ProbeSpecificFileSystem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3447,8 +3447,8 @@ impl IFileSystemImageResult_Vtbl { DiscId: DiscId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3474,8 +3474,8 @@ impl IFileSystemImageResult2_Vtbl { } Self { base__: IFileSystemImageResult_Vtbl::new::(), ModifiedBlocks: ModifiedBlocks:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3585,8 +3585,8 @@ impl IFsiDirectoryItem_Vtbl { RemoveTree: RemoveTree::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3606,8 +3606,8 @@ impl IFsiDirectoryItem2_Vtbl { } Self { base__: IFsiDirectoryItem_Vtbl::new::(), AddTreeWithNamedStreams: AddTreeWithNamedStreams:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3682,8 +3682,8 @@ impl IFsiFileItem_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3759,8 +3759,8 @@ impl IFsiFileItem2_Vtbl { SetIsRealTime: SetIsRealTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3908,8 +3908,8 @@ impl IFsiItem_Vtbl { FileSystemPath: FileSystemPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3977,8 +3977,8 @@ impl IFsiNamedStreams_Vtbl { EnumNamedStreams: EnumNamedStreams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4041,8 +4041,8 @@ impl IIsoImageManager_Vtbl { Validate: Validate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -4124,8 +4124,8 @@ impl IJolietDiscMaster_Vtbl { SetJolietProperties: SetJolietProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4187,8 +4187,8 @@ impl IMultisession_Vtbl { ImportRecorder: ImportRecorder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4243,8 +4243,8 @@ impl IMultisessionRandomWrite_Vtbl { TotalSectorsOnMedia: TotalSectorsOnMedia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4325,8 +4325,8 @@ impl IMultisessionSequential_Vtbl { FreeSectorsOnMedia: FreeSectorsOnMedia::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4352,8 +4352,8 @@ impl IMultisessionSequential2_Vtbl { } Self { base__: IMultisessionSequential_Vtbl::new::(), WriteUnitSize: WriteUnitSize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4421,8 +4421,8 @@ impl IProgressItem_Vtbl { BlockCount: BlockCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4516,8 +4516,8 @@ impl IProgressItems_Vtbl { EnumProgressItems: EnumProgressItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4738,8 +4738,8 @@ impl IRawCDImageCreator_Vtbl { ExpectedTableOfContents: ExpectedTableOfContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4894,8 +4894,8 @@ impl IRawCDImageTrackInfo_Vtbl { ClearTrackIndex: ClearTrackIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRedbookDiscMaster_Impl: Sized { @@ -4993,8 +4993,8 @@ impl IRedbookDiscMaster_Vtbl { CloseAudioTrack: CloseAudioTrack::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5038,8 +5038,8 @@ impl IStreamConcatenate_Vtbl { Append2: Append2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5059,8 +5059,8 @@ impl IStreamInterleave_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5110,8 +5110,8 @@ impl IStreamPseudoRandomBased_Vtbl { get_ExtendedSeed: get_ExtendedSeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5254,8 +5254,8 @@ impl IWriteEngine2_Vtbl { WriteInProgress: WriteInProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5362,8 +5362,8 @@ impl IWriteEngine2EventArgs_Vtbl { FreeSystemBuffer: FreeSystemBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5418,7 +5418,7 @@ impl IWriteSpeedDescriptor_Vtbl { WriteSpeed: WriteSpeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs index 52f36414f3..b6e26536f1 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs @@ -46,8 +46,8 @@ impl IFilter_Vtbl { BindRegion: BindRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPhraseSink_Impl: Sized { @@ -73,7 +73,7 @@ impl IPhraseSink_Vtbl { PutPhrase: PutPhrase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs index 2c91f0d4b0..60d59df73a 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs @@ -41,8 +41,8 @@ impl IEnumOfflineFilesItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumOfflineFilesSettings_Impl: Sized { @@ -88,8 +88,8 @@ impl IEnumOfflineFilesSettings_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesCache_Impl: Sized { @@ -250,8 +250,8 @@ impl IOfflineFilesCache_Vtbl { IsPathCacheable: IsPathCacheable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesCache2_Impl: Sized + IOfflineFilesCache_Impl { @@ -267,8 +267,8 @@ impl IOfflineFilesCache2_Vtbl { } Self { base__: IOfflineFilesCache_Vtbl::new::(), RenameItemEx: RenameItemEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesChangeInfo_Impl: Sized { @@ -352,8 +352,8 @@ impl IOfflineFilesChangeInfo_Vtbl { IsLocallyModifiedTime: IsLocallyModifiedTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesConnectionInfo_Impl: Sized { @@ -399,8 +399,8 @@ impl IOfflineFilesConnectionInfo_Vtbl { TransitionOffline: TransitionOffline::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesDirectoryItem_Impl: Sized + IOfflineFilesItem_Impl {} @@ -409,8 +409,8 @@ impl IOfflineFilesDirectoryItem_Vtbl { pub const fn new, Impl: IOfflineFilesDirectoryItem_Impl, const OFFSET: isize>() -> IOfflineFilesDirectoryItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesDirtyInfo_Impl: Sized { @@ -448,8 +448,8 @@ impl IOfflineFilesDirtyInfo_Vtbl { RemoteDirtyByteCount: RemoteDirtyByteCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -491,8 +491,8 @@ impl IOfflineFilesErrorInfo_Vtbl { GetDescription: GetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesEvents_Impl: Sized { @@ -679,8 +679,8 @@ impl IOfflineFilesEvents_Vtbl { Ping: Ping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesEvents2_Impl: Sized + IOfflineFilesEvents_Impl { @@ -755,8 +755,8 @@ impl IOfflineFilesEvents2_Vtbl { SettingsChangesApplied: SettingsChangesApplied::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesEvents3_Impl: Sized + IOfflineFilesEvents2_Impl { @@ -789,8 +789,8 @@ impl IOfflineFilesEvents3_Vtbl { PrefetchFileEnd: PrefetchFileEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IOfflineFilesEvents4_Impl: Sized + IOfflineFilesEvents3_Impl { @@ -816,8 +816,8 @@ impl IOfflineFilesEvents4_Vtbl { PrefetchCloseHandleEnd: PrefetchCloseHandleEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IOfflineFilesEventsFilter_Impl: Sized { @@ -850,8 +850,8 @@ impl IOfflineFilesEventsFilter_Vtbl { GetExcludedEvents: GetExcludedEvents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesFileItem_Impl: Sized + IOfflineFilesItem_Impl { @@ -889,8 +889,8 @@ impl IOfflineFilesFileItem_Vtbl { IsEncrypted: IsEncrypted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesFileSysInfo_Impl: Sized { @@ -935,8 +935,8 @@ impl IOfflineFilesFileSysInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesGhostInfo_Impl: Sized { @@ -958,8 +958,8 @@ impl IOfflineFilesGhostInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsGhosted: IsGhosted:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesItem_Impl: Sized { @@ -1030,8 +1030,8 @@ impl IOfflineFilesItem_Vtbl { IsMarkedForDeletion: IsMarkedForDeletion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesItemContainer_Impl: Sized { @@ -1069,8 +1069,8 @@ impl IOfflineFilesItemContainer_Vtbl { EnumItemsEx: EnumItemsEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesItemFilter_Impl: Sized { @@ -1103,8 +1103,8 @@ impl IOfflineFilesItemFilter_Vtbl { GetPatternFilter: GetPatternFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesPinInfo_Impl: Sized { @@ -1157,8 +1157,8 @@ impl IOfflineFilesPinInfo_Vtbl { IsPinnedForFolderRedirection: IsPinnedForFolderRedirection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesPinInfo2_Impl: Sized + IOfflineFilesPinInfo_Impl { @@ -1180,8 +1180,8 @@ impl IOfflineFilesPinInfo2_Vtbl { } Self { base__: IOfflineFilesPinInfo_Vtbl::new::(), IsPartlyPinned: IsPartlyPinned:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesProgress_Impl: Sized { @@ -1226,8 +1226,8 @@ impl IOfflineFilesProgress_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesServerItem_Impl: Sized + IOfflineFilesItem_Impl {} @@ -1236,8 +1236,8 @@ impl IOfflineFilesServerItem_Vtbl { pub const fn new, Impl: IOfflineFilesServerItem_Impl, const OFFSET: isize>() -> IOfflineFilesServerItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1340,8 +1340,8 @@ impl IOfflineFilesSetting_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesShareInfo_Impl: Sized { @@ -1392,8 +1392,8 @@ impl IOfflineFilesShareInfo_Vtbl { IsShareDfsJunction: IsShareDfsJunction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesShareItem_Impl: Sized + IOfflineFilesItem_Impl {} @@ -1402,8 +1402,8 @@ impl IOfflineFilesShareItem_Vtbl { pub const fn new, Impl: IOfflineFilesShareItem_Impl, const OFFSET: isize>() -> IOfflineFilesShareItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesSimpleProgress_Impl: Sized + IOfflineFilesProgress_Impl { @@ -1441,8 +1441,8 @@ impl IOfflineFilesSimpleProgress_Vtbl { ItemResult: ItemResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesSuspend_Impl: Sized { @@ -1458,8 +1458,8 @@ impl IOfflineFilesSuspend_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuspendRoot: SuspendRoot:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesSuspendInfo_Impl: Sized { @@ -1475,8 +1475,8 @@ impl IOfflineFilesSuspendInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSuspended: IsSuspended:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesSyncConflictHandler_Impl: Sized { @@ -1492,8 +1492,8 @@ impl IOfflineFilesSyncConflictHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveConflict: ResolveConflict:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1588,8 +1588,8 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { GetOriginalInfo: GetOriginalInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesSyncErrorItemInfo_Impl: Sized { @@ -1634,8 +1634,8 @@ impl IOfflineFilesSyncErrorItemInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOfflineFilesSyncProgress_Impl: Sized + IOfflineFilesProgress_Impl { @@ -1673,8 +1673,8 @@ impl IOfflineFilesSyncProgress_Vtbl { SyncItemResult: SyncItemResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOfflineFilesTransparentCacheInfo_Impl: Sized { @@ -1696,7 +1696,7 @@ impl IOfflineFilesTransparentCacheInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTransparentlyCached: IsTransparentlyCached:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs index ef02fc5ade..705638d7d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs @@ -21,8 +21,8 @@ impl IAppxAppInstallerReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXmlDom: GetXmlDom:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBlockMapBlock_Impl: Sized { @@ -54,8 +54,8 @@ impl IAppxBlockMapBlock_Vtbl { GetCompressedSize: GetCompressedSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBlockMapBlocksEnumerator_Impl: Sized { @@ -106,8 +106,8 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -188,8 +188,8 @@ impl IAppxBlockMapFile_Vtbl { ValidateFileHash: ValidateFileHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBlockMapFilesEnumerator_Impl: Sized { @@ -240,8 +240,8 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -309,8 +309,8 @@ impl IAppxBlockMapReader_Vtbl { GetStream: GetStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -365,8 +365,8 @@ impl IAppxBundleFactory_Vtbl { CreateBundleManifestReader: CreateBundleManifestReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -392,8 +392,8 @@ impl IAppxBundleFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBundleReader2: CreateBundleReader2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestOptionalBundleInfo_Impl: Sized { @@ -444,8 +444,8 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { GetPackageInfoItems: GetPackageInfoItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestOptionalBundleInfoEnumerator_Impl: Sized { @@ -496,8 +496,8 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestPackageInfo_Impl: Sized { @@ -587,8 +587,8 @@ impl IAppxBundleManifestPackageInfo_Vtbl { GetResources: GetResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestPackageInfo2_Impl: Sized { @@ -639,8 +639,8 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { GetIsDefaultApplicablePackage: GetIsDefaultApplicablePackage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestPackageInfo3_Impl: Sized { @@ -662,8 +662,8 @@ impl IAppxBundleManifestPackageInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetDeviceFamilies: GetTargetDeviceFamilies:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestPackageInfo4_Impl: Sized { @@ -685,8 +685,8 @@ impl IAppxBundleManifestPackageInfo4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsStub: GetIsStub:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestPackageInfoEnumerator_Impl: Sized { @@ -737,8 +737,8 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -793,8 +793,8 @@ impl IAppxBundleManifestReader_Vtbl { GetStream: GetStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleManifestReader2_Impl: Sized { @@ -816,8 +816,8 @@ impl IAppxBundleManifestReader2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOptionalBundles: GetOptionalBundles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxBundleReader_Impl: Sized { @@ -894,8 +894,8 @@ impl IAppxBundleReader_Vtbl { GetPayloadPackage: GetPayloadPackage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -925,8 +925,8 @@ impl IAppxBundleWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -949,8 +949,8 @@ impl IAppxBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -980,8 +980,8 @@ impl IAppxBundleWriter3_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1018,8 +1018,8 @@ impl IAppxBundleWriter4_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxContentGroup_Impl: Sized { @@ -1057,8 +1057,8 @@ impl IAppxContentGroup_Vtbl { GetFiles: GetFiles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxContentGroupFilesEnumerator_Impl: Sized { @@ -1109,8 +1109,8 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxContentGroupMapReader_Impl: Sized { @@ -1148,8 +1148,8 @@ impl IAppxContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxContentGroupMapWriter_Impl: Sized { @@ -1182,8 +1182,8 @@ impl IAppxContentGroupMapWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxContentGroupsEnumerator_Impl: Sized { @@ -1234,8 +1234,8 @@ impl IAppxContentGroupsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxDigestProvider_Impl: Sized { @@ -1257,8 +1257,8 @@ impl IAppxDigestProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDigest: GetDigest:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1288,8 +1288,8 @@ impl IAppxEncryptedBundleWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1312,8 +1312,8 @@ impl IAppxEncryptedBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1343,8 +1343,8 @@ impl IAppxEncryptedBundleWriter3_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1374,8 +1374,8 @@ impl IAppxEncryptedPackageWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1395,8 +1395,8 @@ impl IAppxEncryptedPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFilesEncrypted: AddPayloadFilesEncrypted:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1492,8 +1492,8 @@ impl IAppxEncryptionFactory_Vtbl { CreateEncryptedBundleReader: CreateEncryptedBundleReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1522,8 +1522,8 @@ impl IAppxEncryptionFactory2_Vtbl { CreateEncryptedPackageWriter: CreateEncryptedPackageWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1579,8 +1579,8 @@ impl IAppxEncryptionFactory3_Vtbl { CreateEncryptedBundleWriter: CreateEncryptedBundleWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1600,8 +1600,8 @@ impl IAppxEncryptionFactory4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncryptPackage: EncryptPackage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1643,8 +1643,8 @@ impl IAppxEncryptionFactory5_Vtbl { CreateEncryptedBundleReader2: CreateEncryptedBundleReader2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1725,8 +1725,8 @@ impl IAppxFactory_Vtbl { CreateValidatedBlockMapReader: CreateValidatedBlockMapReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1781,8 +1781,8 @@ impl IAppxFactory2_Vtbl { CreateContentGroupMapWriter: CreateContentGroupMapWriter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1837,8 +1837,8 @@ impl IAppxFactory3_Vtbl { CreateAppInstallerReader: CreateAppInstallerReader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1919,8 +1919,8 @@ impl IAppxFile_Vtbl { GetStream: GetStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxFilesEnumerator_Impl: Sized { @@ -1971,8 +1971,8 @@ impl IAppxFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestApplication_Impl: Sized { @@ -2010,8 +2010,8 @@ impl IAppxManifestApplication_Vtbl { GetAppUserModelId: GetAppUserModelId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestApplicationsEnumerator_Impl: Sized { @@ -2062,8 +2062,8 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestCapabilitiesEnumerator_Impl: Sized { @@ -2114,8 +2114,8 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestDeviceCapabilitiesEnumerator_Impl: Sized { @@ -2166,8 +2166,8 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestDriverConstraint_Impl: Sized { @@ -2218,8 +2218,8 @@ impl IAppxManifestDriverConstraint_Vtbl { GetMinDate: GetMinDate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestDriverConstraintsEnumerator_Impl: Sized { @@ -2270,8 +2270,8 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestDriverDependenciesEnumerator_Impl: Sized { @@ -2322,8 +2322,8 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestDriverDependency_Impl: Sized { @@ -2345,8 +2345,8 @@ impl IAppxManifestDriverDependency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDriverConstraints: GetDriverConstraints:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestHostRuntimeDependenciesEnumerator_Impl: Sized { @@ -2397,8 +2397,8 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestHostRuntimeDependency_Impl: Sized { @@ -2449,8 +2449,8 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestHostRuntimeDependency2_Impl: Sized { @@ -2472,8 +2472,8 @@ impl IAppxManifestHostRuntimeDependency2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPackageFamilyName: GetPackageFamilyName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestMainPackageDependenciesEnumerator_Impl: Sized { @@ -2524,8 +2524,8 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestMainPackageDependency_Impl: Sized { @@ -2576,8 +2576,8 @@ impl IAppxManifestMainPackageDependency_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestOSPackageDependenciesEnumerator_Impl: Sized { @@ -2628,8 +2628,8 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestOSPackageDependency_Impl: Sized { @@ -2667,8 +2667,8 @@ impl IAppxManifestOSPackageDependency_Vtbl { GetVersion: GetVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestOptionalPackageInfo_Impl: Sized { @@ -2706,8 +2706,8 @@ impl IAppxManifestOptionalPackageInfo_Vtbl { GetMainPackageName: GetMainPackageName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestPackageDependenciesEnumerator_Impl: Sized { @@ -2758,8 +2758,8 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestPackageDependency_Impl: Sized { @@ -2810,8 +2810,8 @@ impl IAppxManifestPackageDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestPackageDependency2_Impl: Sized + IAppxManifestPackageDependency_Impl { @@ -2836,8 +2836,8 @@ impl IAppxManifestPackageDependency2_Vtbl { GetMaxMajorVersionTested: GetMaxMajorVersionTested::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAppxManifestPackageDependency3_Impl: Sized { @@ -2859,8 +2859,8 @@ impl IAppxManifestPackageDependency3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsOptional: GetIsOptional:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestPackageId_Impl: Sized { @@ -2976,8 +2976,8 @@ impl IAppxManifestPackageId_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestPackageId2_Impl: Sized + IAppxManifestPackageId_Impl { @@ -2999,8 +2999,8 @@ impl IAppxManifestPackageId2_Vtbl { } Self { base__: IAppxManifestPackageId_Vtbl::new::(), GetArchitecture2: GetArchitecture2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAppxManifestProperties_Impl: Sized { @@ -3038,8 +3038,8 @@ impl IAppxManifestProperties_Vtbl { GetStringValue: GetStringValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestQualifiedResource_Impl: Sized { @@ -3090,8 +3090,8 @@ impl IAppxManifestQualifiedResource_Vtbl { GetDXFeatureLevel: GetDXFeatureLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestQualifiedResourcesEnumerator_Impl: Sized { @@ -3142,8 +3142,8 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3276,8 +3276,8 @@ impl IAppxManifestReader_Vtbl { GetStream: GetStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3303,8 +3303,8 @@ impl IAppxManifestReader2_Vtbl { } Self { base__: IAppxManifestReader_Vtbl::new::(), GetQualifiedResources: GetQualifiedResources:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3346,8 +3346,8 @@ impl IAppxManifestReader3_Vtbl { GetTargetDeviceFamilies: GetTargetDeviceFamilies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3373,8 +3373,8 @@ impl IAppxManifestReader4_Vtbl { } Self { base__: IAppxManifestReader3_Vtbl::new::(), GetOptionalPackageInfo: GetOptionalPackageInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAppxManifestReader5_Impl: Sized { @@ -3399,8 +3399,8 @@ impl IAppxManifestReader5_Vtbl { GetMainPackageDependencies: GetMainPackageDependencies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestReader6_Impl: Sized { @@ -3425,8 +3425,8 @@ impl IAppxManifestReader6_Vtbl { GetIsNonQualifiedResourcePackage: GetIsNonQualifiedResourcePackage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestReader7_Impl: Sized { @@ -3477,8 +3477,8 @@ impl IAppxManifestReader7_Vtbl { GetHostRuntimeDependencies: GetHostRuntimeDependencies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestResourcesEnumerator_Impl: Sized { @@ -3529,8 +3529,8 @@ impl IAppxManifestResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestTargetDeviceFamiliesEnumerator_Impl: Sized { @@ -3581,8 +3581,8 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxManifestTargetDeviceFamily_Impl: Sized { @@ -3633,8 +3633,8 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { GetMaxVersionTested: GetMaxVersionTested::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3692,8 +3692,8 @@ impl IAppxPackageEditor_Vtbl { UpdatePackageManifest: UpdatePackageManifest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxPackageReader_Impl: Sized { @@ -3770,8 +3770,8 @@ impl IAppxPackageReader_Vtbl { GetManifest: GetManifest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3801,8 +3801,8 @@ impl IAppxPackageWriter_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3822,8 +3822,8 @@ impl IAppxPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3843,8 +3843,8 @@ impl IAppxPackageWriter3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFiles: AddPayloadFiles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxPackagingDiagnosticEventSink_Impl: Sized { @@ -3870,8 +3870,8 @@ impl IAppxPackagingDiagnosticEventSink_Vtbl { ReportError: ReportError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxPackagingDiagnosticEventSinkManager_Impl: Sized { @@ -3887,8 +3887,8 @@ impl IAppxPackagingDiagnosticEventSinkManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSinkForProcess: SetSinkForProcess:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppxSourceContentGroupMapReader_Impl: Sized { @@ -3926,7 +3926,7 @@ impl IAppxSourceContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs index 8b1eb64a99..546452a1f0 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs @@ -63,8 +63,8 @@ impl IOpcCertificateEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Cryptography\"`"] @@ -107,8 +107,8 @@ impl IOpcCertificateSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -301,8 +301,8 @@ impl IOpcDigitalSignature_Vtbl { GetSignatureXml: GetSignatureXml::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcDigitalSignatureEnumerator_Impl: Sized { @@ -366,8 +366,8 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`"] @@ -475,8 +475,8 @@ impl IOpcDigitalSignatureManager_Vtbl { ReplaceSignatureXml: ReplaceSignatureXml::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_System_Com\"`"] @@ -577,8 +577,8 @@ impl IOpcFactory_Vtbl { CreateDigitalSignatureManager: CreateDigitalSignatureManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcPackage_Impl: Sized { @@ -616,8 +616,8 @@ impl IOpcPackage_Vtbl { GetRelationshipSet: GetRelationshipSet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -698,8 +698,8 @@ impl IOpcPart_Vtbl { GetCompressionOptions: GetCompressionOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcPartEnumerator_Impl: Sized { @@ -763,8 +763,8 @@ impl IOpcPartEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -839,8 +839,8 @@ impl IOpcPartSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -895,8 +895,8 @@ impl IOpcPartUri_Vtbl { IsRelationshipsPartUri: IsRelationshipsPartUri::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -977,8 +977,8 @@ impl IOpcRelationship_Vtbl { GetTargetMode: GetTargetMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcRelationshipEnumerator_Impl: Sized { @@ -1042,8 +1042,8 @@ impl IOpcRelationshipEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcRelationshipSelector_Impl: Sized { @@ -1081,8 +1081,8 @@ impl IOpcRelationshipSelector_Vtbl { GetSelectionCriterion: GetSelectionCriterion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcRelationshipSelectorEnumerator_Impl: Sized { @@ -1146,8 +1146,8 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcRelationshipSelectorSet_Impl: Sized { @@ -1192,8 +1192,8 @@ impl IOpcRelationshipSelectorSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1294,8 +1294,8 @@ impl IOpcRelationshipSet_Vtbl { GetRelationshipsContentStream: GetRelationshipsContentStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignatureCustomObject_Impl: Sized { @@ -1311,8 +1311,8 @@ impl IOpcSignatureCustomObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXml: GetXml:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignatureCustomObjectEnumerator_Impl: Sized { @@ -1376,8 +1376,8 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignatureCustomObjectSet_Impl: Sized { @@ -1422,8 +1422,8 @@ impl IOpcSignatureCustomObjectSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1498,8 +1498,8 @@ impl IOpcSignaturePartReference_Vtbl { GetTransformMethod: GetTransformMethod::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignaturePartReferenceEnumerator_Impl: Sized { @@ -1563,8 +1563,8 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1613,8 +1613,8 @@ impl IOpcSignaturePartReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1702,8 +1702,8 @@ impl IOpcSignatureReference_Vtbl { GetDigestValue: GetDigestValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignatureReferenceEnumerator_Impl: Sized { @@ -1767,8 +1767,8 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1817,8 +1817,8 @@ impl IOpcSignatureReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1906,8 +1906,8 @@ impl IOpcSignatureRelationshipReference_Vtbl { GetRelationshipSelectorEnumerator: GetRelationshipSelectorEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpcSignatureRelationshipReferenceEnumerator_Impl: Sized { @@ -1971,8 +1971,8 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2034,8 +2034,8 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2236,8 +2236,8 @@ impl IOpcSigningOptions_Vtbl { SetSignaturePartName: SetSignaturePartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2292,7 +2292,7 @@ impl IOpcUri_Vtbl { CombinePartUri: CombinePartUri::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs index 6c28de27bc..dc37fc152a 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs @@ -41,8 +41,8 @@ impl IEnumVdsObject_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAdmin_Impl: Sized { @@ -68,8 +68,8 @@ impl IVdsAdmin_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAdvancedDisk_Impl: Sized { @@ -169,8 +169,8 @@ impl IVdsAdvancedDisk_Vtbl { Clean: Clean::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAdvancedDisk2_Impl: Sized { @@ -186,8 +186,8 @@ impl IVdsAdvancedDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangePartitionType: ChangePartitionType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAdvancedDisk3_Impl: Sized { @@ -219,8 +219,8 @@ impl IVdsAdvancedDisk3_Vtbl { GetUniqueId: GetUniqueId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAdviseSink_Impl: Sized { @@ -236,8 +236,8 @@ impl IVdsAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsAsync_Impl: Sized { @@ -270,8 +270,8 @@ impl IVdsAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsController_Impl: Sized { @@ -351,8 +351,8 @@ impl IVdsController_Vtbl { SetStatus: SetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsControllerControllerPort_Impl: Sized { @@ -374,8 +374,8 @@ impl IVdsControllerControllerPort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryControllerPorts: QueryControllerPorts:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsControllerPort_Impl: Sized { @@ -434,8 +434,8 @@ impl IVdsControllerPort_Vtbl { SetStatus: SetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsCreatePartitionEx_Impl: Sized { @@ -457,8 +457,8 @@ impl IVdsCreatePartitionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePartitionEx: CreatePartitionEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDisk_Impl: Sized { @@ -525,8 +525,8 @@ impl IVdsDisk_Vtbl { ClearFlags: ClearFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDisk2_Impl: Sized { @@ -542,8 +542,8 @@ impl IVdsDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSANMode: SetSANMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDisk3_Impl: Sized { @@ -569,8 +569,8 @@ impl IVdsDisk3_Vtbl { QueryFreeExtents: QueryFreeExtents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDiskOnline_Impl: Sized { @@ -596,8 +596,8 @@ impl IVdsDiskOnline_Vtbl { Offline: Offline::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDiskPartitionMF_Impl: Sized { @@ -649,8 +649,8 @@ impl IVdsDiskPartitionMF_Vtbl { FormatPartitionEx: FormatPartitionEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDiskPartitionMF2_Impl: Sized { @@ -672,8 +672,8 @@ impl IVdsDiskPartitionMF2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FormatPartitionEx2: FormatPartitionEx2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDrive_Impl: Sized { @@ -733,8 +733,8 @@ impl IVdsDrive_Vtbl { SetStatus: SetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsDrive2_Impl: Sized { @@ -750,8 +750,8 @@ impl IVdsDrive2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHbaPort_Impl: Sized { @@ -777,8 +777,8 @@ impl IVdsHbaPort_Vtbl { SetAllPathStatuses: SetAllPathStatuses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProvider_Impl: Sized { @@ -817,8 +817,8 @@ impl IVdsHwProvider_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProviderPrivate_Impl: Sized { @@ -840,8 +840,8 @@ impl IVdsHwProviderPrivate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryIfCreatedLun: QueryIfCreatedLun:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProviderPrivateMpio_Impl: Sized { @@ -860,8 +860,8 @@ impl IVdsHwProviderPrivateMpio_Vtbl { SetAllPathStatusesFromHbaPort: SetAllPathStatusesFromHbaPort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProviderStoragePools_Impl: Sized { @@ -912,8 +912,8 @@ impl IVdsHwProviderStoragePools_Vtbl { QueryMaxLunCreateSizeInStoragePool: QueryMaxLunCreateSizeInStoragePool::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProviderType_Impl: Sized { @@ -935,8 +935,8 @@ impl IVdsHwProviderType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType: GetProviderType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsHwProviderType2_Impl: Sized { @@ -958,8 +958,8 @@ impl IVdsHwProviderType2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType2: GetProviderType2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiInitiatorAdapter_Impl: Sized { @@ -1017,8 +1017,8 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { LogoutFromTarget: LogoutFromTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiInitiatorPortal_Impl: Sized { @@ -1077,8 +1077,8 @@ impl IVdsIscsiInitiatorPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiPortal_Impl: Sized { @@ -1157,8 +1157,8 @@ impl IVdsIscsiPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiPortalGroup_Impl: Sized { @@ -1242,8 +1242,8 @@ impl IVdsIscsiPortalGroup_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiPortalLocal_Impl: Sized { @@ -1259,8 +1259,8 @@ impl IVdsIscsiPortalLocal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIpsecSecurityLocal: SetIpsecSecurityLocal:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsIscsiTarget_Impl: Sized { @@ -1372,8 +1372,8 @@ impl IVdsIscsiTarget_Vtbl { GetConnectedInitiators: GetConnectedInitiators::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLun_Impl: Sized { @@ -1558,8 +1558,8 @@ impl IVdsLun_Vtbl { QueryMaxLunExtendSize: QueryMaxLunExtendSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLun2_Impl: Sized { @@ -1585,8 +1585,8 @@ impl IVdsLun2_Vtbl { ApplyHints2: ApplyHints2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunControllerPorts_Impl: Sized { @@ -1618,8 +1618,8 @@ impl IVdsLunControllerPorts_Vtbl { QueryActiveControllerPorts: QueryActiveControllerPorts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunIscsi_Impl: Sized { @@ -1651,8 +1651,8 @@ impl IVdsLunIscsi_Vtbl { QueryAssociatedTargets: QueryAssociatedTargets::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunMpio_Impl: Sized { @@ -1698,8 +1698,8 @@ impl IVdsLunMpio_Vtbl { GetSupportedLbPolicies: GetSupportedLbPolicies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunNaming_Impl: Sized { @@ -1715,8 +1715,8 @@ impl IVdsLunNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunNumber_Impl: Sized { @@ -1738,8 +1738,8 @@ impl IVdsLunNumber_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLunNumber: GetLunNumber:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsLunPlex_Impl: Sized { @@ -1792,8 +1792,8 @@ impl IVdsLunPlex_Vtbl { ApplyHints: ApplyHints::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsMaintenance_Impl: Sized { @@ -1826,8 +1826,8 @@ impl IVdsMaintenance_Vtbl { PulseMaintenance: PulseMaintenance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Vhd\"`"] @@ -1909,8 +1909,8 @@ impl IVdsOpenVDisk_Vtbl { Expand: Expand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsPack_Impl: Sized { @@ -2028,8 +2028,8 @@ impl IVdsPack_Vtbl { Recover: Recover::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsPack2_Impl: Sized { @@ -2051,8 +2051,8 @@ impl IVdsPack2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateVolume2: CreateVolume2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsProvider_Impl: Sized { @@ -2068,8 +2068,8 @@ impl IVdsProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties: GetProperties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsProviderPrivate_Impl: Sized { @@ -2108,8 +2108,8 @@ impl IVdsProviderPrivate_Vtbl { OnUnload: OnUnload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsProviderSupport_Impl: Sized { @@ -2131,8 +2131,8 @@ impl IVdsProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetVersionSupport: GetVersionSupport:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsRemovable_Impl: Sized { @@ -2158,8 +2158,8 @@ impl IVdsRemovable_Vtbl { Eject: Eject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsService_Impl: Sized { @@ -2326,8 +2326,8 @@ impl IVdsService_Vtbl { ClearFlags: ClearFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceHba_Impl: Sized { @@ -2349,8 +2349,8 @@ impl IVdsServiceHba_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryHbaPorts: QueryHbaPorts:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceInitialization_Impl: Sized { @@ -2366,8 +2366,8 @@ impl IVdsServiceInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceIscsi_Impl: Sized { @@ -2440,8 +2440,8 @@ impl IVdsServiceIscsi_Vtbl { RememberTargetSharedSecret: RememberTargetSharedSecret::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceLoader_Impl: Sized { @@ -2463,8 +2463,8 @@ impl IVdsServiceLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadService: LoadService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceSAN_Impl: Sized { @@ -2496,8 +2496,8 @@ impl IVdsServiceSAN_Vtbl { SetSANPolicy: SetSANPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceSw_Impl: Sized { @@ -2519,8 +2519,8 @@ impl IVdsServiceSw_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiskObject: GetDiskObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsServiceUninstallDisk_Impl: Sized { @@ -2552,8 +2552,8 @@ impl IVdsServiceUninstallDisk_Vtbl { UninstallDisks: UninstallDisks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsStoragePool_Impl: Sized { @@ -2625,8 +2625,8 @@ impl IVdsStoragePool_Vtbl { QueryAllocatedStoragePools: QueryAllocatedStoragePools::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystem_Impl: Sized { @@ -2764,8 +2764,8 @@ impl IVdsSubSystem_Vtbl { QueryMaxLunCreateSize: QueryMaxLunCreateSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystem2_Impl: Sized { @@ -2823,8 +2823,8 @@ impl IVdsSubSystem2_Vtbl { QueryMaxLunCreateSize2: QueryMaxLunCreateSize2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystemImportTarget_Impl: Sized { @@ -2856,8 +2856,8 @@ impl IVdsSubSystemImportTarget_Vtbl { SetImportTarget: SetImportTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystemInterconnect_Impl: Sized { @@ -2879,8 +2879,8 @@ impl IVdsSubSystemInterconnect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedInterconnects: GetSupportedInterconnects:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystemIscsi_Impl: Sized { @@ -2938,8 +2938,8 @@ impl IVdsSubSystemIscsi_Vtbl { SetIpsecGroupPresharedKey: SetIpsecGroupPresharedKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSubSystemNaming_Impl: Sized { @@ -2955,8 +2955,8 @@ impl IVdsSubSystemNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsSwProvider_Impl: Sized { @@ -2994,8 +2994,8 @@ impl IVdsSwProvider_Vtbl { CreatePack: CreatePack::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Vhd\"`"] @@ -3057,8 +3057,8 @@ impl IVdsVDisk_Vtbl { GetDeviceName: GetDeviceName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Vhd\"`"] @@ -3127,8 +3127,8 @@ impl IVdsVdProvider_Vtbl { GetVDiskFromDisk: GetVDiskFromDisk::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolume_Impl: Sized { @@ -3259,8 +3259,8 @@ impl IVdsVolume_Vtbl { ClearFlags: ClearFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolume2_Impl: Sized { @@ -3276,8 +3276,8 @@ impl IVdsVolume2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumeMF_Impl: Sized { @@ -3365,8 +3365,8 @@ impl IVdsVolumeMF_Vtbl { ClearFileSystemFlags: ClearFileSystemFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumeMF2_Impl: Sized { @@ -3411,8 +3411,8 @@ impl IVdsVolumeMF2_Vtbl { FormatEx: FormatEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumeMF3_Impl: Sized { @@ -3451,8 +3451,8 @@ impl IVdsVolumeMF3_Vtbl { OfflineVolume: OfflineVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumeOnline_Impl: Sized { @@ -3468,8 +3468,8 @@ impl IVdsVolumeOnline_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Online: Online:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumePlex_Impl: Sized { @@ -3521,8 +3521,8 @@ impl IVdsVolumePlex_Vtbl { Repair: Repair::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVdsVolumeShrink_Impl: Sized { @@ -3560,7 +3560,7 @@ impl IVdsVolumeShrink_Vtbl { Shrink: Shrink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs index d02aa872e4..0daeb19770 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs @@ -41,8 +41,8 @@ impl IVssAdmin_Vtbl { AbortAllSnapshotsInProgress: AbortAllSnapshotsInProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssAdminEx_Impl: Sized + IVssAdmin_Impl { @@ -87,8 +87,8 @@ impl IVssAdminEx_Vtbl { SetProviderContext: SetProviderContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVssAsync_Impl: Sized { @@ -121,8 +121,8 @@ impl IVssAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssComponent_Impl: Sized { @@ -412,8 +412,8 @@ impl IVssComponent_Vtbl { GetDifferencedFile: GetDifferencedFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssComponentEx_Impl: Sized + IVssComponent_Impl { @@ -498,8 +498,8 @@ impl IVssComponentEx_Vtbl { GetRestoreName: GetRestoreName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVssComponentEx2_Impl: Sized + IVssComponentEx_Impl { @@ -525,8 +525,8 @@ impl IVssComponentEx2_Vtbl { GetFailure: GetFailure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IVssCreateExpressWriterMetadata_Impl: Sized { @@ -594,8 +594,8 @@ impl IVssCreateExpressWriterMetadata_Vtbl { SaveAsXML: SaveAsXML::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] @@ -790,8 +790,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { QueryDiffAreasForSnapshot: QueryDiffAreasForSnapshot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssDifferentialSoftwareSnapshotMgmt2_Impl: Sized + IVssDifferentialSoftwareSnapshotMgmt_Impl { @@ -837,8 +837,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { SetSnapshotPriority: SetSnapshotPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVssDifferentialSoftwareSnapshotMgmt3_Impl: Sized + IVssDifferentialSoftwareSnapshotMgmt2_Impl { @@ -885,8 +885,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { QuerySnapshotDeltaBitmap: QuerySnapshotDeltaBitmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IVssEnumMgmtObject_Impl: Sized { @@ -926,8 +926,8 @@ impl IVssEnumMgmtObject_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssEnumObject_Impl: Sized { @@ -967,8 +967,8 @@ impl IVssEnumObject_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssExpressWriter_Impl: Sized { @@ -1014,8 +1014,8 @@ impl IVssExpressWriter_Vtbl { Unregister: Unregister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1099,8 +1099,8 @@ impl IVssFileShareSnapshotProvider_Vtbl { SetSnapshotProperty: SetSnapshotProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_VirtualDiskService\"`"] @@ -1158,8 +1158,8 @@ impl IVssHardwareSnapshotProvider_Vtbl { OnLunEmpty: OnLunEmpty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_VirtualDiskService\"`"] @@ -1215,8 +1215,8 @@ impl IVssHardwareSnapshotProviderEx_Vtbl { OnReuseLuns: OnReuseLuns::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVssProviderCreateSnapshotSet_Impl: Sized { @@ -1277,8 +1277,8 @@ impl IVssProviderCreateSnapshotSet_Vtbl { AbortSnapshots: AbortSnapshots::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssProviderNotifications_Impl: Sized { @@ -1304,8 +1304,8 @@ impl IVssProviderNotifications_Vtbl { OnUnload: OnUnload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssSnapshotMgmt_Impl: Sized { @@ -1356,8 +1356,8 @@ impl IVssSnapshotMgmt_Vtbl { QuerySnapshotsByVolume: QuerySnapshotsByVolume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssSnapshotMgmt2_Impl: Sized { @@ -1379,8 +1379,8 @@ impl IVssSnapshotMgmt2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMinDiffAreaSize: GetMinDiffAreaSize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1484,8 +1484,8 @@ impl IVssSoftwareSnapshotProvider_Vtbl { QueryRevertStatus: QueryRevertStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssWMDependency_Impl: Sized { @@ -1518,8 +1518,8 @@ impl IVssWMDependency_Vtbl { GetComponentName: GetComponentName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssWMFiledesc_Impl: Sized { @@ -1596,8 +1596,8 @@ impl IVssWMFiledesc_Vtbl { GetBackupTypeMask: GetBackupTypeMask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVssWriterComponents_Impl: Sized { diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs index 819c181e38..1682d701c2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs @@ -18,8 +18,8 @@ impl IPrintDocumentPackageStatusEvent_Vtbl { PackageStatusUpdated: PackageStatusUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintDocumentPackageTarget_Impl: Sized { @@ -52,8 +52,8 @@ impl IPrintDocumentPackageTarget_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintDocumentPackageTarget2_Impl: Sized { @@ -85,8 +85,8 @@ impl IPrintDocumentPackageTarget2_Vtbl { GetTargetIppPrintDevice: GetTargetIppPrintDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -115,8 +115,8 @@ impl IPrintDocumentPackageTargetFactory_Vtbl { CreateDocumentPackageTargetForPrintJob: CreateDocumentPackageTargetForPrintJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsPrintJob_Impl: Sized { @@ -142,8 +142,8 @@ impl IXpsPrintJob_Vtbl { GetJobStatus: GetJobStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -163,7 +163,7 @@ impl IXpsPrintJobStream_Vtbl { } Self { base__: super::super::super::System::Com::ISequentialStream_Vtbl::new::(), Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs index 835811670e..a5f822ba7d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs @@ -50,8 +50,8 @@ impl IXpsDocumentPackageTarget_Vtbl { GetXpsType: GetXpsType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -93,8 +93,8 @@ impl IXpsDocumentPackageTarget3D_Vtbl { GetXpsOMFactory: GetXpsOMFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMBrush_Impl: Sized + IXpsOMShareable_Impl { @@ -126,8 +126,8 @@ impl IXpsOMBrush_Vtbl { SetOpacity: SetOpacity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -282,8 +282,8 @@ impl IXpsOMCanvas_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -319,8 +319,8 @@ impl IXpsOMColorProfileResource_Vtbl { SetContent: SetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -403,8 +403,8 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -766,8 +766,8 @@ impl IXpsOMCoreProperties_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMDashCollection_Impl: Sized { @@ -833,8 +833,8 @@ impl IXpsOMDashCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMDictionary_Impl: Sized { @@ -946,8 +946,8 @@ impl IXpsOMDictionary_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -1055,8 +1055,8 @@ impl IXpsOMDocument_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMDocumentCollection_Impl: Sized { @@ -1122,8 +1122,8 @@ impl IXpsOMDocumentCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -1185,8 +1185,8 @@ impl IXpsOMDocumentSequence_Vtbl { SetPrintTicketResource: SetPrintTicketResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -1235,8 +1235,8 @@ impl IXpsOMDocumentStructureResource_Vtbl { SetContent: SetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -1285,8 +1285,8 @@ impl IXpsOMFontResource_Vtbl { GetEmbeddingOption: GetEmbeddingOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -1369,8 +1369,8 @@ impl IXpsOMFontResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMGeometry_Impl: Sized + IXpsOMShareable_Impl { @@ -1481,8 +1481,8 @@ impl IXpsOMGeometry_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMGeometryFigure_Impl: Sized { @@ -1647,8 +1647,8 @@ impl IXpsOMGeometryFigure_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMGeometryFigureCollection_Impl: Sized { @@ -1714,8 +1714,8 @@ impl IXpsOMGeometryFigureCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2022,8 +2022,8 @@ impl IXpsOMGlyphs_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMGlyphsEditor_Impl: Sized { @@ -2203,8 +2203,8 @@ impl IXpsOMGlyphsEditor_Vtbl { SetDeviceFontName: SetDeviceFontName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMGradientBrush_Impl: Sized + IXpsOMBrush_Impl { @@ -2322,8 +2322,8 @@ impl IXpsOMGradientBrush_Vtbl { SetColorInterpolationMode: SetColorInterpolationMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMGradientStop_Impl: Sized { @@ -2395,8 +2395,8 @@ impl IXpsOMGradientStop_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMGradientStopCollection_Impl: Sized { @@ -2462,8 +2462,8 @@ impl IXpsOMGradientStopCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMImageBrush_Impl: Sized + IXpsOMTileBrush_Impl { @@ -2528,8 +2528,8 @@ impl IXpsOMImageBrush_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -2578,8 +2578,8 @@ impl IXpsOMImageResource_Vtbl { GetImageType: GetImageType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -2662,8 +2662,8 @@ impl IXpsOMImageResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMLinearGradientBrush_Impl: Sized + IXpsOMGradientBrush_Impl { @@ -2728,8 +2728,8 @@ impl IXpsOMLinearGradientBrush_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMMatrixTransform_Impl: Sized + IXpsOMShareable_Impl { @@ -2774,8 +2774,8 @@ impl IXpsOMMatrixTransform_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMNameCollection_Impl: Sized { @@ -2813,8 +2813,8 @@ impl IXpsOMNameCollection_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3322,8 +3322,8 @@ impl IXpsOMObjectFactory_Vtbl { CreateReadOnlyStreamOnFile: CreateReadOnlyStreamOnFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3495,8 +3495,8 @@ impl IXpsOMObjectFactory1_Vtbl { CreateRemoteDictionaryResourceFromStream1: CreateRemoteDictionaryResourceFromStream1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3606,8 +3606,8 @@ impl IXpsOMPackage_Vtbl { WriteToStream: WriteToStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3650,8 +3650,8 @@ impl IXpsOMPackage1_Vtbl { WriteToStream1: WriteToStream1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3677,8 +3677,8 @@ impl IXpsOMPackageTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateXpsOMPackageWriter: CreateXpsOMPackageWriter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3735,8 +3735,8 @@ impl IXpsOMPackageWriter_Vtbl { IsClosed: IsClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -3766,8 +3766,8 @@ impl IXpsOMPackageWriter3D_Vtbl { SetModelPrintTicket: SetModelPrintTicket::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -4015,8 +4015,8 @@ impl IXpsOMPage_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -4052,8 +4052,8 @@ impl IXpsOMPage1_Vtbl { Write1: Write1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMPageReference_Impl: Sized { @@ -4250,8 +4250,8 @@ impl IXpsOMPageReference_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMPageReferenceCollection_Impl: Sized { @@ -4317,8 +4317,8 @@ impl IXpsOMPageReferenceCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -4354,8 +4354,8 @@ impl IXpsOMPart_Vtbl { SetPartName: SetPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMPartResources_Impl: Sized { @@ -4419,8 +4419,8 @@ impl IXpsOMPartResources_Vtbl { GetRemoteDictionaryResources: GetRemoteDictionaryResources::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -4490,8 +4490,8 @@ impl IXpsOMPartUriCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4892,8 +4892,8 @@ impl IXpsOMPath_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -4929,8 +4929,8 @@ impl IXpsOMPrintTicketResource_Vtbl { SetContent: SetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMRadialGradientBrush_Impl: Sized + IXpsOMGradientBrush_Impl { @@ -5015,8 +5015,8 @@ impl IXpsOMRadialGradientBrush_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5052,8 +5052,8 @@ impl IXpsOMRemoteDictionaryResource_Vtbl { SetDictionary: SetDictionary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5089,8 +5089,8 @@ impl IXpsOMRemoteDictionaryResource1_Vtbl { Write1: Write1::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5173,8 +5173,8 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5187,8 +5187,8 @@ impl IXpsOMResource_Vtbl { pub const fn new, Impl: IXpsOMResource_Impl, const OFFSET: isize>() -> IXpsOMResource_Vtbl { Self { base__: IXpsOMPart_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMShareable_Impl: Sized { @@ -5226,8 +5226,8 @@ impl IXpsOMShareable_Vtbl { GetType: GetType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5276,8 +5276,8 @@ impl IXpsOMSignatureBlockResource_Vtbl { SetContent: SetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5360,8 +5360,8 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMSolidColorBrush_Impl: Sized + IXpsOMBrush_Impl { @@ -5400,8 +5400,8 @@ impl IXpsOMSolidColorBrush_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5450,8 +5450,8 @@ impl IXpsOMStoryFragmentsResource_Vtbl { SetContent: SetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -5477,8 +5477,8 @@ impl IXpsOMThumbnailGenerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GenerateThumbnail: GenerateThumbnail:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsOMTileBrush_Impl: Sized + IXpsOMBrush_Impl { @@ -5603,8 +5603,8 @@ impl IXpsOMTileBrush_Vtbl { SetTileMode: SetTileMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5879,8 +5879,8 @@ impl IXpsOMVisual_Vtbl { SetLanguage: SetLanguage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXpsOMVisualBrush_Impl: Sized + IXpsOMTileBrush_Impl { @@ -5958,8 +5958,8 @@ impl IXpsOMVisualBrush_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IXpsOMVisualCollection_Impl: Sized { @@ -6025,8 +6025,8 @@ impl IXpsOMVisualCollection_Vtbl { Append: Append::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -6180,8 +6180,8 @@ impl IXpsSignature_Vtbl { SetSignatureXml: SetSignatureXml::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -6262,8 +6262,8 @@ impl IXpsSignatureBlock_Vtbl { CreateRequest: CreateRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsSignatureBlockCollection_Impl: Sized { @@ -6308,8 +6308,8 @@ impl IXpsSignatureBlockCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsSignatureCollection_Impl: Sized { @@ -6354,8 +6354,8 @@ impl IXpsSignatureCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -6484,8 +6484,8 @@ impl IXpsSignatureManager_Vtbl { SavePackageToStream: SavePackageToStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -6621,8 +6621,8 @@ impl IXpsSignatureRequest_Vtbl { GetSignature: GetSignature::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXpsSignatureRequestCollection_Impl: Sized { @@ -6667,8 +6667,8 @@ impl IXpsSignatureRequestCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`"] @@ -6863,7 +6863,7 @@ impl IXpsSigningOptions_Vtbl { SetFlags: SetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs index 01027cf866..19030843a5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs @@ -51,8 +51,8 @@ impl IABContainer_Vtbl { ResolveNames: ResolveNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -194,8 +194,8 @@ impl IAddrBook_Vtbl { PrepareRecips: PrepareRecips::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -208,8 +208,8 @@ impl IAttach_Vtbl { pub const fn new, Impl: IAttach_Impl, const OFFSET: isize>() -> IAttach_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -265,8 +265,8 @@ impl IDistList_Vtbl { ResolveNames: ResolveNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -286,8 +286,8 @@ impl IMAPIAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -350,8 +350,8 @@ impl IMAPIContainer_Vtbl { GetSearchCriteria: GetSearchCriteria::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMAPIControl_Impl: Sized { @@ -390,8 +390,8 @@ impl IMAPIControl_Vtbl { GetState: GetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -502,8 +502,8 @@ impl IMAPIFolder_Vtbl { EmptyFolder: EmptyFolder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMAPIProgress_Impl: Sized { @@ -550,8 +550,8 @@ impl IMAPIProgress_Vtbl { SetLimits: SetLimits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -644,8 +644,8 @@ impl IMAPIProp_Vtbl { GetIDsFromNames: GetIDsFromNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -689,8 +689,8 @@ impl IMAPIStatus_Vtbl { FlushQueues: FlushQueues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -867,8 +867,8 @@ impl IMAPITable_Vtbl { SetCollapseState: SetCollapseState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -881,8 +881,8 @@ impl IMailUser_Vtbl { pub const fn new, Impl: IMailUser_Impl, const OFFSET: isize>() -> IMailUser_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -972,8 +972,8 @@ impl IMessage_Vtbl { SetReadFlag: SetReadFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1104,8 +1104,8 @@ impl IMsgStore_Vtbl { NotifyNewMail: NotifyNewMail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1118,8 +1118,8 @@ impl IProfSect_Vtbl { pub const fn new, Impl: IProfSect_Impl, const OFFSET: isize>() -> IProfSect_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1163,8 +1163,8 @@ impl IPropData_Vtbl { HrAddObjProps: HrAddObjProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1239,8 +1239,8 @@ impl IProviderAdmin_Vtbl { OpenProfileSection: OpenProfileSection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1319,8 +1319,8 @@ impl ITableData_Vtbl { HrDeleteRows: HrDeleteRows::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWABExtInit_Impl: Sized { @@ -1336,8 +1336,8 @@ impl IWABExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWABObject_Impl: Sized { @@ -1452,7 +1452,7 @@ impl IWABObject_Vtbl { SetMe: SetMe::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs index 9eeb0d8df5..54569ba90f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs @@ -21,8 +21,8 @@ impl IAmsiStream_Vtbl { Read: Read::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAntimalware_Impl: Sized { @@ -48,8 +48,8 @@ impl IAntimalware_Vtbl { CloseSession: CloseSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAntimalware2_Impl: Sized + IAntimalware_Impl { @@ -71,8 +71,8 @@ impl IAntimalware2_Vtbl { } Self { base__: IAntimalware_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAntimalwareProvider_Impl: Sized { @@ -117,8 +117,8 @@ impl IAntimalwareProvider_Vtbl { DisplayName: DisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAntimalwareProvider2_Impl: Sized + IAntimalwareProvider_Impl { @@ -140,8 +140,8 @@ impl IAntimalwareProvider2_Vtbl { } Self { base__: IAntimalwareProvider_Vtbl::new::(), Notify: Notify:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAntimalwareUacProvider_Impl: Sized { @@ -179,7 +179,7 @@ impl IAntimalwareUacProvider_Vtbl { DisplayName: DisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs index 50d5816b08..51b04f3afd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs @@ -48,8 +48,8 @@ impl IAssemblyCache_Vtbl { InstallAssembly: InstallAssembly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -86,8 +86,8 @@ impl IAssemblyCacheItem_Vtbl { AbortItem: AbortItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAssemblyName_Impl: Sized { @@ -168,8 +168,8 @@ impl IAssemblyName_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -219,8 +219,8 @@ impl IEnumMsmDependency_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -270,8 +270,8 @@ impl IEnumMsmError_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumMsmString_Impl: Sized { @@ -317,8 +317,8 @@ impl IEnumMsmString_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -367,8 +367,8 @@ impl IMsmDependencies_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -405,8 +405,8 @@ impl IMsmDependency_Vtbl { Version: Version::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -483,8 +483,8 @@ impl IMsmError_Vtbl { ModuleKeys: ModuleKeys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -533,8 +533,8 @@ impl IMsmErrors_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -560,8 +560,8 @@ impl IMsmGetFiles_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ModuleFiles: ModuleFiles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -680,8 +680,8 @@ impl IMsmMerge_Vtbl { ExtractFiles: ExtractFiles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -724,8 +724,8 @@ impl IMsmStrings_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPMApplicationInfo_Impl: Sized { @@ -1332,8 +1332,8 @@ impl IPMApplicationInfo_Vtbl { set_Title: set_Title::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMApplicationInfoEnumerator_Impl: Sized { @@ -1355,8 +1355,8 @@ impl IPMApplicationInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMBackgroundServiceAgentInfo_Impl: Sized { @@ -1502,8 +1502,8 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { set_IsScheduleAllowed: set_IsScheduleAllowed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMBackgroundServiceAgentInfoEnumerator_Impl: Sized { @@ -1525,8 +1525,8 @@ impl IPMBackgroundServiceAgentInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMBackgroundWorkerInfo_Impl: Sized { @@ -1604,8 +1604,8 @@ impl IPMBackgroundWorkerInfo_Vtbl { IsBootWorker: IsBootWorker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMBackgroundWorkerInfoEnumerator_Impl: Sized { @@ -1627,8 +1627,8 @@ impl IPMBackgroundWorkerInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1903,8 +1903,8 @@ impl IPMDeploymentManager_Vtbl { FixJunctionsForAppsOnSDCard: FixJunctionsForAppsOnSDCard::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMEnumerationManager_Impl: Sized { @@ -2096,8 +2096,8 @@ impl IPMEnumerationManager_Vtbl { get_StartAppEnumeratorBlob: get_StartAppEnumeratorBlob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionCachedFileUpdaterInfo_Impl: Sized { @@ -2119,8 +2119,8 @@ impl IPMExtensionCachedFileUpdaterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SupportsUpdates: SupportsUpdates:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionContractInfo_Impl: Sized { @@ -2136,8 +2136,8 @@ impl IPMExtensionContractInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_InvocationInfo: get_InvocationInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionFileExtensionInfo_Impl: Sized { @@ -2198,8 +2198,8 @@ impl IPMExtensionFileExtensionInfo_Vtbl { get_AllFileTypes: get_AllFileTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionFileOpenPickerInfo_Impl: Sized { @@ -2231,8 +2231,8 @@ impl IPMExtensionFileOpenPickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionFileSavePickerInfo_Impl: Sized { @@ -2264,8 +2264,8 @@ impl IPMExtensionFileSavePickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionInfo_Impl: Sized { @@ -2325,8 +2325,8 @@ impl IPMExtensionInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionInfoEnumerator_Impl: Sized { @@ -2348,8 +2348,8 @@ impl IPMExtensionInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionProtocolInfo_Impl: Sized { @@ -2375,8 +2375,8 @@ impl IPMExtensionProtocolInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMExtensionShareTargetInfo_Impl: Sized { @@ -2415,8 +2415,8 @@ impl IPMExtensionShareTargetInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMLiveTileJobInfo_Impl: Sized { @@ -2656,8 +2656,8 @@ impl IPMLiveTileJobInfo_Vtbl { set_DownloadState: set_DownloadState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMLiveTileJobInfoEnumerator_Impl: Sized { @@ -2679,8 +2679,8 @@ impl IPMLiveTileJobInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTaskInfo_Impl: Sized { @@ -2911,8 +2911,8 @@ impl IPMTaskInfo_Vtbl { IsOptedForExtendedMem: IsOptedForExtendedMem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTaskInfoEnumerator_Impl: Sized { @@ -2934,8 +2934,8 @@ impl IPMTaskInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTileInfo_Impl: Sized { @@ -3193,8 +3193,8 @@ impl IPMTileInfo_Vtbl { set_IsAutoRestoreDisabled: set_IsAutoRestoreDisabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTileInfoEnumerator_Impl: Sized { @@ -3216,8 +3216,8 @@ impl IPMTileInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTilePropertyEnumerator_Impl: Sized { @@ -3239,8 +3239,8 @@ impl IPMTilePropertyEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPMTilePropertyInfo_Impl: Sized { @@ -3279,8 +3279,8 @@ impl IPMTilePropertyInfo_Vtbl { set_Property: set_Property::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IValidate_Impl: Sized { @@ -3341,7 +3341,7 @@ impl IValidate_Vtbl { Validate: Validate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs index d73a31dcc0..9cb068b2e1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs @@ -18,8 +18,8 @@ impl IAccessibleWinSAT_Vtbl { SetAccessiblityData: SetAccessiblityData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IInitiateWinSATAssessment_Impl: Sized { @@ -52,8 +52,8 @@ impl IInitiateWinSATAssessment_Vtbl { CancelAssessment: CancelAssessment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -108,8 +108,8 @@ impl IProvideWinSATAssessmentInfo_Vtbl { Description: Description::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -190,8 +190,8 @@ impl IProvideWinSATResultsInfo_Vtbl { RatingStateDesc: RatingStateDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -217,8 +217,8 @@ impl IProvideWinSATVisuals_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Bitmap: get_Bitmap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -244,8 +244,8 @@ impl IQueryAllWinSATAssessments_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), get_AllXML: get_AllXML:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IQueryOEMWinSATCustomization_Impl: Sized { @@ -267,8 +267,8 @@ impl IQueryOEMWinSATCustomization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOEMPrePopulationInfo: GetOEMPrePopulationInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -310,8 +310,8 @@ impl IQueryRecentWinSATAssessment_Vtbl { Info: Info::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWinSATInitiateEvents_Impl: Sized { @@ -337,7 +337,7 @@ impl IWinSATInitiateEvents_Vtbl { WinSATUpdate: WinSATUpdate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs index 7c04b5225d..f4cde8f2c6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs @@ -11,8 +11,8 @@ impl IActionOnCLREvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApartmentCallback_Impl: Sized { @@ -28,8 +28,8 @@ impl IApartmentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoCallback: DoCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppDomainBinding_Impl: Sized { @@ -45,8 +45,8 @@ impl IAppDomainBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAppDomain: OnAppDomain:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRAppDomainResourceMonitor_Impl: Sized { @@ -79,8 +79,8 @@ impl ICLRAppDomainResourceMonitor_Vtbl { GetCurrentCpuTime: GetCurrentCpuTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -175,8 +175,8 @@ impl ICLRAssemblyIdentityManager_Vtbl { IsStronglyNamed: IsStronglyNamed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRAssemblyReferenceList_Impl: Sized { @@ -202,8 +202,8 @@ impl ICLRAssemblyReferenceList_Vtbl { IsAssemblyReferenceInList: IsAssemblyReferenceInList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRControl_Impl: Sized { @@ -229,8 +229,8 @@ impl ICLRControl_Vtbl { SetAppDomainManagerType: SetAppDomainManagerType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security\"`"] @@ -307,8 +307,8 @@ impl ICLRDebugManager_Vtbl { SetSymbolReadingPolicy: SetSymbolReadingPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRDebugging_Impl: Sized { @@ -334,8 +334,8 @@ impl ICLRDebugging_Vtbl { CanUnloadNow: CanUnloadNow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRDebuggingLibraryProvider_Impl: Sized { @@ -357,8 +357,8 @@ impl ICLRDebuggingLibraryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideLibrary: ProvideLibrary:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRDomainManager_Impl: Sized { @@ -384,8 +384,8 @@ impl ICLRDomainManager_Vtbl { SetPropertiesForDefaultAppDomain: SetPropertiesForDefaultAppDomain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRErrorReportingManager_Impl: Sized { @@ -418,8 +418,8 @@ impl ICLRErrorReportingManager_Vtbl { EndCustomDump: EndCustomDump::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRGCManager_Impl: Sized { @@ -452,8 +452,8 @@ impl ICLRGCManager_Vtbl { SetGCStartupLimits: SetGCStartupLimits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRGCManager2_Impl: Sized + ICLRGCManager_Impl { @@ -469,8 +469,8 @@ impl ICLRGCManager2_Vtbl { } Self { base__: ICLRGCManager_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICLRHostBindingPolicyManager_Impl: Sized { @@ -496,8 +496,8 @@ impl ICLRHostBindingPolicyManager_Vtbl { EvaluatePolicy: EvaluatePolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRHostProtectionManager_Impl: Sized { @@ -523,8 +523,8 @@ impl ICLRHostProtectionManager_Vtbl { SetEagerSerializeGrantSets: SetEagerSerializeGrantSets::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRIoCompletionManager_Impl: Sized { @@ -540,8 +540,8 @@ impl ICLRIoCompletionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRMemoryNotificationCallback_Impl: Sized { @@ -557,8 +557,8 @@ impl ICLRMemoryNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMemoryNotification: OnMemoryNotification:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -635,8 +635,8 @@ impl ICLRMetaHost_Vtbl { ExitProcess: ExitProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -656,8 +656,8 @@ impl ICLRMetaHostPolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestedRuntime: GetRequestedRuntime:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLROnEventManager_Impl: Sized { @@ -683,8 +683,8 @@ impl ICLROnEventManager_Vtbl { UnregisterActionOnEvent: UnregisterActionOnEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRPolicyManager_Impl: Sized { @@ -738,8 +738,8 @@ impl ICLRPolicyManager_Vtbl { SetUnhandledExceptionPolicy: SetUnhandledExceptionPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRProbingAssemblyEnum_Impl: Sized { @@ -755,8 +755,8 @@ impl ICLRProbingAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRProfiling_Impl: Sized { @@ -772,8 +772,8 @@ impl ICLRProfiling_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AttachProfiler: AttachProfiler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRReferenceAssemblyEnum_Impl: Sized { @@ -789,8 +789,8 @@ impl ICLRReferenceAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRRuntimeHost_Impl: Sized { @@ -889,8 +889,8 @@ impl ICLRRuntimeHost_Vtbl { ExecuteInDefaultAppDomain: ExecuteInDefaultAppDomain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRRuntimeInfo_Impl: Sized { @@ -1010,8 +1010,8 @@ impl ICLRRuntimeInfo_Vtbl { IsStarted: IsStarted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRStrongName_Impl: Sized { @@ -1228,8 +1228,8 @@ impl ICLRStrongName_Vtbl { StrongNameTokenFromPublicKey: StrongNameTokenFromPublicKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRStrongName2_Impl: Sized { @@ -1261,8 +1261,8 @@ impl ICLRStrongName2_Vtbl { StrongNameSignatureVerificationEx2: StrongNameSignatureVerificationEx2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRStrongName3_Impl: Sized { @@ -1295,8 +1295,8 @@ impl ICLRStrongName3_Vtbl { StrongNameDigestEmbed: StrongNameDigestEmbed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRSyncManager_Impl: Sized { @@ -1354,8 +1354,8 @@ impl ICLRSyncManager_Vtbl { DeleteRWLockOwnerIterator: DeleteRWLockOwnerIterator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRTask_Impl: Sized { @@ -1462,8 +1462,8 @@ impl ICLRTask_Vtbl { SetTaskIdentifier: SetTaskIdentifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICLRTask2_Impl: Sized + ICLRTask_Impl { @@ -1489,8 +1489,8 @@ impl ICLRTask2_Vtbl { EndPreventAsyncAbort: EndPreventAsyncAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICLRTaskManager_Impl: Sized { @@ -1555,8 +1555,8 @@ impl ICLRTaskManager_Vtbl { GetCurrentTaskType: GetCurrentTaskType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICatalogServices_Impl: Sized { @@ -1582,8 +1582,8 @@ impl ICatalogServices_Vtbl { NotAutodone: NotAutodone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorConfiguration_Impl: Sized { @@ -1623,8 +1623,8 @@ impl ICorConfiguration_Vtbl { AddDebuggerSpecialThread: AddDebuggerSpecialThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorRuntimeHost_Impl: Sized { @@ -1835,8 +1835,8 @@ impl ICorRuntimeHost_Vtbl { CurrentDomain: CurrentDomain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_IO\"`, `\"Win32_System_Threading\"`"] @@ -1971,8 +1971,8 @@ impl ICorThreadpool_Vtbl { CorGetAvailableThreads: CorGetAvailableThreads::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebuggerInfo_Impl: Sized { @@ -1994,8 +1994,8 @@ impl IDebuggerInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsDebuggerAttached: IsDebuggerAttached:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebuggerThreadControl_Impl: Sized { @@ -2028,8 +2028,8 @@ impl IDebuggerThreadControl_Vtbl { StartBlockingForDebugger: StartBlockingForDebugger::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGCHost_Impl: Sized { @@ -2076,8 +2076,8 @@ impl IGCHost_Vtbl { SetVirtualMemLimit: SetVirtualMemLimit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGCHost2_Impl: Sized + IGCHost_Impl { @@ -2093,8 +2093,8 @@ impl IGCHost2_Vtbl { } Self { base__: IGCHost_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IGCHostControl_Impl: Sized { @@ -2110,8 +2110,8 @@ impl IGCHostControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestVirtualMemLimit: RequestVirtualMemLimit:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGCThreadControl_Impl: Sized { @@ -2144,8 +2144,8 @@ impl IGCThreadControl_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostAssemblyManager_Impl: Sized { @@ -2183,8 +2183,8 @@ impl IHostAssemblyManager_Vtbl { GetAssemblyStore: GetAssemblyStore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2214,8 +2214,8 @@ impl IHostAssemblyStore_Vtbl { ProvideModule: ProvideModule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostAutoEvent_Impl: Sized { @@ -2237,8 +2237,8 @@ impl IHostAutoEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Wait: Wait::, Set: Set:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostControl_Impl: Sized { @@ -2264,8 +2264,8 @@ impl IHostControl_Vtbl { SetAppDomainManager: SetAppDomainManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostCrst_Impl: Sized { @@ -2311,8 +2311,8 @@ impl IHostCrst_Vtbl { SetSpinCount: SetSpinCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostGCManager_Impl: Sized { @@ -2345,8 +2345,8 @@ impl IHostGCManager_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostIoCompletionManager_Impl: Sized { @@ -2465,8 +2465,8 @@ impl IHostIoCompletionManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostMalloc_Impl: Sized { @@ -2499,8 +2499,8 @@ impl IHostMalloc_Vtbl { Free: Free::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostManualEvent_Impl: Sized { @@ -2533,8 +2533,8 @@ impl IHostManualEvent_Vtbl { Set: Set::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostMemoryManager_Impl: Sized { @@ -2628,8 +2628,8 @@ impl IHostMemoryManager_Vtbl { ReleasedVirtualAddressSpace: ReleasedVirtualAddressSpace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostPolicyManager_Impl: Sized { @@ -2662,8 +2662,8 @@ impl IHostPolicyManager_Vtbl { OnFailure: OnFailure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostSecurityContext_Impl: Sized { @@ -2685,8 +2685,8 @@ impl IHostSecurityContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Capture: Capture:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostSecurityManager_Impl: Sized { @@ -2752,8 +2752,8 @@ impl IHostSecurityManager_Vtbl { SetSecurityContext: SetSecurityContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostSemaphore_Impl: Sized { @@ -2785,8 +2785,8 @@ impl IHostSemaphore_Vtbl { ReleaseSemaphore: ReleaseSemaphore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostSyncManager_Impl: Sized { @@ -2909,8 +2909,8 @@ impl IHostSyncManager_Vtbl { CreateSemaphoreA: CreateSemaphoreA::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostTask_Impl: Sized { @@ -2970,8 +2970,8 @@ impl IHostTask_Vtbl { SetCLRTask: SetCLRTask::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Threading\"`"] @@ -3137,8 +3137,8 @@ impl IHostTaskManager_Vtbl { SetCLRTaskManager: SetCLRTaskManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Threading\"`"] @@ -3214,8 +3214,8 @@ impl IHostThreadpoolManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IManagedObject_Impl: Sized { @@ -3247,8 +3247,8 @@ impl IManagedObject_Vtbl { GetObjectIdentity: GetObjectIdentity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3274,8 +3274,8 @@ impl IObjectHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unwrap: Unwrap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITypeName_Impl: Sized { @@ -3360,8 +3360,8 @@ impl ITypeName_Vtbl { GetAssemblyName: GetAssemblyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITypeNameBuilder_Impl: Sized { @@ -3463,8 +3463,8 @@ impl ITypeNameBuilder_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITypeNameFactory_Impl: Sized { @@ -3496,7 +3496,7 @@ impl ITypeNameFactory_Vtbl { GetTypeNameBuilder: GetTypeNameBuilder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs index 7c69871138..cc967a897f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs @@ -174,8 +174,8 @@ impl ICallFrame_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICallFrameEvents_Impl: Sized { @@ -191,8 +191,8 @@ impl ICallFrameEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICallFrameWalker_Impl: Sized { @@ -208,8 +208,8 @@ impl ICallFrameWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWalkInterface: OnWalkInterface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICallIndirect_Impl: Sized { @@ -255,8 +255,8 @@ impl ICallIndirect_Vtbl { GetIID: GetIID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICallInterceptor_Impl: Sized + ICallIndirect_Impl { @@ -288,8 +288,8 @@ impl ICallInterceptor_Vtbl { GetRegisteredSink: GetRegisteredSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICallUnmarshal_Impl: Sized { @@ -315,8 +315,8 @@ impl ICallUnmarshal_Vtbl { ReleaseMarshalData: ReleaseMarshalData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInterfaceRelated_Impl: Sized { @@ -348,7 +348,7 @@ impl IInterfaceRelated_Vtbl { GetIID: GetIID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs index 1c5ce4b9d0..62e87e66f6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs @@ -81,7 +81,7 @@ impl IChannelCredentials_Vtbl { SetIssuedToken: SetIssuedToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs index 0279db5890..f1535529b9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs @@ -4,8 +4,8 @@ impl IDontSupportEventSubscription_Vtbl { pub const fn new, Impl: IDontSupportEventSubscription_Impl, const OFFSET: isize>() -> IDontSupportEventSubscription_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumEventObject_Impl: Sized { @@ -51,8 +51,8 @@ impl IEnumEventObject_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -208,8 +208,8 @@ impl IEventClass_Vtbl { SetTypeLib: SetTypeLib::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -305,8 +305,8 @@ impl IEventClass2_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -375,8 +375,8 @@ impl IEventControl_Vtbl { SetDefaultQuery: SetDefaultQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEventObjectChange_Impl: Sized { @@ -409,8 +409,8 @@ impl IEventObjectChange_Vtbl { ChangedPublisher: ChangedPublisher::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEventObjectChange2_Impl: Sized { @@ -436,8 +436,8 @@ impl IEventObjectChange2_Vtbl { ChangedEventClass: ChangedEventClass::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -519,8 +519,8 @@ impl IEventObjectCollection_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -576,8 +576,8 @@ impl IEventProperty_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -733,8 +733,8 @@ impl IEventPublisher_Vtbl { GetDefaultPropertyCollection: GetDefaultPropertyCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1090,8 +1090,8 @@ impl IEventSubscription_Vtbl { SetInterfaceID: SetInterfaceID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1167,8 +1167,8 @@ impl IEventSystem_Vtbl { RemoveS: RemoveS::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1188,8 +1188,8 @@ impl IFiringControl_Vtbl { } Self { base__: super::IDispatch_Vtbl::new::(), FireSubscription: FireSubscription:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMultiInterfaceEventControl_Impl: Sized { @@ -1274,8 +1274,8 @@ impl IMultiInterfaceEventControl_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMultiInterfacePublisherFilter_Impl: Sized { @@ -1301,8 +1301,8 @@ impl IMultiInterfacePublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPublisherFilter_Impl: Sized { @@ -1328,7 +1328,7 @@ impl IPublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs index 65edf384b5..8ead5e1dd5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs @@ -61,8 +61,8 @@ impl IMarshal_Vtbl { DisconnectObject: DisconnectObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMarshal2_Impl: Sized + IMarshal_Impl {} @@ -71,8 +71,8 @@ impl IMarshal2_Vtbl { pub const fn new, Impl: IMarshal2_Impl, const OFFSET: isize>() -> IMarshal2_Vtbl { Self { base__: IMarshal_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMarshalingStream_Impl: Sized + super::IStream_Impl { @@ -97,7 +97,7 @@ impl IMarshalingStream_Vtbl { GetMarshalingContextAttribute: GetMarshalingContextAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs index b93311689c..e9cef92485 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs @@ -28,8 +28,8 @@ impl IDirectWriterLock_Vtbl { HaveWriteAccess: HaveWriteAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSTATPROPSETSTG_Impl: Sized { @@ -75,8 +75,8 @@ impl IEnumSTATPROPSETSTG_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Variant\"`"] @@ -126,8 +126,8 @@ impl IEnumSTATPROPSTG_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSTATSTG_Impl: Sized { @@ -173,8 +173,8 @@ impl IEnumSTATSTG_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFillLockBytes_Impl: Sized { @@ -226,8 +226,8 @@ impl IFillLockBytes_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILayoutStorage_Impl: Sized { @@ -274,8 +274,8 @@ impl ILayoutStorage_Vtbl { ReLayoutDocfileOnILockBytes: ReLayoutDocfileOnILockBytes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILockBytes_Impl: Sized { @@ -336,8 +336,8 @@ impl ILockBytes_Vtbl { Stat: Stat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersistStorage_Impl: Sized + super::IPersist_Impl { @@ -391,8 +391,8 @@ impl IPersistStorage_Vtbl { HandsOffStorage: HandsOffStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -418,8 +418,8 @@ impl IPropertyBag_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -476,8 +476,8 @@ impl IPropertyBag2_Vtbl { LoadObject: LoadObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPropertySetStorage_Impl: Sized { @@ -535,8 +535,8 @@ impl IPropertySetStorage_Vtbl { Enum: Enum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Variant\"`"] @@ -642,8 +642,8 @@ impl IPropertyStorage_Vtbl { Stat: Stat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRootStorage_Impl: Sized { @@ -659,8 +659,8 @@ impl IRootStorage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SwitchToFile: SwitchToFile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorage_Impl: Sized { @@ -807,7 +807,7 @@ impl IStorage_Vtbl { Stat: Stat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs index 22874a3980..b0998954a4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs @@ -15,8 +15,8 @@ impl IDummyHICONIncluder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Dummy: Dummy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -46,7 +46,7 @@ impl IThumbnailExtractor_Vtbl { OnFileUpdated: OnFileUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs index 01decf97c6..104ce28c3d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs @@ -17,8 +17,8 @@ impl IBindCallbackRedirect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Redirect: Redirect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBindHttpSecurity_Impl: Sized { @@ -40,8 +40,8 @@ impl IBindHttpSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIgnoreCertMask: GetIgnoreCertMask:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBindProtocol_Impl: Sized { @@ -63,8 +63,8 @@ impl IBindProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBinding: CreateBinding:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICatalogFileInfo_Impl: Sized { @@ -96,8 +96,8 @@ impl ICatalogFileInfo_Vtbl { GetJavaTrust: GetJavaTrust::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICodeInstall_Impl: Sized + IWindowForBindingUI_Impl { @@ -113,8 +113,8 @@ impl ICodeInstall_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnCodeInstallProblem: OnCodeInstallProblem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDataFilter_Impl: Sized { @@ -147,8 +147,8 @@ impl IDataFilter_Vtbl { SetEncodingLevel: SetEncodingLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEncodingFilterFactory_Impl: Sized { @@ -186,8 +186,8 @@ impl IEncodingFilterFactory_Vtbl { GetDefaultFilter: GetDefaultFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetBindHandle_Impl: Sized { @@ -209,8 +209,8 @@ impl IGetBindHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBindHandle: GetBindHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHttpNegotiate_Impl: Sized { @@ -248,8 +248,8 @@ impl IHttpNegotiate_Vtbl { OnResponse: OnResponse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHttpNegotiate2_Impl: Sized + IHttpNegotiate_Impl { @@ -265,8 +265,8 @@ impl IHttpNegotiate2_Vtbl { } Self { base__: IHttpNegotiate_Vtbl::new::(), GetRootSecurityId: GetRootSecurityId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IHttpNegotiate3_Impl: Sized + IHttpNegotiate2_Impl { @@ -285,8 +285,8 @@ impl IHttpNegotiate3_Vtbl { GetSerializedClientCertContext: GetSerializedClientCertContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IHttpSecurity_Impl: Sized + IWindowForBindingUI_Impl { @@ -302,8 +302,8 @@ impl IHttpSecurity_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnSecurityProblem: OnSecurityProblem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternet_Impl: Sized {} @@ -312,8 +312,8 @@ impl IInternet_Vtbl { pub const fn new, Impl: IInternet_Impl, const OFFSET: isize>() -> IInternet_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -343,8 +343,8 @@ impl IInternetBindInfo_Vtbl { GetBindString: GetBindString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -364,8 +364,8 @@ impl IInternetBindInfoEx_Vtbl { } Self { base__: IInternetBindInfo_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternetHostSecurityManager_Impl: Sized { @@ -398,8 +398,8 @@ impl IInternetHostSecurityManager_Vtbl { QueryCustomPolicy: QueryCustomPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetPriority_Impl: Sized { @@ -431,8 +431,8 @@ impl IInternetPriority_Vtbl { GetPriority: GetPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetProtocol_Impl: Sized + IInternetProtocolRoot_Impl { @@ -478,8 +478,8 @@ impl IInternetProtocol_Vtbl { UnlockRequest: UnlockRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternetProtocolEx_Impl: Sized + IInternetProtocol_Impl { @@ -495,8 +495,8 @@ impl IInternetProtocolEx_Vtbl { } Self { base__: IInternetProtocol_Vtbl::new::(), StartEx: StartEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IInternetProtocolInfo_Impl: Sized { @@ -536,8 +536,8 @@ impl IInternetProtocolInfo_Vtbl { QueryInfo: QueryInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetProtocolRoot_Impl: Sized { @@ -591,8 +591,8 @@ impl IInternetProtocolRoot_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetProtocolSink_Impl: Sized { @@ -632,8 +632,8 @@ impl IInternetProtocolSink_Vtbl { ReportResult: ReportResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetProtocolSinkStackable_Impl: Sized { @@ -666,8 +666,8 @@ impl IInternetProtocolSinkStackable_Vtbl { RollbackSwitch: RollbackSwitch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetSecurityManager_Impl: Sized { @@ -741,8 +741,8 @@ impl IInternetSecurityManager_Vtbl { GetZoneMappings: GetZoneMappings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetSecurityManagerEx_Impl: Sized + IInternetSecurityManager_Impl { @@ -758,8 +758,8 @@ impl IInternetSecurityManagerEx_Vtbl { } Self { base__: IInternetSecurityManager_Vtbl::new::(), ProcessUrlActionEx: ProcessUrlActionEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternetSecurityManagerEx2_Impl: Sized + IInternetSecurityManagerEx_Impl { @@ -799,8 +799,8 @@ impl IInternetSecurityManagerEx2_Vtbl { QueryCustomPolicyEx2: QueryCustomPolicyEx2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IInternetSecurityMgrSite_Impl: Sized { @@ -832,8 +832,8 @@ impl IInternetSecurityMgrSite_Vtbl { EnableModeless: EnableModeless::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetSession_Impl: Sized { @@ -894,8 +894,8 @@ impl IInternetSession_Vtbl { GetSessionOption: GetSessionOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetThreadSwitch_Impl: Sized { @@ -921,8 +921,8 @@ impl IInternetThreadSwitch_Vtbl { Continue: Continue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetZoneManager_Impl: Sized { @@ -1024,8 +1024,8 @@ impl IInternetZoneManager_Vtbl { CopyTemplatePoliciesToZone: CopyTemplatePoliciesToZone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetZoneManagerEx_Impl: Sized + IInternetZoneManager_Impl { @@ -1051,8 +1051,8 @@ impl IInternetZoneManagerEx_Vtbl { SetZoneActionPolicyEx: SetZoneActionPolicyEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternetZoneManagerEx2_Impl: Sized + IInternetZoneManagerEx_Impl { @@ -1092,8 +1092,8 @@ impl IInternetZoneManagerEx2_Vtbl { FixUnsecureSettings: FixUnsecureSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMonikerProp_Impl: Sized { @@ -1109,8 +1109,8 @@ impl IMonikerProp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PutProperty: PutProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersistMoniker_Impl: Sized { @@ -1176,8 +1176,8 @@ impl IPersistMoniker_Vtbl { GetCurMoniker: GetCurMoniker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`"] @@ -1221,8 +1221,8 @@ impl ISoftDistExt_Vtbl { AsyncInstallDistributionUnit: AsyncInstallDistributionUnit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUriBuilderFactory_Impl: Sized { @@ -1260,8 +1260,8 @@ impl IUriBuilderFactory_Vtbl { CreateInitializedIUriBuilder: CreateInitializedIUriBuilder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUriContainer_Impl: Sized { @@ -1283,8 +1283,8 @@ impl IUriContainer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIUri: GetIUri:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinInetCacheHints_Impl: Sized { @@ -1300,8 +1300,8 @@ impl IWinInetCacheHints_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetCacheExtension: SetCacheExtension:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinInetCacheHints2_Impl: Sized + IWinInetCacheHints_Impl { @@ -1317,8 +1317,8 @@ impl IWinInetCacheHints2_Vtbl { } Self { base__: IWinInetCacheHints_Vtbl::new::(), SetCacheExtension2: SetCacheExtension2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWinInetFileStream_Impl: Sized { @@ -1344,8 +1344,8 @@ impl IWinInetFileStream_Vtbl { SetDeleteFile: SetDeleteFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinInetHttpInfo_Impl: Sized + IWinInetInfo_Impl { @@ -1361,8 +1361,8 @@ impl IWinInetHttpInfo_Vtbl { } Self { base__: IWinInetInfo_Vtbl::new::(), QueryInfo: QueryInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWinInetHttpTimeouts_Impl: Sized { @@ -1378,8 +1378,8 @@ impl IWinInetHttpTimeouts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestTimeouts: GetRequestTimeouts:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWinInetInfo_Impl: Sized { @@ -1395,8 +1395,8 @@ impl IWinInetInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryOption: QueryOption:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowForBindingUI_Impl: Sized { @@ -1418,8 +1418,8 @@ impl IWindowForBindingUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWrappedProtocol_Impl: Sized { @@ -1435,8 +1435,8 @@ impl IWrappedProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWrapperCode: GetWrapperCode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IZoneIdentifier_Impl: Sized { @@ -1475,8 +1475,8 @@ impl IZoneIdentifier_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IZoneIdentifier2_Impl: Sized + IZoneIdentifier_Impl { @@ -1542,7 +1542,7 @@ impl IZoneIdentifier2_Vtbl { RemoveAppZoneId: RemoveAppZoneId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs index 764392d072..f3bea97e66 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs @@ -81,8 +81,8 @@ impl AsyncIAdviseSink_Vtbl { Finish_OnClose: Finish_OnClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -112,8 +112,8 @@ impl AsyncIAdviseSink2_Vtbl { Finish_OnLinkSrcChange: Finish_OnLinkSrcChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait AsyncIMultiQI_Impl: Sized { @@ -139,8 +139,8 @@ impl AsyncIMultiQI_Vtbl { Finish_QueryMultipleInterfaces: Finish_QueryMultipleInterfaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIPipeByte_Impl: Sized { @@ -180,8 +180,8 @@ impl AsyncIPipeByte_Vtbl { Finish_Push: Finish_Push::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIPipeDouble_Impl: Sized { @@ -221,8 +221,8 @@ impl AsyncIPipeDouble_Vtbl { Finish_Push: Finish_Push::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIPipeLong_Impl: Sized { @@ -262,8 +262,8 @@ impl AsyncIPipeLong_Vtbl { Finish_Push: Finish_Push::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIUnknown_Impl: Sized { @@ -317,8 +317,8 @@ impl AsyncIUnknown_Vtbl { Finish_Release: Finish_Release::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActivationFilter_Impl: Sized { @@ -340,8 +340,8 @@ impl IActivationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleActivation: HandleActivation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAddrExclusionControl_Impl: Sized { @@ -367,8 +367,8 @@ impl IAddrExclusionControl_Vtbl { UpdateAddrExclusionList: UpdateAddrExclusionList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAddrTrackingControl_Impl: Sized { @@ -394,8 +394,8 @@ impl IAddrTrackingControl_Vtbl { DisableCOMDynamicAddrTracking: DisableCOMDynamicAddrTracking::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -446,8 +446,8 @@ impl IAdviseSink_Vtbl { OnClose: OnClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -467,8 +467,8 @@ impl IAdviseSink2_Vtbl { } Self { base__: IAdviseSink_Vtbl::new::(), OnLinkSrcChange: OnLinkSrcChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAgileObject_Impl: Sized {} @@ -477,8 +477,8 @@ impl IAgileObject_Vtbl { pub const fn new, Impl: IAgileObject_Impl, const OFFSET: isize>() -> IAgileObject_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAsyncManager_Impl: Sized { @@ -517,8 +517,8 @@ impl IAsyncManager_Vtbl { GetState: GetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAsyncRpcChannelBuffer_Impl: Sized + IRpcChannelBuffer2_Impl { @@ -551,8 +551,8 @@ impl IAsyncRpcChannelBuffer_Vtbl { GetDestCtxEx: GetDestCtxEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IAuthenticate_Impl: Sized { @@ -568,8 +568,8 @@ impl IAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Authenticate: Authenticate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAuthenticateEx_Impl: Sized + IAuthenticate_Impl { @@ -585,8 +585,8 @@ impl IAuthenticateEx_Vtbl { } Self { base__: IAuthenticate_Vtbl::new::(), AuthenticateEx: AuthenticateEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBindCtx_Impl: Sized { @@ -686,8 +686,8 @@ impl IBindCtx_Vtbl { RevokeObjectParam: RevokeObjectParam::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBindHost_Impl: Sized { @@ -720,8 +720,8 @@ impl IBindHost_Vtbl { MonikerBindToObject: MonikerBindToObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -799,8 +799,8 @@ impl IBindStatusCallback_Vtbl { OnObjectAvailable: OnObjectAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -820,8 +820,8 @@ impl IBindStatusCallbackEx_Vtbl { } Self { base__: IBindStatusCallback_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IBinding_Impl: Sized { @@ -881,8 +881,8 @@ impl IBinding_Vtbl { GetBindResult: GetBindResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBlockingLock_Impl: Sized { @@ -904,8 +904,8 @@ impl IBlockingLock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lock: Lock::, Unlock: Unlock:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICallFactory_Impl: Sized { @@ -927,8 +927,8 @@ impl ICallFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCall: CreateCall:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICancelMethodCalls_Impl: Sized { @@ -954,8 +954,8 @@ impl ICancelMethodCalls_Vtbl { TestCancel: TestCancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICatInformation_Impl: Sized { @@ -1039,8 +1039,8 @@ impl ICatInformation_Vtbl { EnumReqCategoriesOfClass: EnumReqCategoriesOfClass::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICatRegister_Impl: Sized { @@ -1094,8 +1094,8 @@ impl ICatRegister_Vtbl { UnRegisterClassReqCategories: UnRegisterClassReqCategories::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IChannelHook_Impl: Sized { @@ -1149,8 +1149,8 @@ impl IChannelHook_Vtbl { ServerFillBuffer: ServerFillBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClassActivator_Impl: Sized { @@ -1166,8 +1166,8 @@ impl IClassActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassObject: GetClassObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClassFactory_Impl: Sized { @@ -1193,8 +1193,8 @@ impl IClassFactory_Vtbl { LockServer: LockServer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClientSecurity_Impl: Sized { @@ -1233,8 +1233,8 @@ impl IClientSecurity_Vtbl { CopyProxy: CopyProxy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComThreadingInfo_Impl: Sized { @@ -1292,8 +1292,8 @@ impl IComThreadingInfo_Vtbl { SetCurrentLogicalThreadId: SetCurrentLogicalThreadId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConnectionPoint_Impl: Sized { @@ -1364,8 +1364,8 @@ impl IConnectionPoint_Vtbl { EnumConnections: EnumConnections::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConnectionPointContainer_Impl: Sized { @@ -1403,8 +1403,8 @@ impl IConnectionPointContainer_Vtbl { FindConnectionPoint: FindConnectionPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContext_Impl: Sized { @@ -1450,8 +1450,8 @@ impl IContext_Vtbl { EnumContextProps: EnumContextProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextCallback_Impl: Sized { @@ -1467,8 +1467,8 @@ impl IContextCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ContextCallback: ContextCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataAdviseHolder_Impl: Sized { @@ -1520,8 +1520,8 @@ impl IDataAdviseHolder_Vtbl { SendOnDataChange: SendOnDataChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -1624,8 +1624,8 @@ impl IDataObject_Vtbl { EnumDAdvise: EnumDAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1681,8 +1681,8 @@ impl IDispatch_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumCATEGORYINFO_Impl: Sized { @@ -1728,8 +1728,8 @@ impl IEnumCATEGORYINFO_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumConnectionPoints_Impl: Sized { @@ -1775,8 +1775,8 @@ impl IEnumConnectionPoints_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumConnections_Impl: Sized { @@ -1822,8 +1822,8 @@ impl IEnumConnections_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumContextProps_Impl: Sized { @@ -1882,8 +1882,8 @@ impl IEnumContextProps_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumFORMATETC_Impl: Sized { @@ -1929,8 +1929,8 @@ impl IEnumFORMATETC_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumGUID_Impl: Sized { @@ -1976,8 +1976,8 @@ impl IEnumGUID_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumMoniker_Impl: Sized { @@ -2023,8 +2023,8 @@ impl IEnumMoniker_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSTATDATA_Impl: Sized { @@ -2070,8 +2070,8 @@ impl IEnumSTATDATA_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumString_Impl: Sized { @@ -2117,8 +2117,8 @@ impl IEnumString_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumUnknown_Impl: Sized { @@ -2164,8 +2164,8 @@ impl IEnumUnknown_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IErrorInfo_Impl: Sized { @@ -2242,8 +2242,8 @@ impl IErrorInfo_Vtbl { GetHelpContext: GetHelpContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IErrorLog_Impl: Sized { @@ -2259,8 +2259,8 @@ impl IErrorLog_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddError: AddError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExternalConnection_Impl: Sized { @@ -2286,8 +2286,8 @@ impl IExternalConnection_Vtbl { ReleaseConnection: ReleaseConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFastRundown_Impl: Sized {} @@ -2296,8 +2296,8 @@ impl IFastRundown_Vtbl { pub const fn new, Impl: IFastRundown_Impl, const OFFSET: isize>() -> IFastRundown_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IForegroundTransfer_Impl: Sized { @@ -2313,8 +2313,8 @@ impl IForegroundTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowForegroundTransfer: AllowForegroundTransfer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGlobalInterfaceTable_Impl: Sized { @@ -2353,8 +2353,8 @@ impl IGlobalInterfaceTable_Vtbl { GetInterfaceFromGlobal: GetInterfaceFromGlobal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGlobalOptions_Impl: Sized { @@ -2382,8 +2382,8 @@ impl IGlobalOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInitializeSpy_Impl: Sized { @@ -2423,8 +2423,8 @@ impl IInitializeSpy_Vtbl { PostUninitialize: PostUninitialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternalUnknown_Impl: Sized { @@ -2440,8 +2440,8 @@ impl IInternalUnknown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInternalInterface: QueryInternalInterface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMachineGlobalObjectTable_Impl: Sized { @@ -2480,8 +2480,8 @@ impl IMachineGlobalObjectTable_Vtbl { RevokeObject: RevokeObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMalloc_Impl: Sized { @@ -2535,8 +2535,8 @@ impl IMalloc_Vtbl { HeapMinimize: HeapMinimize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMallocSpy_Impl: Sized { @@ -2632,8 +2632,8 @@ impl IMallocSpy_Vtbl { PostHeapMinimize: PostHeapMinimize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMoniker_Impl: Sized + IPersistStream_Impl { @@ -2804,8 +2804,8 @@ impl IMoniker_Vtbl { IsSystemMoniker: IsSystemMoniker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMultiQI_Impl: Sized { @@ -2821,8 +2821,8 @@ impl IMultiQI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryMultipleInterfaces: QueryMultipleInterfaces:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INoMarshal_Impl: Sized {} @@ -2831,8 +2831,8 @@ impl INoMarshal_Vtbl { pub const fn new, Impl: INoMarshal_Impl, const OFFSET: isize>() -> INoMarshal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOplockStorage_Impl: Sized { @@ -2858,8 +2858,8 @@ impl IOplockStorage_Vtbl { OpenStorageEx: OpenStorageEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPSFactoryBuffer_Impl: Sized { @@ -2891,8 +2891,8 @@ impl IPSFactoryBuffer_Vtbl { CreateStub: CreateStub::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersist_Impl: Sized { @@ -2914,8 +2914,8 @@ impl IPersist_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassID: GetClassID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersistFile_Impl: Sized + IPersist_Impl { @@ -2968,8 +2968,8 @@ impl IPersistFile_Vtbl { GetCurFile: GetCurFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPersistMemory_Impl: Sized + IPersist_Impl { @@ -3022,8 +3022,8 @@ impl IPersistMemory_Vtbl { InitNew: InitNew::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPersistStream_Impl: Sized + IPersist_Impl { @@ -3069,8 +3069,8 @@ impl IPersistStream_Vtbl { GetSizeMax: GetSizeMax::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPersistStreamInit_Impl: Sized + IPersist_Impl { @@ -3123,8 +3123,8 @@ impl IPersistStreamInit_Vtbl { InitNew: InitNew::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPipeByte_Impl: Sized { @@ -3146,8 +3146,8 @@ impl IPipeByte_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPipeDouble_Impl: Sized { @@ -3169,8 +3169,8 @@ impl IPipeDouble_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPipeLong_Impl: Sized { @@ -3192,8 +3192,8 @@ impl IPipeLong_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProcessInitControl_Impl: Sized { @@ -3209,8 +3209,8 @@ impl IProcessInitControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetInitializerTimeout: ResetInitializerTimeout:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProcessLock_Impl: Sized { @@ -3236,8 +3236,8 @@ impl IProcessLock_Vtbl { ReleaseRefOnProcess: ReleaseRefOnProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProgressNotify_Impl: Sized { @@ -3253,8 +3253,8 @@ impl IProgressNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProgress: OnProgress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IROTData_Impl: Sized { @@ -3270,8 +3270,8 @@ impl IROTData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetComparisonData: GetComparisonData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IReleaseMarshalBuffers_Impl: Sized { @@ -3287,8 +3287,8 @@ impl IReleaseMarshalBuffers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReleaseMarshalBuffer: ReleaseMarshalBuffer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcChannelBuffer_Impl: Sized { @@ -3335,8 +3335,8 @@ impl IRpcChannelBuffer_Vtbl { IsConnected: IsConnected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcChannelBuffer2_Impl: Sized + IRpcChannelBuffer_Impl { @@ -3358,8 +3358,8 @@ impl IRpcChannelBuffer2_Vtbl { } Self { base__: IRpcChannelBuffer_Vtbl::new::(), GetProtocolVersion: GetProtocolVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRpcChannelBuffer3_Impl: Sized + IRpcChannelBuffer2_Impl { @@ -3426,8 +3426,8 @@ impl IRpcChannelBuffer3_Vtbl { RegisterAsync: RegisterAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRpcHelper_Impl: Sized { @@ -3465,8 +3465,8 @@ impl IRpcHelper_Vtbl { GetIIDFromOBJREF: GetIIDFromOBJREF::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcOptions_Impl: Sized { @@ -3494,8 +3494,8 @@ impl IRpcOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcProxyBuffer_Impl: Sized { @@ -3521,8 +3521,8 @@ impl IRpcProxyBuffer_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcStubBuffer_Impl: Sized { @@ -3583,8 +3583,8 @@ impl IRpcStubBuffer_Vtbl { DebugServerRelease: DebugServerRelease::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRpcSyntaxNegotiate_Impl: Sized { @@ -3600,8 +3600,8 @@ impl IRpcSyntaxNegotiate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NegotiateSyntax: NegotiateSyntax:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRunnableObject_Impl: Sized { @@ -3654,8 +3654,8 @@ impl IRunnableObject_Vtbl { SetContainedObject: SetContainedObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRunningObjectTable_Impl: Sized { @@ -3740,8 +3740,8 @@ impl IRunningObjectTable_Vtbl { EnumRunning: EnumRunning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISequentialStream_Impl: Sized { @@ -3763,8 +3763,8 @@ impl ISequentialStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServerSecurity_Impl: Sized { @@ -3804,8 +3804,8 @@ impl IServerSecurity_Vtbl { IsImpersonating: IsImpersonating::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceProvider_Impl: Sized { @@ -3821,8 +3821,8 @@ impl IServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryService: QueryService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStdMarshalInfo_Impl: Sized { @@ -3844,8 +3844,8 @@ impl IStdMarshalInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassForHandler: GetClassForHandler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStream_Impl: Sized + ISequentialStream_Impl { @@ -3926,8 +3926,8 @@ impl IStream_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISupportAllowLowerTrustActivation_Impl: Sized {} @@ -3936,8 +3936,8 @@ impl ISupportAllowLowerTrustActivation_Vtbl { pub const fn new, Impl: ISupportAllowLowerTrustActivation_Impl, const OFFSET: isize>() -> ISupportAllowLowerTrustActivation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISupportErrorInfo_Impl: Sized { @@ -3956,8 +3956,8 @@ impl ISupportErrorInfo_Vtbl { InterfaceSupportsErrorInfo: InterfaceSupportsErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISurrogate_Impl: Sized { @@ -3983,8 +3983,8 @@ impl ISurrogate_Vtbl { FreeSurrogate: FreeSurrogate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISurrogateService_Impl: Sized { @@ -4037,8 +4037,8 @@ impl ISurrogateService_Vtbl { ProcessShutdown: ProcessShutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISynchronize_Impl: Sized { @@ -4071,8 +4071,8 @@ impl ISynchronize_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISynchronizeContainer_Impl: Sized { @@ -4104,8 +4104,8 @@ impl ISynchronizeContainer_Vtbl { WaitMultiple: WaitMultiple::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISynchronizeEvent_Impl: Sized + ISynchronizeHandle_Impl { @@ -4121,8 +4121,8 @@ impl ISynchronizeEvent_Vtbl { } Self { base__: ISynchronizeHandle_Vtbl::new::(), SetEventHandle: SetEventHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISynchronizeHandle_Impl: Sized { @@ -4144,8 +4144,8 @@ impl ISynchronizeHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISynchronizeMutex_Impl: Sized + ISynchronize_Impl { @@ -4161,8 +4161,8 @@ impl ISynchronizeMutex_Vtbl { } Self { base__: ISynchronize_Vtbl::new::(), ReleaseMutex: ReleaseMutex:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITimeAndNoticeControl_Impl: Sized { @@ -4178,8 +4178,8 @@ impl ITimeAndNoticeControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuppressChanges: SuppressChanges:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4209,8 +4209,8 @@ impl ITypeComp_Vtbl { BindType: BindType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4407,8 +4407,8 @@ impl ITypeInfo_Vtbl { ReleaseVarDesc: ReleaseVarDesc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4613,8 +4613,8 @@ impl ITypeInfo2_Vtbl { GetAllImplTypeCustData: GetAllImplTypeCustData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITypeLib_Impl: Sized { @@ -4726,8 +4726,8 @@ impl ITypeLib_Vtbl { ReleaseTLibAttr: ReleaseTLibAttr::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4783,8 +4783,8 @@ impl ITypeLib2_Vtbl { GetAllCustData: GetAllCustData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITypeLibRegistration_Impl: Sized { @@ -4900,8 +4900,8 @@ impl ITypeLibRegistration_Vtbl { GetHelpDir: GetHelpDir::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITypeLibRegistrationReader_Impl: Sized { @@ -4923,8 +4923,8 @@ impl ITypeLibRegistrationReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumTypeLibRegistrations: EnumTypeLibRegistrations:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUri_Impl: Sized { @@ -5243,8 +5243,8 @@ impl IUri_Vtbl { IsEqual: IsEqual::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUriBuilder_Impl: Sized { @@ -5447,8 +5447,8 @@ impl IUriBuilder_Vtbl { HasBeenModified: HasBeenModified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUrlMon_Impl: Sized { @@ -5464,8 +5464,8 @@ impl IUrlMon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncGetClassBits: AsyncGetClassBits:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWaitMultiple_Impl: Sized { @@ -5497,7 +5497,7 @@ impl IWaitMultiple_Vtbl { AddSynchronize: AddSynchronize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs index 3ca1ff3775..c17745aa35 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs @@ -76,8 +76,8 @@ impl ContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -132,8 +132,8 @@ impl ContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -163,8 +163,8 @@ impl IAppDomainHelper_Vtbl { DoCallback: DoCallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -190,8 +190,8 @@ impl IAssemblyLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetModules: GetModules:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAsyncErrorNotify_Impl: Sized { @@ -207,8 +207,8 @@ impl IAsyncErrorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -442,8 +442,8 @@ impl ICOMAdminCatalog_Vtbl { GetEventClassesForIID: GetEventClassesForIID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -760,8 +760,8 @@ impl ICOMAdminCatalog2_Vtbl { GetComponentVersionCount: GetComponentVersionCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICOMLBArguments_Impl: Sized { @@ -801,8 +801,8 @@ impl ICOMLBArguments_Vtbl { SetMachineName: SetMachineName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1002,8 +1002,8 @@ impl ICatalogCollection_Vtbl { PopulateByQuery: PopulateByQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1104,8 +1104,8 @@ impl ICatalogObject_Vtbl { IsPropertyWriteOnly: IsPropertyWriteOnly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICheckSxsConfig_Impl: Sized { @@ -1121,8 +1121,8 @@ impl ICheckSxsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameSxsConfig: IsSameSxsConfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComActivityEvents_Impl: Sized { @@ -1183,8 +1183,8 @@ impl IComActivityEvents_Vtbl { OnActivityLeaveSame: OnActivityLeaveSame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComApp2Events_Impl: Sized { @@ -1231,8 +1231,8 @@ impl IComApp2Events_Vtbl { OnAppRecycle2: OnAppRecycle2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComAppEvents_Impl: Sized { @@ -1265,8 +1265,8 @@ impl IComAppEvents_Vtbl { OnAppForceShutdown: OnAppForceShutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComCRMEvents_Impl: Sized { @@ -1383,8 +1383,8 @@ impl IComCRMEvents_Vtbl { OnCRMDeliver: OnCRMDeliver::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComExceptionEvents_Impl: Sized { @@ -1400,8 +1400,8 @@ impl IComExceptionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnExceptionUser: OnExceptionUser:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComIdentityEvents_Impl: Sized { @@ -1417,8 +1417,8 @@ impl IComIdentityEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIISRequestInfo: OnIISRequestInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComInstance2Events_Impl: Sized { @@ -1444,8 +1444,8 @@ impl IComInstance2Events_Vtbl { OnObjectDestroy2: OnObjectDestroy2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComInstanceEvents_Impl: Sized { @@ -1471,8 +1471,8 @@ impl IComInstanceEvents_Vtbl { OnObjectDestroy: OnObjectDestroy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComLTxEvents_Impl: Sized { @@ -1519,8 +1519,8 @@ impl IComLTxEvents_Vtbl { OnLtxTransactionPromote: OnLtxTransactionPromote::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComMethod2Events_Impl: Sized { @@ -1553,8 +1553,8 @@ impl IComMethod2Events_Vtbl { OnMethodException2: OnMethodException2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComMethodEvents_Impl: Sized { @@ -1587,8 +1587,8 @@ impl IComMethodEvents_Vtbl { OnMethodException: OnMethodException::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComMtaThreadPoolKnobs_Impl: Sized { @@ -1640,8 +1640,8 @@ impl IComMtaThreadPoolKnobs_Vtbl { MTAGetThrottleValue: MTAGetThrottleValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectConstruction2Events_Impl: Sized { @@ -1657,8 +1657,8 @@ impl IComObjectConstruction2Events_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct2: OnObjectConstruct2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectConstructionEvents_Impl: Sized { @@ -1674,8 +1674,8 @@ impl IComObjectConstructionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct: OnObjectConstruct:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectEvents_Impl: Sized { @@ -1729,8 +1729,8 @@ impl IComObjectEvents_Vtbl { OnSetAbort: OnSetAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectPool2Events_Impl: Sized { @@ -1770,8 +1770,8 @@ impl IComObjectPool2Events_Vtbl { OnObjPoolGetFromTx2: OnObjPoolGetFromTx2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectPoolEvents_Impl: Sized { @@ -1811,8 +1811,8 @@ impl IComObjectPoolEvents_Vtbl { OnObjPoolGetFromTx: OnObjPoolGetFromTx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComObjectPoolEvents2_Impl: Sized { @@ -1859,8 +1859,8 @@ impl IComObjectPoolEvents2_Vtbl { OnObjPoolCreatePool: OnObjPoolCreatePool::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComQCEvents_Impl: Sized { @@ -1921,8 +1921,8 @@ impl IComQCEvents_Vtbl { OnQCPlayback: OnQCPlayback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComResourceEvents_Impl: Sized { @@ -1969,8 +1969,8 @@ impl IComResourceEvents_Vtbl { OnResourceTrack: OnResourceTrack::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComSecurityEvents_Impl: Sized { @@ -1996,8 +1996,8 @@ impl IComSecurityEvents_Vtbl { OnAuthenticateFail: OnAuthenticateFail::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComStaThreadPoolKnobs_Impl: Sized { @@ -2122,8 +2122,8 @@ impl IComStaThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComStaThreadPoolKnobs2_Impl: Sized + IComStaThreadPoolKnobs_Impl { @@ -2235,8 +2235,8 @@ impl IComStaThreadPoolKnobs2_Vtbl { SetWaitTimeForThreadCleanup: SetWaitTimeForThreadCleanup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IComThreadEvents_Impl: Sized { @@ -2325,8 +2325,8 @@ impl IComThreadEvents_Vtbl { OnThreadUnassignApartment: OnThreadUnassignApartment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComTrackingInfoCollection_Impl: Sized { @@ -2371,8 +2371,8 @@ impl IComTrackingInfoCollection_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComTrackingInfoEvents_Impl: Sized { @@ -2388,8 +2388,8 @@ impl IComTrackingInfoEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewTrackingInfo: OnNewTrackingInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2415,8 +2415,8 @@ impl IComTrackingInfoObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComTrackingInfoProperties_Impl: Sized { @@ -2454,8 +2454,8 @@ impl IComTrackingInfoProperties_Vtbl { GetPropName: GetPropName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComTransaction2Events_Impl: Sized { @@ -2495,8 +2495,8 @@ impl IComTransaction2Events_Vtbl { OnTransactionCommit2: OnTransactionCommit2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComTransactionEvents_Impl: Sized { @@ -2536,8 +2536,8 @@ impl IComTransactionEvents_Vtbl { OnTransactionCommit: OnTransactionCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2557,8 +2557,8 @@ impl IComUserEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2615,8 +2615,8 @@ impl IContextProperties_Vtbl { RemoveProperty: RemoveProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextSecurityPerimeter_Impl: Sized { @@ -2642,8 +2642,8 @@ impl IContextSecurityPerimeter_Vtbl { SetPerimeterFlag: SetPerimeterFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextState_Impl: Sized { @@ -2683,8 +2683,8 @@ impl IContextState_Vtbl { GetMyTransactionVote: GetMyTransactionVote::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICreateWithLocalTransaction_Impl: Sized { @@ -2700,8 +2700,8 @@ impl ICreateWithLocalTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceWithSysTx: CreateInstanceWithSysTx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICreateWithTipTransactionEx_Impl: Sized { @@ -2717,8 +2717,8 @@ impl ICreateWithTipTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -2738,8 +2738,8 @@ impl ICreateWithTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2849,8 +2849,8 @@ impl ICrmCompensator_Vtbl { EndAbort: EndAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2960,8 +2960,8 @@ impl ICrmCompensatorVariants_Vtbl { EndAbortVariants: EndAbortVariants::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3029,8 +3029,8 @@ impl ICrmFormatLogRecords_Vtbl { GetColumnVariants: GetColumnVariants::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3101,8 +3101,8 @@ impl ICrmLogControl_Vtbl { WriteLogRecord: WriteLogRecord::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3144,8 +3144,8 @@ impl ICrmMonitor_Vtbl { HoldClerk: HoldClerk::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3252,8 +3252,8 @@ impl ICrmMonitorClerks_Vtbl { ActivityId: ActivityId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3328,8 +3328,8 @@ impl ICrmMonitorLogRecords_Vtbl { GetLogRecordVariants: GetLogRecordVariants::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDispenserDriver_Impl: Sized { @@ -3383,8 +3383,8 @@ impl IDispenserDriver_Vtbl { DestroyResourceS: DestroyResourceS::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDispenserManager_Impl: Sized { @@ -3416,8 +3416,8 @@ impl IDispenserManager_Vtbl { GetContext: GetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumNames_Impl: Sized { @@ -3463,8 +3463,8 @@ impl IEnumNames_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3501,8 +3501,8 @@ impl IEventServerTrace_Vtbl { EnumTraceGuid: EnumTraceGuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IGetAppTrackerData_Impl: Sized { @@ -3575,8 +3575,8 @@ impl IGetAppTrackerData_Vtbl { GetSuggestedPollingInterval: GetSuggestedPollingInterval::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3619,8 +3619,8 @@ impl IGetContextProperties_Vtbl { EnumNames: EnumNames::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3646,8 +3646,8 @@ impl IGetSecurityCallContext_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetSecurityCallContext: GetSecurityCallContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IHolder_Impl: Sized { @@ -3715,8 +3715,8 @@ impl IHolder_Vtbl { RequestDestroyResource: RequestDestroyResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3753,8 +3753,8 @@ impl ILBEvents_Vtbl { EngineDefined: EngineDefined::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMTSActivity_Impl: Sized { @@ -3801,8 +3801,8 @@ impl IMTSActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMTSCall_Impl: Sized { @@ -3818,8 +3818,8 @@ impl IMTSCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3845,8 +3845,8 @@ impl IMTSLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetEventDispatcher: GetEventDispatcher:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IManagedActivationEvents_Impl: Sized { @@ -3872,8 +3872,8 @@ impl IManagedActivationEvents_Vtbl { DestroyManagedStub: DestroyManagedStub::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IManagedObjectInfo_Impl: Sized { @@ -3925,8 +3925,8 @@ impl IManagedObjectInfo_Vtbl { SetWrapperStrength: SetWrapperStrength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IManagedPoolAction_Impl: Sized { @@ -3942,8 +3942,8 @@ impl IManagedPoolAction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LastRelease: LastRelease:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IManagedPooledObj_Impl: Sized { @@ -3959,8 +3959,8 @@ impl IManagedPooledObj_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetHeld: SetHeld:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4049,8 +4049,8 @@ impl IMessageMover_Vtbl { MoveMessages: MoveMessages::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4131,8 +4131,8 @@ impl IMtsEventInfo_Vtbl { get_Value: get_Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4207,8 +4207,8 @@ impl IMtsEvents_Vtbl { GetProcessID: GetProcessID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4257,8 +4257,8 @@ impl IMtsGrp_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IObjPool_Impl: Sized { @@ -4319,8 +4319,8 @@ impl IObjPool_Vtbl { Reserved6: Reserved6::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4340,8 +4340,8 @@ impl IObjectConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4361,8 +4361,8 @@ impl IObjectConstructString_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConstructString: ConstructString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IObjectContext_Impl: Sized { @@ -4430,8 +4430,8 @@ impl IObjectContext_Vtbl { IsCallerInRole: IsCallerInRole::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectContextActivity_Impl: Sized { @@ -4447,8 +4447,8 @@ impl IObjectContextActivity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivityId: GetActivityId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectContextInfo_Impl: Sized { @@ -4501,8 +4501,8 @@ impl IObjectContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectContextInfo2_Impl: Sized + IObjectContextInfo_Impl { @@ -4535,8 +4535,8 @@ impl IObjectContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IObjectContextTip_Impl: Sized { @@ -4552,8 +4552,8 @@ impl IObjectContextTip_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTipUrl: GetTipUrl:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectControl_Impl: Sized { @@ -4586,8 +4586,8 @@ impl IObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlaybackControl_Impl: Sized { @@ -4613,8 +4613,8 @@ impl IPlaybackControl_Vtbl { FinalServerRetry: FinalServerRetry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4634,8 +4634,8 @@ impl IPoolManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ShutdownPool: ShutdownPool:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IProcessInitializer_Impl: Sized { @@ -4661,8 +4661,8 @@ impl IProcessInitializer_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4756,8 +4756,8 @@ impl ISecurityCallContext_Vtbl { IsUserInRole: IsUserInRole::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4812,8 +4812,8 @@ impl ISecurityCallersColl_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4868,8 +4868,8 @@ impl ISecurityIdentityColl_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISecurityProperty_Impl: Sized { @@ -4916,8 +4916,8 @@ impl ISecurityProperty_Vtbl { ReleaseSID: ReleaseSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISelectCOMLBServer_Impl: Sized { @@ -4943,8 +4943,8 @@ impl ISelectCOMLBServer_Vtbl { GetLBServer: GetLBServer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISendMethodEvents_Impl: Sized { @@ -4970,8 +4970,8 @@ impl ISendMethodEvents_Vtbl { SendMethodReturn: SendMethodReturn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceActivity_Impl: Sized { @@ -5011,8 +5011,8 @@ impl IServiceActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceCall_Impl: Sized { @@ -5028,8 +5028,8 @@ impl IServiceCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceComTIIntrinsicsConfig_Impl: Sized { @@ -5045,8 +5045,8 @@ impl IServiceComTIIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComTIIntrinsicsConfig: ComTIIntrinsicsConfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceIISIntrinsicsConfig_Impl: Sized { @@ -5062,8 +5062,8 @@ impl IServiceIISIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IISIntrinsicsConfig: IISIntrinsicsConfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceInheritanceConfig_Impl: Sized { @@ -5082,8 +5082,8 @@ impl IServiceInheritanceConfig_Vtbl { ContainingContextTreatment: ContainingContextTreatment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServicePartitionConfig_Impl: Sized { @@ -5109,8 +5109,8 @@ impl IServicePartitionConfig_Vtbl { PartitionID: PartitionID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServicePool_Impl: Sized { @@ -5143,8 +5143,8 @@ impl IServicePool_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5236,8 +5236,8 @@ impl IServicePoolConfig_Vtbl { ClassFactory: ClassFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceSxsConfig_Impl: Sized { @@ -5270,8 +5270,8 @@ impl IServiceSxsConfig_Vtbl { SxsDirectory: SxsDirectory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceSynchronizationConfig_Impl: Sized { @@ -5287,8 +5287,8 @@ impl IServiceSynchronizationConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConfigureSynchronization: ConfigureSynchronization:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -5308,8 +5308,8 @@ impl IServiceSysTxnConfig_Vtbl { } Self { base__: IServiceTransactionConfig_Vtbl::new::(), ConfigureBYOTSysTxn: ConfigureBYOTSysTxn:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IServiceThreadPoolConfig_Impl: Sized { @@ -5335,8 +5335,8 @@ impl IServiceThreadPoolConfig_Vtbl { SetBindingInfo: SetBindingInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IServiceTrackerConfig_Impl: Sized { @@ -5352,8 +5352,8 @@ impl IServiceTrackerConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackerConfig: TrackerConfig:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -5373,8 +5373,8 @@ impl IServiceTransactionConfig_Vtbl { } Self { base__: IServiceTransactionConfigBase_Vtbl::new::(), ConfigureBYOT: ConfigureBYOT:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IServiceTransactionConfigBase_Impl: Sized { @@ -5421,8 +5421,8 @@ impl IServiceTransactionConfigBase_Vtbl { NewTransactionDescription: NewTransactionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5458,8 +5458,8 @@ impl ISharedProperty_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5515,8 +5515,8 @@ impl ISharedPropertyGroup_Vtbl { get_Property: get_Property::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5565,8 +5565,8 @@ impl ISharedPropertyGroupManager_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISystemAppEventData_Impl: Sized { @@ -5592,8 +5592,8 @@ impl ISystemAppEventData_Vtbl { OnDataChanged: OnDataChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IThreadPoolKnobs_Impl: Sized { @@ -5675,8 +5675,8 @@ impl IThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5719,8 +5719,8 @@ impl ITransactionContext_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITransactionContextEx_Impl: Sized { @@ -5753,8 +5753,8 @@ impl ITransactionContextEx_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionProperty_Impl: Sized { @@ -5898,8 +5898,8 @@ impl ITransactionProperty_Vtbl { Reserved17: Reserved17::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -5976,8 +5976,8 @@ impl ITransactionProxy_Vtbl { IsReusable: IsReusable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionResourcePool_Impl: Sized { @@ -6009,8 +6009,8 @@ impl ITransactionResourcePool_Vtbl { GetResource: GetResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionStatus_Impl: Sized { @@ -6036,8 +6036,8 @@ impl ITransactionStatus_Vtbl { GetTransactionStatus: GetTransactionStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITxProxyHolder_Impl: Sized { @@ -6053,8 +6053,8 @@ impl ITxProxyHolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6215,8 +6215,8 @@ impl ObjectContext_Vtbl { ContextInfo: ContextInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ObjectControl_Impl: Sized { @@ -6249,8 +6249,8 @@ impl ObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6318,7 +6318,7 @@ impl SecurityProperty_Vtbl { GetOriginalCreatorName: GetOriginalCreatorName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs index f04f290d5e..56bd750f9c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs @@ -28,8 +28,8 @@ impl IContact_Vtbl { CommitChanges: CommitChanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationAggregate_Impl: Sized { @@ -134,8 +134,8 @@ impl IContactAggregationAggregate_Vtbl { Id: Id::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationAggregateCollection_Impl: Sized { @@ -199,8 +199,8 @@ impl IContactAggregationAggregateCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationContact_Impl: Sized { @@ -392,8 +392,8 @@ impl IContactAggregationContact_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationContactCollection_Impl: Sized { @@ -470,8 +470,8 @@ impl IContactAggregationContactCollection_Vtbl { FindFirstByRemoteId: FindFirstByRemoteId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationGroup_Impl: Sized { @@ -577,8 +577,8 @@ impl IContactAggregationGroup_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationGroupCollection_Impl: Sized { @@ -642,8 +642,8 @@ impl IContactAggregationGroupCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationLink_Impl: Sized { @@ -822,8 +822,8 @@ impl IContactAggregationLink_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationLinkCollection_Impl: Sized { @@ -887,8 +887,8 @@ impl IContactAggregationLinkCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationManager_Impl: Sized { @@ -1077,8 +1077,8 @@ impl IContactAggregationManager_Vtbl { get_ServerContactLinks: get_ServerContactLinks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationServerPerson_Impl: Sized { @@ -1317,8 +1317,8 @@ impl IContactAggregationServerPerson_Vtbl { SetObjectId: SetObjectId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactAggregationServerPersonCollection_Impl: Sized { @@ -1408,8 +1408,8 @@ impl IContactAggregationServerPersonCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactCollection_Impl: Sized { @@ -1448,8 +1448,8 @@ impl IContactCollection_Vtbl { GetCurrent: GetCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactManager_Impl: Sized { @@ -1521,8 +1521,8 @@ impl IContactManager_Vtbl { GetContactCollection: GetContactCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1629,8 +1629,8 @@ impl IContactProperties_Vtbl { GetPropertyCollection: GetPropertyCollection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContactPropertyCollection_Impl: Sized { @@ -1691,7 +1691,7 @@ impl IContactPropertyCollection_Vtbl { GetPropertyArrayElementID: GetPropertyArrayElementID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs index 1d9e2e711c..aafc253c03 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs @@ -45,8 +45,8 @@ impl IWdsTransportCacheable_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -212,8 +212,8 @@ impl IWdsTransportClient_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -268,8 +268,8 @@ impl IWdsTransportCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -366,8 +366,8 @@ impl IWdsTransportConfigurationManager_Vtbl { NotifyWdsTransportServices: NotifyWdsTransportServices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -396,8 +396,8 @@ impl IWdsTransportConfigurationManager2_Vtbl { MulticastSessionPolicy: MulticastSessionPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -472,8 +472,8 @@ impl IWdsTransportContent_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -541,8 +541,8 @@ impl IWdsTransportContentProvider_Vtbl { InitializationRoutine: InitializationRoutine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -598,8 +598,8 @@ impl IWdsTransportDiagnosticsPolicy_Vtbl { SetComponents: SetComponents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -625,8 +625,8 @@ impl IWdsTransportManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetWdsTransportServer: GetWdsTransportServer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -722,8 +722,8 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { SetSlowClientFallback: SetSlowClientFallback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -964,8 +964,8 @@ impl IWdsTransportNamespace_Vtbl { RetrieveContents: RetrieveContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -978,8 +978,8 @@ impl IWdsTransportNamespaceAutoCast_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceAutoCast_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceAutoCast_Vtbl { Self { base__: IWdsTransportNamespace_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1034,8 +1034,8 @@ impl IWdsTransportNamespaceManager_Vtbl { RetrieveNamespaces: RetrieveNamespaces::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1055,8 +1055,8 @@ impl IWdsTransportNamespaceScheduledCast_Vtbl { } Self { base__: IWdsTransportNamespace_Vtbl::new::(), StartTransmission: StartTransmission:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1112,8 +1112,8 @@ impl IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { SetStartTime: SetStartTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1126,8 +1126,8 @@ impl IWdsTransportNamespaceScheduledCastManualStart_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceScheduledCastManualStart_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceScheduledCastManualStart_Vtbl { Self { base__: IWdsTransportNamespaceScheduledCast_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1202,8 +1202,8 @@ impl IWdsTransportServer_Vtbl { DisconnectClient: DisconnectClient::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1229,8 +1229,8 @@ impl IWdsTransportServer2_Vtbl { } Self { base__: IWdsTransportServer_Vtbl::new::(), TftpManager: TftpManager:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1366,8 +1366,8 @@ impl IWdsTransportServicePolicy_Vtbl { SetNetworkProfile: SetNetworkProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1443,8 +1443,8 @@ impl IWdsTransportServicePolicy2_Vtbl { SetEnableTftpVariableWindowExtension: SetEnableTftpVariableWindowExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1558,8 +1558,8 @@ impl IWdsTransportSession_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1628,8 +1628,8 @@ impl IWdsTransportSetupManager_Vtbl { DeregisterContentProvider: DeregisterContentProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1671,8 +1671,8 @@ impl IWdsTransportSetupManager2_Vtbl { ContentProviders: ContentProviders::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1779,8 +1779,8 @@ impl IWdsTransportTftpClient_Vtbl { WindowSize: WindowSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1806,7 +1806,7 @@ impl IWdsTransportTftpManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), RetrieveTftpClients: RetrieveTftpClients:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs index 5952897d4f..c89e20b05b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs @@ -83,8 +83,8 @@ impl IRDPSRAPIApplication_Vtbl { Flags: Flags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -146,8 +146,8 @@ impl IRDPSRAPIApplicationFilter_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -189,8 +189,8 @@ impl IRDPSRAPIApplicationList_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -298,8 +298,8 @@ impl IRDPSRAPIAttendee_Vtbl { ConnectivityInfo: ConnectivityInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -354,8 +354,8 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { Code: Code::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -397,8 +397,8 @@ impl IRDPSRAPIAttendeeManager_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRDPSRAPIAudioStream_Impl: Sized { @@ -451,8 +451,8 @@ impl IRDPSRAPIAudioStream_Vtbl { FreeBuffer: FreeBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -478,8 +478,8 @@ impl IRDPSRAPIClipboardUseEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPasteFromClipboard: OnPasteFromClipboard:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRDPSRAPIDebug_Impl: Sized { @@ -511,8 +511,8 @@ impl IRDPSRAPIDebug_Vtbl { CLXCmdLine: CLXCmdLine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -580,8 +580,8 @@ impl IRDPSRAPIFrameBuffer_Vtbl { GetFrameBufferBits: GetFrameBufferBits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -676,8 +676,8 @@ impl IRDPSRAPIInvitation_Vtbl { SetRevoked: SetRevoked::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -745,8 +745,8 @@ impl IRDPSRAPIInvitationManager_Vtbl { CreateInvitation: CreateInvitation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRDPSRAPIPerfCounterLogger_Impl: Sized { @@ -762,8 +762,8 @@ impl IRDPSRAPIPerfCounterLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LogValue: LogValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRDPSRAPIPerfCounterLoggingManager_Impl: Sized { @@ -785,8 +785,8 @@ impl IRDPSRAPIPerfCounterLoggingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateLogger: CreateLogger:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -822,8 +822,8 @@ impl IRDPSRAPISessionProperties_Vtbl { put_Property: put_Property::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -973,8 +973,8 @@ impl IRDPSRAPISharingSession_Vtbl { GetDesktopSharedRect: GetDesktopSharedRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1017,8 +1017,8 @@ impl IRDPSRAPISharingSession2_Vtbl { SendControlLevelChangeResponse: SendControlLevelChangeResponse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1099,8 +1099,8 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { PeerIP: PeerIP::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRDPSRAPITransportStream_Impl: Sized { @@ -1160,8 +1160,8 @@ impl IRDPSRAPITransportStream_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRDPSRAPITransportStreamBuffer_Impl: Sized { @@ -1279,8 +1279,8 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { SetContext: SetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRDPSRAPITransportStreamEvents_Impl: Sized { @@ -1313,8 +1313,8 @@ impl IRDPSRAPITransportStreamEvents_Vtbl { OnStreamClosed: OnStreamClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1476,8 +1476,8 @@ impl IRDPSRAPIViewer_Vtbl { StartReverseConnectListener: StartReverseConnectListener::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1546,8 +1546,8 @@ impl IRDPSRAPIVirtualChannel_Vtbl { Priority: Priority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1602,8 +1602,8 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { CreateVirtualChannel: CreateVirtualChannel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1698,8 +1698,8 @@ impl IRDPSRAPIWindow_Vtbl { Flags: Flags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1741,8 +1741,8 @@ impl IRDPSRAPIWindowList_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRDPViewerInputSink_Impl: Sized { @@ -1810,8 +1810,8 @@ impl IRDPViewerInputSink_Vtbl { EndTouchFrame: EndTouchFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1824,7 +1824,7 @@ impl _IRDPSessionEvents_Vtbl { pub const fn new, Impl: _IRDPSessionEvents_Impl, const OFFSET: isize>() -> _IRDPSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IRDPSessionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IRDPSessionEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs index a39f5ca5d5..919d26efa7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs @@ -15,8 +15,8 @@ impl ICorProfilerAssemblyReferenceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAssemblyReference: AddAssemblyReference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerCallback_Impl: Sized { @@ -523,8 +523,8 @@ impl ICorProfilerCallback_Vtbl { ExceptionCLRCatcherExecute: ExceptionCLRCatcherExecute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerCallback10_Impl: Sized + ICorProfilerCallback9_Impl { @@ -564,8 +564,8 @@ impl ICorProfilerCallback10_Vtbl { EventPipeProviderCreated: EventPipeProviderCreated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback11_Impl: Sized + ICorProfilerCallback10_Impl { @@ -581,8 +581,8 @@ impl ICorProfilerCallback11_Vtbl { } Self { base__: ICorProfilerCallback10_Vtbl::new::(), LoadAsNotificationOnly: LoadAsNotificationOnly:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback2_Impl: Sized + ICorProfilerCallback_Impl { @@ -650,8 +650,8 @@ impl ICorProfilerCallback2_Vtbl { HandleDestroyed: HandleDestroyed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback3_Impl: Sized + ICorProfilerCallback2_Impl { @@ -684,8 +684,8 @@ impl ICorProfilerCallback3_Vtbl { ProfilerDetachSucceeded: ProfilerDetachSucceeded::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback4_Impl: Sized + ICorProfilerCallback3_Impl { @@ -739,8 +739,8 @@ impl ICorProfilerCallback4_Vtbl { SurvivingReferences2: SurvivingReferences2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback5_Impl: Sized + ICorProfilerCallback4_Impl { @@ -759,8 +759,8 @@ impl ICorProfilerCallback5_Vtbl { ConditionalWeakTableElementReferences: ConditionalWeakTableElementReferences::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback6_Impl: Sized + ICorProfilerCallback5_Impl { @@ -776,8 +776,8 @@ impl ICorProfilerCallback6_Vtbl { } Self { base__: ICorProfilerCallback5_Vtbl::new::(), GetAssemblyReferences: GetAssemblyReferences:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback7_Impl: Sized + ICorProfilerCallback6_Impl { @@ -796,8 +796,8 @@ impl ICorProfilerCallback7_Vtbl { ModuleInMemorySymbolsUpdated: ModuleInMemorySymbolsUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback8_Impl: Sized + ICorProfilerCallback7_Impl { @@ -823,8 +823,8 @@ impl ICorProfilerCallback8_Vtbl { DynamicMethodJITCompilationFinished: DynamicMethodJITCompilationFinished::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerCallback9_Impl: Sized + ICorProfilerCallback8_Impl { @@ -840,8 +840,8 @@ impl ICorProfilerCallback9_Vtbl { } Self { base__: ICorProfilerCallback8_Vtbl::new::(), DynamicMethodUnloaded: DynamicMethodUnloaded:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerFunctionControl_Impl: Sized { @@ -874,8 +874,8 @@ impl ICorProfilerFunctionControl_Vtbl { SetILInstrumentedCodeMap: SetILInstrumentedCodeMap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerFunctionEnum_Impl: Sized { @@ -934,8 +934,8 @@ impl ICorProfilerFunctionEnum_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1272,8 +1272,8 @@ impl ICorProfilerInfo_Vtbl { GetILToNativeMapping: GetILToNativeMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1331,8 +1331,8 @@ impl ICorProfilerInfo10_Vtbl { ResumeRuntime: ResumeRuntime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1362,8 +1362,8 @@ impl ICorProfilerInfo11_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1446,19 +1446,19 @@ impl ICorProfilerInfo12_Vtbl { EventPipeWriteEvent: EventPipeWriteEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1501,20 +1501,20 @@ impl ICorProfilerInfo13_Vtbl { GetObjectIDFromHandle: GetObjectIDFromHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1563,21 +1563,21 @@ impl ICorProfilerInfo14_Vtbl { EventPipeCreateProvider2: EventPipeCreateProvider2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID - || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID + || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1788,8 +1788,8 @@ impl ICorProfilerInfo2_Vtbl { GetNotifiedExceptionClauseInfo: GetNotifiedExceptionClauseInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -1921,8 +1921,8 @@ impl ICorProfilerInfo3_Vtbl { GetModuleInfo2: GetModuleInfo2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2026,8 +2026,8 @@ impl ICorProfilerInfo4_Vtbl { GetObjectSize2: GetObjectSize2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2057,8 +2057,8 @@ impl ICorProfilerInfo5_Vtbl { SetEventMask2: SetEventMask2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2081,8 +2081,8 @@ impl ICorProfilerInfo6_Vtbl { EnumNgenModuleMethodsInliningThisMethod: EnumNgenModuleMethodsInliningThisMethod::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2125,8 +2125,8 @@ impl ICorProfilerInfo7_Vtbl { ReadInMemorySymbols: ReadInMemorySymbols::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2169,8 +2169,8 @@ impl ICorProfilerInfo8_Vtbl { GetDynamicFunctionInfo: GetDynamicFunctionInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_WinRT_Metadata\"`"] @@ -2207,8 +2207,8 @@ impl ICorProfilerInfo9_Vtbl { GetCodeInfo4: GetCodeInfo4::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICorProfilerMethodEnum_Impl: Sized { @@ -2267,8 +2267,8 @@ impl ICorProfilerMethodEnum_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerModuleEnum_Impl: Sized { @@ -2327,8 +2327,8 @@ impl ICorProfilerModuleEnum_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerObjectEnum_Impl: Sized { @@ -2387,8 +2387,8 @@ impl ICorProfilerObjectEnum_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorProfilerThreadEnum_Impl: Sized { @@ -2447,8 +2447,8 @@ impl ICorProfilerThreadEnum_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMethodMalloc_Impl: Sized { @@ -2464,7 +2464,7 @@ impl IMethodMalloc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Alloc: Alloc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs index 4712d9290e..8b956e3c0e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs @@ -63,8 +63,8 @@ impl AsyncIDebugApplicationNodeEvents_Vtbl { Finish_onAttach: Finish_onAttach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -207,8 +207,8 @@ impl IActiveScript_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -353,8 +353,8 @@ impl IActiveScriptAuthor_Vtbl { IsCommitChar: IsCommitChar::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -374,8 +374,8 @@ impl IActiveScriptAuthorProcedure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptDebug32_Impl: Sized { @@ -414,8 +414,8 @@ impl IActiveScriptDebug32_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptDebug64_Impl: Sized { @@ -454,8 +454,8 @@ impl IActiveScriptDebug64_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptEncode_Impl: Sized { @@ -488,8 +488,8 @@ impl IActiveScriptEncode_Vtbl { GetEncodeProgId: GetEncodeProgId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -532,8 +532,8 @@ impl IActiveScriptError_Vtbl { GetSourceLineText: GetSourceLineText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -553,8 +553,8 @@ impl IActiveScriptError64_Vtbl { } Self { base__: IActiveScriptError_Vtbl::new::(), GetSourcePosition64: GetSourcePosition64:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -596,8 +596,8 @@ impl IActiveScriptErrorDebug_Vtbl { GetStackFrame: GetStackFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IActiveScriptErrorDebug110_Impl: Sized { @@ -619,8 +619,8 @@ impl IActiveScriptErrorDebug110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExceptionThrownKind: GetExceptionThrownKind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptGarbageCollector_Impl: Sized { @@ -636,8 +636,8 @@ impl IActiveScriptGarbageCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CollectGarbage: CollectGarbage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptHostEncode_Impl: Sized { @@ -653,8 +653,8 @@ impl IActiveScriptHostEncode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncodeScriptHostFile: EncodeScriptHostFile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -692,8 +692,8 @@ impl IActiveScriptParse32_Vtbl { ParseScriptText: ParseScriptText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -731,8 +731,8 @@ impl IActiveScriptParse64_Vtbl { ParseScriptText: ParseScriptText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -745,8 +745,8 @@ impl IActiveScriptParseProcedure2_32_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_32_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_32_Vtbl { Self { base__: IActiveScriptParseProcedure32_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -759,8 +759,8 @@ impl IActiveScriptParseProcedure2_64_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_64_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_64_Vtbl { Self { base__: IActiveScriptParseProcedure64_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -786,8 +786,8 @@ impl IActiveScriptParseProcedure32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -813,8 +813,8 @@ impl IActiveScriptParseProcedure64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -840,8 +840,8 @@ impl IActiveScriptParseProcedureOld32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -867,8 +867,8 @@ impl IActiveScriptParseProcedureOld64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptProfilerCallback_Impl: Sized { @@ -922,8 +922,8 @@ impl IActiveScriptProfilerCallback_Vtbl { OnFunctionExit: OnFunctionExit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptProfilerCallback2_Impl: Sized + IActiveScriptProfilerCallback_Impl { @@ -949,8 +949,8 @@ impl IActiveScriptProfilerCallback2_Vtbl { OnFunctionExitByName: OnFunctionExitByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerCallback3_Impl: Sized + IActiveScriptProfilerCallback2_Impl { @@ -966,8 +966,8 @@ impl IActiveScriptProfilerCallback3_Vtbl { } Self { base__: IActiveScriptProfilerCallback2_Vtbl::new::(), SetWebWorkerId: SetWebWorkerId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerControl_Impl: Sized { @@ -1000,8 +1000,8 @@ impl IActiveScriptProfilerControl_Vtbl { StopProfiling: StopProfiling::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptProfilerControl2_Impl: Sized + IActiveScriptProfilerControl_Impl { @@ -1027,8 +1027,8 @@ impl IActiveScriptProfilerControl2_Vtbl { PrepareProfilerStop: PrepareProfilerStop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerControl3_Impl: Sized + IActiveScriptProfilerControl2_Impl { @@ -1050,8 +1050,8 @@ impl IActiveScriptProfilerControl3_Vtbl { } Self { base__: IActiveScriptProfilerControl2_Vtbl::new::(), EnumHeap: EnumHeap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerControl4_Impl: Sized + IActiveScriptProfilerControl3_Impl { @@ -1067,8 +1067,8 @@ impl IActiveScriptProfilerControl4_Vtbl { } Self { base__: IActiveScriptProfilerControl3_Vtbl::new::(), SummarizeHeap: SummarizeHeap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerControl5_Impl: Sized + IActiveScriptProfilerControl4_Impl { @@ -1090,8 +1090,8 @@ impl IActiveScriptProfilerControl5_Vtbl { } Self { base__: IActiveScriptProfilerControl4_Vtbl::new::(), EnumHeap2: EnumHeap2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IActiveScriptProfilerHeapEnum_Impl: Sized { @@ -1131,8 +1131,8 @@ impl IActiveScriptProfilerHeapEnum_Vtbl { GetNameIdMap: GetNameIdMap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1168,8 +1168,8 @@ impl IActiveScriptProperty_Vtbl { SetProperty: SetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSIPInfo_Impl: Sized { @@ -1191,8 +1191,8 @@ impl IActiveScriptSIPInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSIPOID: GetSIPOID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1276,8 +1276,8 @@ impl IActiveScriptSite_Vtbl { OnLeaveScript: OnLeaveScript::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteDebug32_Impl: Sized { @@ -1335,8 +1335,8 @@ impl IActiveScriptSiteDebug32_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteDebug64_Impl: Sized { @@ -1394,8 +1394,8 @@ impl IActiveScriptSiteDebug64_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteDebugEx_Impl: Sized { @@ -1420,8 +1420,8 @@ impl IActiveScriptSiteDebugEx_Vtbl { OnCanNotJITScriptErrorDebug: OnCanNotJITScriptErrorDebug::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteInterruptPoll_Impl: Sized { @@ -1437,8 +1437,8 @@ impl IActiveScriptSiteInterruptPoll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteTraceInfo_Impl: Sized { @@ -1454,8 +1454,8 @@ impl IActiveScriptSiteTraceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendScriptTraceInfo: SendScriptTraceInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteUIControl_Impl: Sized { @@ -1477,8 +1477,8 @@ impl IActiveScriptSiteUIControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIBehavior: GetUIBehavior:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptSiteWindow_Impl: Sized { @@ -1510,8 +1510,8 @@ impl IActiveScriptSiteWindow_Vtbl { EnableModeless: EnableModeless::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptStats_Impl: Sized { @@ -1544,8 +1544,8 @@ impl IActiveScriptStats_Vtbl { ResetStats: ResetStats::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptStringCompare_Impl: Sized { @@ -1567,8 +1567,8 @@ impl IActiveScriptStringCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StrComp: StrComp:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveScriptTraceInfo_Impl: Sized { @@ -1594,8 +1594,8 @@ impl IActiveScriptTraceInfo_Vtbl { StopScriptTracing: StopScriptTracing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1650,8 +1650,8 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { GetCapabilitySid: GetCapabilitySid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IApplicationDebugger_Impl: Sized { @@ -1711,8 +1711,8 @@ impl IApplicationDebugger_Vtbl { onDebuggerEvent: onDebuggerEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationDebuggerUI_Impl: Sized { @@ -1738,8 +1738,8 @@ impl IApplicationDebuggerUI_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1759,8 +1759,8 @@ impl IBindEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BindHandler: BindHandler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugApplication11032_Impl: Sized + IRemoteDebugApplication110_Impl { @@ -1799,8 +1799,8 @@ impl IDebugApplication11032_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugApplication11064_Impl: Sized + IRemoteDebugApplication110_Impl { @@ -1839,8 +1839,8 @@ impl IDebugApplication11064_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugApplication32_Impl: Sized + IRemoteDebugApplication_Impl { @@ -2028,8 +2028,8 @@ impl IDebugApplication32_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugApplication64_Impl: Sized + IRemoteDebugApplication_Impl { @@ -2217,8 +2217,8 @@ impl IDebugApplication64_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugApplicationNode_Impl: Sized + IDebugDocumentProvider_Impl { @@ -2284,8 +2284,8 @@ impl IDebugApplicationNode_Vtbl { Detach: Detach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugApplicationNode100_Impl: Sized { @@ -2324,8 +2324,8 @@ impl IDebugApplicationNode100_Vtbl { QueryIsChildNode: QueryIsChildNode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugApplicationNodeEvents_Impl: Sized { @@ -2365,8 +2365,8 @@ impl IDebugApplicationNodeEvents_Vtbl { onAttach: onAttach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugApplicationThread_Impl: Sized + IRemoteDebugApplicationThread_Impl { @@ -2413,8 +2413,8 @@ impl IDebugApplicationThread_Vtbl { SetStateString: SetStateString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugApplicationThread11032_Impl: Sized { @@ -2472,8 +2472,8 @@ impl IDebugApplicationThread11032_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugApplicationThread11064_Impl: Sized { @@ -2531,8 +2531,8 @@ impl IDebugApplicationThread11064_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugApplicationThread64_Impl: Sized + IDebugApplicationThread_Impl { @@ -2551,8 +2551,8 @@ impl IDebugApplicationThread64_Vtbl { SynchronousCallIntoThread64: SynchronousCallIntoThread64::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugApplicationThreadEvents110_Impl: Sized { @@ -2592,8 +2592,8 @@ impl IDebugApplicationThreadEvents110_Vtbl { OnBeginThreadRequest: OnBeginThreadRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAsyncOperation_Impl: Sized { @@ -2646,8 +2646,8 @@ impl IDebugAsyncOperation_Vtbl { GetResult: GetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAsyncOperationCallBack_Impl: Sized { @@ -2663,8 +2663,8 @@ impl IDebugAsyncOperationCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugCodeContext_Impl: Sized { @@ -2696,8 +2696,8 @@ impl IDebugCodeContext_Vtbl { SetBreakPoint: SetBreakPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugCookie_Impl: Sized { @@ -2713,8 +2713,8 @@ impl IDebugCookie_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDebugCookie: SetDebugCookie:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocument_Impl: Sized + IDebugDocumentInfo_Impl {} @@ -2723,8 +2723,8 @@ impl IDebugDocument_Vtbl { pub const fn new, Impl: IDebugDocument_Impl, const OFFSET: isize>() -> IDebugDocument_Vtbl { Self { base__: IDebugDocumentInfo_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugDocumentContext_Impl: Sized { @@ -2762,8 +2762,8 @@ impl IDebugDocumentContext_Vtbl { EnumCodeContexts: EnumCodeContexts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentHelper32_Impl: Sized { @@ -2919,8 +2919,8 @@ impl IDebugDocumentHelper32_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentHelper64_Impl: Sized { @@ -3076,8 +3076,8 @@ impl IDebugDocumentHelper64_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentHost_Impl: Sized { @@ -3143,8 +3143,8 @@ impl IDebugDocumentHost_Vtbl { NotifyChanged: NotifyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentInfo_Impl: Sized { @@ -3182,8 +3182,8 @@ impl IDebugDocumentInfo_Vtbl { GetDocumentClassId: GetDocumentClassId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentProvider_Impl: Sized + IDebugDocumentInfo_Impl { @@ -3205,8 +3205,8 @@ impl IDebugDocumentProvider_Vtbl { } Self { base__: IDebugDocumentInfo_Vtbl::new::(), GetDocument: GetDocument:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugDocumentText_Impl: Sized + IDebugDocument_Impl { @@ -3285,8 +3285,8 @@ impl IDebugDocumentText_Vtbl { GetContextOfPosition: GetContextOfPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugDocumentTextAuthor_Impl: Sized + IDebugDocumentText_Impl { @@ -3319,8 +3319,8 @@ impl IDebugDocumentTextAuthor_Vtbl { ReplaceText: ReplaceText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugDocumentTextEvents_Impl: Sized { @@ -3374,8 +3374,8 @@ impl IDebugDocumentTextEvents_Vtbl { onUpdateDocumentAttributes: onUpdateDocumentAttributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDocumentTextExternalAuthor_Impl: Sized { @@ -3414,8 +3414,8 @@ impl IDebugDocumentTextExternalAuthor_Vtbl { NotifyChanged: NotifyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugExpression_Impl: Sized { @@ -3462,8 +3462,8 @@ impl IDebugExpression_Vtbl { GetResultAsDebugProperty: GetResultAsDebugProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugExpressionCallBack_Impl: Sized { @@ -3479,8 +3479,8 @@ impl IDebugExpressionCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugExpressionContext_Impl: Sized { @@ -3512,8 +3512,8 @@ impl IDebugExpressionContext_Vtbl { GetLanguageInfo: GetLanguageInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3568,8 +3568,8 @@ impl IDebugFormatter_Vtbl { GetStringForVarType: GetStringForVarType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3624,8 +3624,8 @@ impl IDebugHelper_Vtbl { CreateSimpleConnectionPoint: CreateSimpleConnectionPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSessionProvider_Impl: Sized { @@ -3641,8 +3641,8 @@ impl IDebugSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDebugSession: StartDebugSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugStackFrame_Impl: Sized { @@ -3719,8 +3719,8 @@ impl IDebugStackFrame_Vtbl { GetDebugProperty: GetDebugProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugStackFrame110_Impl: Sized + IDebugStackFrame_Impl { @@ -3758,8 +3758,8 @@ impl IDebugStackFrame110_Vtbl { GetScriptInvocationContext: GetScriptInvocationContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugStackFrameSniffer_Impl: Sized { @@ -3781,8 +3781,8 @@ impl IDebugStackFrameSniffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumStackFrames: EnumStackFrames:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugStackFrameSnifferEx32_Impl: Sized + IDebugStackFrameSniffer_Impl { @@ -3804,8 +3804,8 @@ impl IDebugStackFrameSnifferEx32_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx32: EnumStackFramesEx32:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugStackFrameSnifferEx64_Impl: Sized + IDebugStackFrameSniffer_Impl { @@ -3827,8 +3827,8 @@ impl IDebugStackFrameSnifferEx64_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx64: EnumStackFramesEx64:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugSyncOperation_Impl: Sized { @@ -3873,8 +3873,8 @@ impl IDebugSyncOperation_Vtbl { InProgressAbort: InProgressAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugThreadCall32_Impl: Sized { @@ -3890,8 +3890,8 @@ impl IDebugThreadCall32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugThreadCall64_Impl: Sized { @@ -3907,8 +3907,8 @@ impl IDebugThreadCall64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugApplicationNodes_Impl: Sized { @@ -3954,8 +3954,8 @@ impl IEnumDebugApplicationNodes_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugCodeContexts_Impl: Sized { @@ -4001,8 +4001,8 @@ impl IEnumDebugCodeContexts_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugExpressionContexts_Impl: Sized { @@ -4048,8 +4048,8 @@ impl IEnumDebugExpressionContexts_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugStackFrames_Impl: Sized { @@ -4095,8 +4095,8 @@ impl IEnumDebugStackFrames_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugStackFrames64_Impl: Sized + IEnumDebugStackFrames_Impl { @@ -4112,8 +4112,8 @@ impl IEnumDebugStackFrames64_Vtbl { } Self { base__: IEnumDebugStackFrames_Vtbl::new::(), Next64: Next64:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnumJsStackFrames_Impl: Sized { @@ -4135,8 +4135,8 @@ impl IEnumJsStackFrames_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRemoteDebugApplicationThreads_Impl: Sized { @@ -4182,8 +4182,8 @@ impl IEnumRemoteDebugApplicationThreads_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRemoteDebugApplications_Impl: Sized { @@ -4229,8 +4229,8 @@ impl IEnumRemoteDebugApplications_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebug_Impl: Sized { @@ -4252,8 +4252,8 @@ impl IJsDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenVirtualProcess: OpenVirtualProcess:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugBreakPoint_Impl: Sized { @@ -4306,8 +4306,8 @@ impl IJsDebugBreakPoint_Vtbl { GetDocumentPosition: GetDocumentPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugDataTarget_Impl: Sized { @@ -4412,8 +4412,8 @@ impl IJsDebugDataTarget_Vtbl { GetThreadContext: GetThreadContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugFrame_Impl: Sized { @@ -4492,8 +4492,8 @@ impl IJsDebugFrame_Vtbl { Evaluate: Evaluate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugProcess_Impl: Sized { @@ -4551,8 +4551,8 @@ impl IJsDebugProcess_Vtbl { GetExternalStepAddress: GetExternalStepAddress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugProperty_Impl: Sized { @@ -4584,8 +4584,8 @@ impl IJsDebugProperty_Vtbl { GetMembers: GetMembers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsDebugStackWalker_Impl: Sized { @@ -4607,8 +4607,8 @@ impl IJsDebugStackWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNext: GetNext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IJsEnumDebugProperty_Impl: Sized { @@ -4640,8 +4640,8 @@ impl IJsEnumDebugProperty_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMachineDebugManager_Impl: Sized { @@ -4686,8 +4686,8 @@ impl IMachineDebugManager_Vtbl { EnumApplications: EnumApplications::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMachineDebugManagerCookie_Impl: Sized { @@ -4732,8 +4732,8 @@ impl IMachineDebugManagerCookie_Vtbl { EnumApplications: EnumApplications::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMachineDebugManagerEvents_Impl: Sized { @@ -4759,8 +4759,8 @@ impl IMachineDebugManagerEvents_Vtbl { onRemoveApplication: onRemoveApplication::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProcessDebugManager32_Impl: Sized { @@ -4831,8 +4831,8 @@ impl IProcessDebugManager32_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProcessDebugManager64_Impl: Sized { @@ -4903,8 +4903,8 @@ impl IProcessDebugManager64_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProvideExpressionContexts_Impl: Sized { @@ -4926,8 +4926,8 @@ impl IProvideExpressionContexts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumExpressionContexts: EnumExpressionContexts:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugApplication_Impl: Sized { @@ -5052,8 +5052,8 @@ impl IRemoteDebugApplication_Vtbl { EnumGlobalExpressionContexts: EnumGlobalExpressionContexts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugApplication110_Impl: Sized { @@ -5098,8 +5098,8 @@ impl IRemoteDebugApplication110_Vtbl { GetMainThread: GetMainThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugApplicationEvents_Impl: Sized { @@ -5181,8 +5181,8 @@ impl IRemoteDebugApplicationEvents_Vtbl { OnBreakFlagChange: OnBreakFlagChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugApplicationThread_Impl: Sized { @@ -5299,8 +5299,8 @@ impl IRemoteDebugApplicationThread_Vtbl { GetSuspendCount: GetSuspendCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugCriticalErrorEvent110_Impl: Sized { @@ -5316,8 +5316,8 @@ impl IRemoteDebugCriticalErrorEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteDebugInfoEvent110_Impl: Sized { @@ -5333,8 +5333,8 @@ impl IRemoteDebugInfoEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEventInfo: GetEventInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5451,8 +5451,8 @@ impl IScriptEntry_Vtbl { GetRange: GetRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IScriptInvocationContext_Impl: Sized { @@ -5503,8 +5503,8 @@ impl IScriptInvocationContext_Vtbl { GetContextObject: GetContextObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5638,8 +5638,8 @@ impl IScriptNode_Vtbl { CreateChildHandler: CreateChildHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5715,8 +5715,8 @@ impl IScriptScriptlet_Vtbl { SetSimpleEventName: SetSimpleEventName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5772,8 +5772,8 @@ impl ISimpleConnectionPoint_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5793,8 +5793,8 @@ impl ITridentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebAppDiagnosticsObjectInitialization_Impl: Sized { @@ -5810,8 +5810,8 @@ impl IWebAppDiagnosticsObjectInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebAppDiagnosticsSetup_Impl: Sized { @@ -5843,7 +5843,7 @@ impl IWebAppDiagnosticsSetup_Vtbl { CreateObjectWithSiteAtWebApp: CreateObjectWithSiteAtWebApp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs index 45c455b74d..1495009347 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs @@ -4,8 +4,8 @@ impl DebugBaseEventCallbacks_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacks_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacks_Vtbl { Self { base__: IDebugEventCallbacks_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait DebugBaseEventCallbacksWide_Impl: Sized + IDebugEventCallbacksWide_Impl {} @@ -14,8 +14,8 @@ impl DebugBaseEventCallbacksWide_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacksWide_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacksWide_Vtbl { Self { base__: IDebugEventCallbacksWide_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICodeAddressConcept_Impl: Sized { @@ -37,8 +37,8 @@ impl ICodeAddressConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetContainingSymbol: GetContainingSymbol:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IComparableConcept_Impl: Sized { @@ -60,8 +60,8 @@ impl IComparableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompareObjects: CompareObjects:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelConcept_Impl: Sized { @@ -93,8 +93,8 @@ impl IDataModelConcept_Vtbl { GetName: GetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -322,8 +322,8 @@ impl IDataModelManager_Vtbl { AcquireNamedModel: AcquireNamedModel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -365,8 +365,8 @@ impl IDataModelManager2_Vtbl { CreateTypedIntrinsicObjectEx: CreateTypedIntrinsicObjectEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDataModelNameBinder_Impl: Sized { @@ -418,8 +418,8 @@ impl IDataModelNameBinder_Vtbl { EnumerateReferences: EnumerateReferences::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -496,8 +496,8 @@ impl IDataModelScript_Vtbl { InvokeMain: InvokeMain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptClient_Impl: Sized { @@ -513,8 +513,8 @@ impl IDataModelScriptClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebug_Impl: Sized { @@ -626,8 +626,8 @@ impl IDataModelScriptDebug_Vtbl { StopDebugging: StopDebugging::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebug2_Impl: Sized + IDataModelScriptDebug_Impl { @@ -649,8 +649,8 @@ impl IDataModelScriptDebug2_Vtbl { } Self { base__: IDataModelScriptDebug_Vtbl::new::(), SetBreakpointAtFunction: SetBreakpointAtFunction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDataModelScriptDebugBreakpoint_Impl: Sized { @@ -704,8 +704,8 @@ impl IDataModelScriptDebugBreakpoint_Vtbl { GetPosition: GetPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebugBreakpointEnumerator_Impl: Sized { @@ -737,8 +737,8 @@ impl IDataModelScriptDebugBreakpointEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebugClient_Impl: Sized { @@ -754,8 +754,8 @@ impl IDataModelScriptDebugClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyDebugEvent: NotifyDebugEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebugStack_Impl: Sized { @@ -787,8 +787,8 @@ impl IDataModelScriptDebugStack_Vtbl { GetStackFrame: GetStackFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebugStackFrame_Impl: Sized { @@ -879,8 +879,8 @@ impl IDataModelScriptDebugStackFrame_Vtbl { EnumerateArguments: EnumerateArguments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptDebugVariableSetEnumerator_Impl: Sized { @@ -906,8 +906,8 @@ impl IDataModelScriptDebugVariableSetEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptHostContext_Impl: Sized { @@ -939,8 +939,8 @@ impl IDataModelScriptHostContext_Vtbl { GetNamespaceObject: GetNamespaceObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptManager_Impl: Sized { @@ -1018,8 +1018,8 @@ impl IDataModelScriptManager_Vtbl { EnumerateScriptProviders: EnumerateScriptProviders::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptProvider_Impl: Sized { @@ -1096,8 +1096,8 @@ impl IDataModelScriptProvider_Vtbl { EnumerateTemplates: EnumerateTemplates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptProviderEnumerator_Impl: Sized { @@ -1129,8 +1129,8 @@ impl IDataModelScriptProviderEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1185,8 +1185,8 @@ impl IDataModelScriptTemplate_Vtbl { GetContent: GetContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataModelScriptTemplateEnumerator_Impl: Sized { @@ -1218,8 +1218,8 @@ impl IDataModelScriptTemplateEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAdvanced_Impl: Sized { @@ -1245,8 +1245,8 @@ impl IDebugAdvanced_Vtbl { SetThreadContext: SetThreadContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAdvanced2_Impl: Sized { @@ -1307,8 +1307,8 @@ impl IDebugAdvanced2_Vtbl { GetSystemObjectInformation: GetSystemObjectInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAdvanced3_Impl: Sized { @@ -1390,8 +1390,8 @@ impl IDebugAdvanced3_Vtbl { GetSymbolInformationWide: GetSymbolInformationWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugAdvanced4_Impl: Sized { @@ -1480,8 +1480,8 @@ impl IDebugAdvanced4_Vtbl { GetSymbolInformationWideEx: GetSymbolInformationWideEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugBreakpoint_Impl: Sized { @@ -1682,8 +1682,8 @@ impl IDebugBreakpoint_Vtbl { GetParameters: GetParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugBreakpoint2_Impl: Sized { @@ -1912,8 +1912,8 @@ impl IDebugBreakpoint2_Vtbl { SetOffsetExpressionWide: SetOffsetExpressionWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugBreakpoint3_Impl: Sized { @@ -2155,8 +2155,8 @@ impl IDebugBreakpoint3_Vtbl { GetGuid: GetGuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient_Impl: Sized { @@ -2549,8 +2549,8 @@ impl IDebugClient_Vtbl { FlushCallbacks: FlushCallbacks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient2_Impl: Sized { @@ -2999,8 +2999,8 @@ impl IDebugClient2_Vtbl { AbandonCurrentProcess: AbandonCurrentProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient3_Impl: Sized { @@ -3483,8 +3483,8 @@ impl IDebugClient3_Vtbl { CreateProcessAndAttachWide: CreateProcessAndAttachWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient4_Impl: Sized { @@ -4015,8 +4015,8 @@ impl IDebugClient4_Vtbl { GetDumpFileWide: GetDumpFileWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient5_Impl: Sized { @@ -4798,8 +4798,8 @@ impl IDebugClient5_Vtbl { SetQuitLockStringWide: SetQuitLockStringWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient6_Impl: Sized { @@ -5588,8 +5588,8 @@ impl IDebugClient6_Vtbl { SetEventContextCallbacks: SetEventContextCallbacks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient7_Impl: Sized { @@ -6385,8 +6385,8 @@ impl IDebugClient7_Vtbl { SetClientContext: SetClientContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugClient8_Impl: Sized { @@ -7189,8 +7189,8 @@ impl IDebugClient8_Vtbl { OpenDumpFileWide2: OpenDumpFileWide2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -8001,8 +8001,8 @@ impl IDebugControl_Vtbl { GetLastEventInformation: GetLastEventInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -8893,8 +8893,8 @@ impl IDebugControl2_Vtbl { OutputTextReplacements: OutputTextReplacements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -9912,8 +9912,8 @@ impl IDebugControl3_Vtbl { SetNextEventIndex: SetNextEventIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -11338,8 +11338,8 @@ impl IDebugControl4_Vtbl { ResetManagedStatus: ResetManagedStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -12805,8 +12805,8 @@ impl IDebugControl5_Vtbl { GetBreakpointByGuid: GetBreakpointByGuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -14292,8 +14292,8 @@ impl IDebugControl6_Vtbl { GetSynchronizationStatus: GetSynchronizationStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Kernel\"`"] @@ -15786,8 +15786,8 @@ impl IDebugControl7_Vtbl { GetDebuggeeType2: GetDebuggeeType2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugDataSpaces_Impl: Sized { @@ -15951,8 +15951,8 @@ impl IDebugDataSpaces_Vtbl { ReadProcessorSystemData: ReadProcessorSystemData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Memory\"`"] @@ -16168,8 +16168,8 @@ impl IDebugDataSpaces2_Vtbl { QueryVirtual: QueryVirtual::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`"] @@ -16426,8 +16426,8 @@ impl IDebugDataSpaces3_Vtbl { EndEnumTagged: EndEnumTagged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`"] @@ -16766,8 +16766,8 @@ impl IDebugDataSpaces4_Vtbl { WritePhysical2: WritePhysical2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugEventCallbacks_Impl: Sized { @@ -16884,8 +16884,8 @@ impl IDebugEventCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugEventCallbacksWide_Impl: Sized { @@ -17002,8 +17002,8 @@ impl IDebugEventCallbacksWide_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugEventContextCallbacks_Impl: Sized { @@ -17134,8 +17134,8 @@ impl IDebugEventContextCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugFAEntryTags_Impl: Sized { @@ -17285,8 +17285,8 @@ impl IDebugFailureAnalysis_Vtbl { NextEntry: NextEntry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`"] @@ -17475,8 +17475,8 @@ impl IDebugFailureAnalysis2_Vtbl { AddStructuredAnalysisData: AddStructuredAnalysisData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17808,8 +17808,8 @@ impl IDebugFailureAnalysis3_Vtbl { DeleteAdditionalXML: DeleteAdditionalXML::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHost_Impl: Sized { @@ -17860,8 +17860,8 @@ impl IDebugHost_Vtbl { GetDefaultMetadata: GetDefaultMetadata::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostBaseClass_Impl: Sized + IDebugHostSymbol_Impl { @@ -17883,8 +17883,8 @@ impl IDebugHostBaseClass_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetOffset: GetOffset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17910,8 +17910,8 @@ impl IDebugHostConstant_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetValue: GetValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostContext_Impl: Sized { @@ -17933,8 +17933,8 @@ impl IDebugHostContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualTo: IsEqualTo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17989,8 +17989,8 @@ impl IDebugHostData_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostErrorSink_Impl: Sized { @@ -18006,8 +18006,8 @@ impl IDebugHostErrorSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostEvaluator_Impl: Sized { @@ -18033,8 +18033,8 @@ impl IDebugHostEvaluator_Vtbl { EvaluateExtendedExpression: EvaluateExtendedExpression::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostEvaluator2_Impl: Sized + IDebugHostEvaluator_Impl { @@ -18050,8 +18050,8 @@ impl IDebugHostEvaluator2_Vtbl { } Self { base__: IDebugHostEvaluator_Vtbl::new::(), AssignTo: AssignTo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostExtensibility_Impl: Sized { @@ -18077,8 +18077,8 @@ impl IDebugHostExtensibility_Vtbl { DestroyFunctionAlias: DestroyFunctionAlias::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18146,8 +18146,8 @@ impl IDebugHostField_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostMemory_Impl: Sized { @@ -18200,8 +18200,8 @@ impl IDebugHostMemory_Vtbl { GetDisplayStringForLocation: GetDisplayStringForLocation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostMemory2_Impl: Sized + IDebugHostMemory_Impl { @@ -18223,8 +18223,8 @@ impl IDebugHostMemory2_Vtbl { } Self { base__: IDebugHostMemory_Vtbl::new::(), LinearizeLocation: LinearizeLocation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostModule_Impl: Sized + IDebugHostSymbol_Impl { @@ -18308,8 +18308,8 @@ impl IDebugHostModule_Vtbl { FindSymbolByName: FindSymbolByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostModule2_Impl: Sized + IDebugHostModule_Impl { @@ -18325,8 +18325,8 @@ impl IDebugHostModule2_Vtbl { } Self { base__: IDebugHostModule_Vtbl::new::(), FindContainingSymbolByRVA: FindContainingSymbolByRVA:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugHostModuleSignature_Impl: Sized { @@ -18348,8 +18348,8 @@ impl IDebugHostModuleSignature_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMatch: IsMatch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostPublic_Impl: Sized + IDebugHostSymbol_Impl { @@ -18387,8 +18387,8 @@ impl IDebugHostPublic_Vtbl { GetLocation: GetLocation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostScriptHost_Impl: Sized { @@ -18410,8 +18410,8 @@ impl IDebugHostScriptHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateContext: CreateContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostStatus_Impl: Sized { @@ -18433,8 +18433,8 @@ impl IDebugHostStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PollUserInterrupt: PollUserInterrupt:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostSymbol_Impl: Sized { @@ -18537,8 +18537,8 @@ impl IDebugHostSymbol_Vtbl { CompareAgainst: CompareAgainst::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostSymbol2_Impl: Sized + IDebugHostSymbol_Impl { @@ -18560,8 +18560,8 @@ impl IDebugHostSymbol2_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetLanguage: GetLanguage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostSymbolEnumerator_Impl: Sized { @@ -18593,8 +18593,8 @@ impl IDebugHostSymbolEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostSymbols_Impl: Sized { @@ -18691,8 +18691,8 @@ impl IDebugHostSymbols_Vtbl { GetMostDerivedObject: GetMostDerivedObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugHostType_Impl: Sized + IDebugHostSymbol_Impl { @@ -18933,8 +18933,8 @@ impl IDebugHostType_Vtbl { GetGenericArgumentAt: GetGenericArgumentAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugHostType2_Impl: Sized + IDebugHostType_Impl { @@ -19011,8 +19011,8 @@ impl IDebugHostType2_Vtbl { GetFunctionInstancePointerType: GetFunctionInstancePointerType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDebugHostTypeSignature_Impl: Sized { @@ -19057,8 +19057,8 @@ impl IDebugHostTypeSignature_Vtbl { CompareAgainst: CompareAgainst::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugInputCallbacks_Impl: Sized { @@ -19084,8 +19084,8 @@ impl IDebugInputCallbacks_Vtbl { EndInput: EndInput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugOutputCallbacks_Impl: Sized { @@ -19101,8 +19101,8 @@ impl IDebugOutputCallbacks_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugOutputCallbacks2_Impl: Sized { @@ -19141,8 +19141,8 @@ impl IDebugOutputCallbacks2_Vtbl { Output2: Output2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugOutputCallbacksWide_Impl: Sized { @@ -19158,8 +19158,8 @@ impl IDebugOutputCallbacksWide_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugOutputStream_Impl: Sized { @@ -19175,8 +19175,8 @@ impl IDebugOutputStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugPlmClient_Impl: Sized { @@ -19195,8 +19195,8 @@ impl IDebugPlmClient_Vtbl { LaunchPlmPackageForDebugWide: LaunchPlmPackageForDebugWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugPlmClient2_Impl: Sized { @@ -19222,8 +19222,8 @@ impl IDebugPlmClient2_Vtbl { LaunchPlmBgTaskForDebugWide: LaunchPlmBgTaskForDebugWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugPlmClient3_Impl: Sized { @@ -19312,8 +19312,8 @@ impl IDebugPlmClient3_Vtbl { ActivateAndDebugPlmBgTaskWide: ActivateAndDebugPlmBgTaskWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugRegisters_Impl: Sized { @@ -19432,8 +19432,8 @@ impl IDebugRegisters_Vtbl { GetFrameOffset: GetFrameOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugRegisters2_Impl: Sized { @@ -19699,8 +19699,8 @@ impl IDebugRegisters2_Vtbl { GetFrameOffset2: GetFrameOffset2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbolGroup_Impl: Sized { @@ -19788,8 +19788,8 @@ impl IDebugSymbolGroup_Vtbl { OutputAsType: OutputAsType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbolGroup2_Impl: Sized { @@ -19986,8 +19986,8 @@ impl IDebugSymbolGroup2_Vtbl { GetSymbolEntryInformation: GetSymbolEntryInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbols_Impl: Sized { @@ -20421,8 +20421,8 @@ impl IDebugSymbols_Vtbl { GetSourceFileLineOffsets: GetSourceFileLineOffsets::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbols2_Impl: Sized { @@ -20918,8 +20918,8 @@ impl IDebugSymbols2_Vtbl { SetTypeOptions: SetTypeOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbols3_Impl: Sized { @@ -21943,8 +21943,8 @@ impl IDebugSymbols3_Vtbl { GetSourceEntryBySourceEntry: GetSourceEntryBySourceEntry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbols4_Impl: Sized { @@ -23017,8 +23017,8 @@ impl IDebugSymbols4_Vtbl { OutputSymbolByInlineContext: OutputSymbolByInlineContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSymbols5_Impl: Sized { @@ -24111,8 +24111,8 @@ impl IDebugSymbols5_Vtbl { SetScopeFrameByIndexEx: SetScopeFrameByIndexEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSystemObjects_Impl: Sized { @@ -24465,8 +24465,8 @@ impl IDebugSystemObjects_Vtbl { GetCurrentProcessExecutableName: GetCurrentProcessExecutableName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSystemObjects2_Impl: Sized { @@ -24872,8 +24872,8 @@ impl IDebugSystemObjects2_Vtbl { SetImplicitProcessDataOffset: SetImplicitProcessDataOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSystemObjects3_Impl: Sized { @@ -25372,8 +25372,8 @@ impl IDebugSystemObjects3_Vtbl { GetCurrentSystemServerName: GetCurrentSystemServerName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugSystemObjects4_Impl: Sized { @@ -25886,8 +25886,8 @@ impl IDebugSystemObjects4_Vtbl { GetCurrentSystemServerNameWide: GetCurrentSystemServerNameWide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDynamicConceptProviderConcept_Impl: Sized { @@ -25934,8 +25934,8 @@ impl IDynamicConceptProviderConcept_Vtbl { NotifyDestruct: NotifyDestruct::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDynamicKeyProviderConcept_Impl: Sized { @@ -25974,8 +25974,8 @@ impl IDynamicKeyProviderConcept_Vtbl { EnumerateKeys: EnumerateKeys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEquatableConcept_Impl: Sized { @@ -25997,8 +25997,8 @@ impl IEquatableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreObjectsEqual: AreObjectsEqual:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostDataModelAccess_Impl: Sized { @@ -26014,8 +26014,8 @@ impl IHostDataModelAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataModel: GetDataModel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIndexableConcept_Impl: Sized { @@ -26054,8 +26054,8 @@ impl IIndexableConcept_Vtbl { SetAt: SetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIterableConcept_Impl: Sized { @@ -26093,8 +26093,8 @@ impl IIterableConcept_Vtbl { GetIterator: GetIterator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKeyEnumerator_Impl: Sized { @@ -26120,8 +26120,8 @@ impl IKeyEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKeyStore_Impl: Sized { @@ -26168,8 +26168,8 @@ impl IKeyStore_Vtbl { ClearKeys: ClearKeys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IModelIterator_Impl: Sized { @@ -26195,8 +26195,8 @@ impl IModelIterator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IModelKeyReference_Impl: Sized { @@ -26275,8 +26275,8 @@ impl IModelKeyReference_Vtbl { SetKeyValue: SetKeyValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IModelKeyReference2_Impl: Sized + IModelKeyReference_Impl { @@ -26292,8 +26292,8 @@ impl IModelKeyReference2_Vtbl { } Self { base__: IModelKeyReference_Vtbl::new::(), OverrideContextObject: OverrideContextObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IModelMethod_Impl: Sized { @@ -26309,8 +26309,8 @@ impl IModelMethod_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Call: Call:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -26665,8 +26665,8 @@ impl IModelObject_Vtbl { IsEqualTo: IsEqualTo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IModelPropertyAccessor_Impl: Sized { @@ -26698,8 +26698,8 @@ impl IModelPropertyAccessor_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPreferredRuntimeTypeConcept_Impl: Sized { @@ -26724,8 +26724,8 @@ impl IPreferredRuntimeTypeConcept_Vtbl { CastToPreferredRuntimeType: CastToPreferredRuntimeType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRawEnumerator_Impl: Sized { @@ -26751,8 +26751,8 @@ impl IRawEnumerator_Vtbl { GetNext: GetNext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStringDisplayableConcept_Impl: Sized { @@ -26774,7 +26774,7 @@ impl IStringDisplayableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ToDisplayString: ToDisplayString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index 7ccfc865f3..3114066361 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -31,8 +31,8 @@ impl IDebugExtendedProperty_Vtbl { EnumExtendedMembers: EnumExtendedMembers::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -95,8 +95,8 @@ impl IDebugProperty_Vtbl { GetParent: GetParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugPropertyEnumType_All_Impl: Sized { @@ -118,8 +118,8 @@ impl IDebugPropertyEnumType_All_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetName: GetName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDebugPropertyEnumType_Arguments_Impl: Sized + IDebugPropertyEnumType_All_Impl {} @@ -128,8 +128,8 @@ impl IDebugPropertyEnumType_Arguments_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Arguments_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Arguments_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugPropertyEnumType_Locals_Impl: Sized + IDebugPropertyEnumType_All_Impl {} @@ -138,8 +138,8 @@ impl IDebugPropertyEnumType_Locals_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Locals_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Locals_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugPropertyEnumType_LocalsPlusArgs_Impl: Sized + IDebugPropertyEnumType_All_Impl {} @@ -148,8 +148,8 @@ impl IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_LocalsPlusArgs_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDebugPropertyEnumType_Registers_Impl: Sized + IDebugPropertyEnumType_All_Impl {} @@ -158,8 +158,8 @@ impl IDebugPropertyEnumType_Registers_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Registers_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Registers_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -222,8 +222,8 @@ impl IEnumDebugExtendedPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumDebugPropertyInfo_Impl: Sized { @@ -282,8 +282,8 @@ impl IEnumDebugPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectSafety_Impl: Sized { @@ -309,8 +309,8 @@ impl IObjectSafety_Vtbl { SetInterfaceSafetyOptions: SetInterfaceSafetyOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -366,7 +366,7 @@ impl IPerPropertyBrowsing2_Vtbl { SetPredefinedValue: SetPredefinedValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs index 46d65fb16e..4a7539b01a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs @@ -109,8 +109,8 @@ impl ITraceEvent_Vtbl { SetProviderId: SetProviderId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITraceEventCallback_Impl: Sized { @@ -143,8 +143,8 @@ impl ITraceEventCallback_Vtbl { OnEvent: OnEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITraceRelogger_Impl: Sized { @@ -237,7 +237,7 @@ impl ITraceRelogger_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs index 3a88be1136..382ea4ff80 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs @@ -17,8 +17,8 @@ impl IDtcLuConfigure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Delete: Delete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecovery_Impl: Sized {} @@ -27,8 +27,8 @@ impl IDtcLuRecovery_Vtbl { pub const fn new, Impl: IDtcLuRecovery_Impl, const OFFSET: isize>() -> IDtcLuRecovery_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryFactory_Impl: Sized { @@ -50,8 +50,8 @@ impl IDtcLuRecoveryFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryInitiatedByDtc_Impl: Sized { @@ -67,8 +67,8 @@ impl IDtcLuRecoveryInitiatedByDtc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWork: GetWork:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryInitiatedByDtcStatusWork_Impl: Sized { @@ -84,8 +84,8 @@ impl IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleCheckLuStatus: HandleCheckLuStatus:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryInitiatedByDtcTransWork_Impl: Sized { @@ -188,8 +188,8 @@ impl IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { ObsoleteRecoverySeqNum: ObsoleteRecoverySeqNum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryInitiatedByLu_Impl: Sized { @@ -214,8 +214,8 @@ impl IDtcLuRecoveryInitiatedByLu_Vtbl { GetObjectToHandleWorkFromLu: GetObjectToHandleWorkFromLu::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRecoveryInitiatedByLuWork_Impl: Sized { @@ -283,8 +283,8 @@ impl IDtcLuRecoveryInitiatedByLuWork_Vtbl { ConversationLost: ConversationLost::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRmEnlistment_Impl: Sized { @@ -338,8 +338,8 @@ impl IDtcLuRmEnlistment_Vtbl { RequestCommit: RequestCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRmEnlistmentFactory_Impl: Sized { @@ -355,8 +355,8 @@ impl IDtcLuRmEnlistmentFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuRmEnlistmentSink_Impl: Sized { @@ -431,8 +431,8 @@ impl IDtcLuRmEnlistmentSink_Vtbl { RequestCommit: RequestCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuSubordinateDtc_Impl: Sized { @@ -493,8 +493,8 @@ impl IDtcLuSubordinateDtc_Vtbl { RequestCommit: RequestCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuSubordinateDtcFactory_Impl: Sized { @@ -523,8 +523,8 @@ impl IDtcLuSubordinateDtcFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcLuSubordinateDtcSink_Impl: Sized { @@ -592,8 +592,8 @@ impl IDtcLuSubordinateDtcSink_Vtbl { RequestCommit: RequestCommit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcNetworkAccessConfig_Impl: Sized { @@ -732,8 +732,8 @@ impl IDtcNetworkAccessConfig_Vtbl { RestartDtcService: RestartDtcService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcNetworkAccessConfig2_Impl: Sized + IDtcNetworkAccessConfig_Impl { @@ -805,8 +805,8 @@ impl IDtcNetworkAccessConfig2_Vtbl { SetAuthenticationLevel: SetAuthenticationLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDtcNetworkAccessConfig3_Impl: Sized + IDtcNetworkAccessConfig2_Impl { @@ -838,8 +838,8 @@ impl IDtcNetworkAccessConfig3_Vtbl { SetLUAccess: SetLUAccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDtcToXaHelper_Impl: Sized { @@ -865,8 +865,8 @@ impl IDtcToXaHelper_Vtbl { TranslateTridToXid: TranslateTridToXid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcToXaHelperFactory_Impl: Sized { @@ -882,8 +882,8 @@ impl IDtcToXaHelperFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcToXaHelperSinglePipe_Impl: Sized { @@ -929,8 +929,8 @@ impl IDtcToXaHelperSinglePipe_Vtbl { ReleaseRMCookie: ReleaseRMCookie::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDtcToXaMapper_Impl: Sized { @@ -970,8 +970,8 @@ impl IDtcToXaMapper_Vtbl { ReleaseResourceManager: ReleaseResourceManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetDispenser_Impl: Sized { @@ -987,8 +987,8 @@ impl IGetDispenser_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDispenser: GetDispenser:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IKernelTransaction_Impl: Sized { @@ -1010,8 +1010,8 @@ impl IKernelTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILastResourceManager_Impl: Sized { @@ -1037,8 +1037,8 @@ impl ILastResourceManager_Vtbl { RecoveryDone: RecoveryDone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrepareInfo_Impl: Sized { @@ -1064,8 +1064,8 @@ impl IPrepareInfo_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrepareInfo2_Impl: Sized { @@ -1097,8 +1097,8 @@ impl IPrepareInfo2_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRMHelper_Impl: Sized { @@ -1124,8 +1124,8 @@ impl IRMHelper_Vtbl { RMInfo: RMInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResourceManager_Impl: Sized { @@ -1171,8 +1171,8 @@ impl IResourceManager_Vtbl { GetDistributedTransactionManager: GetDistributedTransactionManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResourceManager2_Impl: Sized + IResourceManager_Impl { @@ -1204,8 +1204,8 @@ impl IResourceManager2_Vtbl { Reenlist2: Reenlist2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IResourceManagerFactory_Impl: Sized { @@ -1227,8 +1227,8 @@ impl IResourceManagerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResourceManagerFactory2_Impl: Sized + IResourceManagerFactory_Impl { @@ -1244,8 +1244,8 @@ impl IResourceManagerFactory2_Vtbl { } Self { base__: IResourceManagerFactory_Vtbl::new::(), CreateEx: CreateEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IResourceManagerRejoinable_Impl: Sized + IResourceManager2_Impl { @@ -1267,8 +1267,8 @@ impl IResourceManagerRejoinable_Vtbl { } Self { base__: IResourceManager2_Vtbl::new::(), Rejoin: Rejoin:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IResourceManagerSink_Impl: Sized { @@ -1284,8 +1284,8 @@ impl IResourceManagerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TMDown: TMDown:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITipHelper_Impl: Sized { @@ -1336,8 +1336,8 @@ impl ITipHelper_Vtbl { GetLocalTmUrl: GetLocalTmUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITipPullSink_Impl: Sized { @@ -1353,8 +1353,8 @@ impl ITipPullSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PullComplete: PullComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITipTransaction_Impl: Sized { @@ -1392,8 +1392,8 @@ impl ITipTransaction_Vtbl { GetTransactionUrl: GetTransactionUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITmNodeName_Impl: Sized { @@ -1425,8 +1425,8 @@ impl ITmNodeName_Vtbl { GetNodeName: GetNodeName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransaction_Impl: Sized { @@ -1459,8 +1459,8 @@ impl ITransaction_Vtbl { GetTransactionInfo: GetTransactionInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransaction2_Impl: Sized + ITransactionCloner_Impl { @@ -1476,8 +1476,8 @@ impl ITransaction2_Vtbl { } Self { base__: ITransactionCloner_Vtbl::new::(), GetTransactionInfo2: GetTransactionInfo2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITransactionCloner_Impl: Sized + ITransaction_Impl { @@ -1499,8 +1499,8 @@ impl ITransactionCloner_Vtbl { } Self { base__: ITransaction_Vtbl::new::(), CloneWithCommitDisabled: CloneWithCommitDisabled:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITransactionDispenser_Impl: Sized { @@ -1538,8 +1538,8 @@ impl ITransactionDispenser_Vtbl { BeginTransaction: BeginTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1576,8 +1576,8 @@ impl ITransactionEnlistmentAsync_Vtbl { AbortRequestDone: AbortRequestDone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionExport_Impl: Sized { @@ -1609,8 +1609,8 @@ impl ITransactionExport_Vtbl { GetTransactionCookie: GetTransactionCookie::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionExportFactory_Impl: Sized { @@ -1648,8 +1648,8 @@ impl ITransactionExportFactory_Vtbl { Create: Create::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionImport_Impl: Sized { @@ -1665,8 +1665,8 @@ impl ITransactionImport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Import: Import:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionImportWhereabouts_Impl: Sized { @@ -1698,8 +1698,8 @@ impl ITransactionImportWhereabouts_Vtbl { GetWhereabouts: GetWhereabouts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionLastEnlistmentAsync_Impl: Sized { @@ -1715,8 +1715,8 @@ impl ITransactionLastEnlistmentAsync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransactionOutcome: TransactionOutcome:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionLastResourceAsync_Impl: Sized { @@ -1742,8 +1742,8 @@ impl ITransactionLastResourceAsync_Vtbl { ForgetRequest: ForgetRequest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionOptions_Impl: Sized { @@ -1769,8 +1769,8 @@ impl ITransactionOptions_Vtbl { GetOptions: GetOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionOutcomeEvents_Impl: Sized { @@ -1810,8 +1810,8 @@ impl ITransactionOutcomeEvents_Vtbl { Indoubt: Indoubt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionPhase0EnlistmentAsync_Impl: Sized { @@ -1864,8 +1864,8 @@ impl ITransactionPhase0EnlistmentAsync_Vtbl { GetTransaction: GetTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionPhase0Factory_Impl: Sized { @@ -1887,8 +1887,8 @@ impl ITransactionPhase0Factory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionPhase0NotifyAsync_Impl: Sized { @@ -1914,8 +1914,8 @@ impl ITransactionPhase0NotifyAsync_Vtbl { EnlistCompleted: EnlistCompleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionReceiver_Impl: Sized { @@ -1967,8 +1967,8 @@ impl ITransactionReceiver_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionReceiverFactory_Impl: Sized { @@ -1990,8 +1990,8 @@ impl ITransactionReceiverFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionResource_Impl: Sized { @@ -2031,8 +2031,8 @@ impl ITransactionResource_Vtbl { TMDown: TMDown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionResourceAsync_Impl: Sized { @@ -2072,8 +2072,8 @@ impl ITransactionResourceAsync_Vtbl { TMDown: TMDown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionTransmitter_Impl: Sized { @@ -2126,8 +2126,8 @@ impl ITransactionTransmitter_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionTransmitterFactory_Impl: Sized { @@ -2149,8 +2149,8 @@ impl ITransactionTransmitterFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionVoterBallotAsync2_Impl: Sized { @@ -2166,8 +2166,8 @@ impl ITransactionVoterBallotAsync2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), VoteRequestDone: VoteRequestDone:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionVoterFactory2_Impl: Sized { @@ -2189,8 +2189,8 @@ impl ITransactionVoterFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransactionVoterNotifyAsync2_Impl: Sized + ITransactionOutcomeEvents_Impl { @@ -2206,8 +2206,8 @@ impl ITransactionVoterNotifyAsync2_Vtbl { } Self { base__: ITransactionOutcomeEvents_Vtbl::new::(), VoteRequest: VoteRequest:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IXAConfig_Impl: Sized { @@ -2233,8 +2233,8 @@ impl IXAConfig_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXAObtainRMInfo_Impl: Sized { @@ -2250,8 +2250,8 @@ impl IXAObtainRMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ObtainRMInfo: ObtainRMInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXATransLookup_Impl: Sized { @@ -2273,8 +2273,8 @@ impl IXATransLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IXATransLookup2_Impl: Sized { @@ -2296,7 +2296,7 @@ impl IXATransLookup2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs index 1789d0bac1..93938e3c1c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs @@ -60,8 +60,8 @@ impl ISensLogon_Vtbl { StopScreenSaver: StopScreenSaver::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -112,8 +112,8 @@ impl ISensLogon2_Vtbl { PostShell: PostShell::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -164,8 +164,8 @@ impl ISensNetwork_Vtbl { DestinationReachableNoQOCInfo: DestinationReachableNoQOCInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -202,7 +202,7 @@ impl ISensOnNow_Vtbl { BatteryLow: BatteryLow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index dadc3e2c9f..848514dad2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -74,8 +74,8 @@ impl IGPEInformation_Vtbl { PolicyChanged: PolicyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -241,8 +241,8 @@ impl IGPM_Vtbl { InitializeReporting: InitializeReporting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -278,8 +278,8 @@ impl IGPM2_Vtbl { InitializeReportingEx: InitializeReportingEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -299,8 +299,8 @@ impl IGPMAsyncCancel_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -320,8 +320,8 @@ impl IGPMAsyncProgress_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Status: Status:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -455,8 +455,8 @@ impl IGPMBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -511,8 +511,8 @@ impl IGPMBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -567,8 +567,8 @@ impl IGPMBackupDir_Vtbl { SearchBackups: SearchBackups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -636,8 +636,8 @@ impl IGPMBackupDirEx_Vtbl { SearchBackups: SearchBackups::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -692,8 +692,8 @@ impl IGPMCSECollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -761,8 +761,8 @@ impl IGPMClientSideExtension_Vtbl { IsComputerEnabled: IsComputerEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1558,8 +1558,8 @@ impl IGPMConstants_Vtbl { RsopPlanningAssumeCompWQLFilterTrue: RsopPlanningAssumeCompWQLFilterTrue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1770,8 +1770,8 @@ impl IGPMConstants2_Vtbl { ReportComments: ReportComments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1911,8 +1911,8 @@ impl IGPMDomain_Vtbl { SearchWMIFilters: SearchWMIFilters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1994,8 +1994,8 @@ impl IGPMDomain2_Vtbl { RestoreStarterGPO: RestoreStarterGPO::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2045,8 +2045,8 @@ impl IGPMDomain3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2367,8 +2367,8 @@ impl IGPMGPO_Vtbl { MakeACLConsistent: MakeACLConsistent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2404,8 +2404,8 @@ impl IGPMGPO2_Vtbl { SetDescription: SetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2448,8 +2448,8 @@ impl IGPMGPO3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2504,8 +2504,8 @@ impl IGPMGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2620,8 +2620,8 @@ impl IGPMGPOLink_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2676,8 +2676,8 @@ impl IGPMGPOLinksCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2745,8 +2745,8 @@ impl IGPMMapEntry_Vtbl { EntryType: EntryType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2801,8 +2801,8 @@ impl IGPMMapEntryCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2904,8 +2904,8 @@ impl IGPMMigrationTable_Vtbl { GetEntries: GetEntries::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2986,8 +2986,8 @@ impl IGPMPermission_Vtbl { Trustee: Trustee::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3356,8 +3356,8 @@ impl IGPMRSOP_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3406,8 +3406,8 @@ impl IGPMResult_Vtbl { OverallStatus: OverallStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3541,8 +3541,8 @@ impl IGPMSOM_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3597,8 +3597,8 @@ impl IGPMSOMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3618,8 +3618,8 @@ impl IGPMSearchCriteria_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Add: Add:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3695,8 +3695,8 @@ impl IGPMSecurityInfo_Vtbl { RemoveTrustee: RemoveTrustee::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3777,8 +3777,8 @@ impl IGPMSitesContainer_Vtbl { SearchSites: SearchSites::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4032,8 +4032,8 @@ impl IGPMStarterGPO_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4180,8 +4180,8 @@ impl IGPMStarterGPOBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4236,8 +4236,8 @@ impl IGPMStarterGPOBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4292,8 +4292,8 @@ impl IGPMStarterGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4375,8 +4375,8 @@ impl IGPMStatusMessage_Vtbl { Message: Message::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4431,8 +4431,8 @@ impl IGPMStatusMsgCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4513,8 +4513,8 @@ impl IGPMTrustee_Vtbl { TrusteeType: TrusteeType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4616,8 +4616,8 @@ impl IGPMWMIFilter_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4672,8 +4672,8 @@ impl IGPMWMIFilterCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Controls\"`"] @@ -4815,8 +4815,8 @@ impl IGroupPolicyObject_Vtbl { GetPropertySheetPages: GetPropertySheetPages::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRSOPInformation_Impl: Sized { @@ -4855,7 +4855,7 @@ impl IRSOPInformation_Vtbl { GetEventLogEntryText: GetEventLogEntryText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs index 88a935c386..838b0f2038 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs @@ -21,8 +21,8 @@ impl AsyncIFtpAuthenticationProvider_Vtbl { Finish_AuthenticateUser: Finish_AuthenticateUser::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpAuthorizationProvider_Impl: Sized { @@ -54,8 +54,8 @@ impl AsyncIFtpAuthorizationProvider_Vtbl { Finish_GetUserAccessPermission: Finish_GetUserAccessPermission::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpHomeDirectoryProvider_Impl: Sized { @@ -87,8 +87,8 @@ impl AsyncIFtpHomeDirectoryProvider_Vtbl { Finish_GetUserHomeDirectoryData: Finish_GetUserHomeDirectoryData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpLogProvider_Impl: Sized { @@ -114,8 +114,8 @@ impl AsyncIFtpLogProvider_Vtbl { Finish_Log: Finish_Log::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpPostprocessProvider_Impl: Sized { @@ -147,8 +147,8 @@ impl AsyncIFtpPostprocessProvider_Vtbl { Finish_HandlePostprocess: Finish_HandlePostprocess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpPreprocessProvider_Impl: Sized { @@ -180,8 +180,8 @@ impl AsyncIFtpPreprocessProvider_Vtbl { Finish_HandlePreprocess: Finish_HandlePreprocess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIFtpRoleProvider_Impl: Sized { @@ -213,8 +213,8 @@ impl AsyncIFtpRoleProvider_Vtbl { Finish_IsUserInRole: Finish_IsUserInRole::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait AsyncIMSAdminBaseSinkW_Impl: Sized { @@ -254,8 +254,8 @@ impl AsyncIMSAdminBaseSinkW_Vtbl { Finish_ShutdownNotify: Finish_ShutdownNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IADMEXT_Impl: Sized { @@ -288,8 +288,8 @@ impl IADMEXT_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpAuthenticationProvider_Impl: Sized { @@ -305,8 +305,8 @@ impl IFtpAuthenticationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AuthenticateUser: AuthenticateUser:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpAuthorizationProvider_Impl: Sized { @@ -328,8 +328,8 @@ impl IFtpAuthorizationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserAccessPermission: GetUserAccessPermission:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpHomeDirectoryProvider_Impl: Sized { @@ -351,8 +351,8 @@ impl IFtpHomeDirectoryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserHomeDirectoryData: GetUserHomeDirectoryData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpLogProvider_Impl: Sized { @@ -368,8 +368,8 @@ impl IFtpLogProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Log: Log:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpPostprocessProvider_Impl: Sized { @@ -391,8 +391,8 @@ impl IFtpPostprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePostprocess: HandlePostprocess:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpPreprocessProvider_Impl: Sized { @@ -414,8 +414,8 @@ impl IFtpPreprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePreprocess: HandlePreprocess:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -435,8 +435,8 @@ impl IFtpProviderConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFtpRoleProvider_Impl: Sized { @@ -458,8 +458,8 @@ impl IFtpRoleProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsUserInRole: IsUserInRole:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMSAdminBase2W_Impl: Sized + IMSAdminBaseW_Impl { @@ -513,8 +513,8 @@ impl IMSAdminBase2W_Vtbl { EnumHistory: EnumHistory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMSAdminBase3W_Impl: Sized + IMSAdminBase2W_Impl { @@ -530,8 +530,8 @@ impl IMSAdminBase3W_Vtbl { } Self { base__: IMSAdminBase2W_Vtbl::new::(), GetChildPaths: GetChildPaths:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMSAdminBaseSinkW_Impl: Sized { @@ -557,8 +557,8 @@ impl IMSAdminBaseSinkW_Vtbl { ShutdownNotify: ShutdownNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMSAdminBaseW_Impl: Sized { @@ -817,8 +817,8 @@ impl IMSAdminBaseW_Vtbl { GetServerGuid: GetServerGuid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMSImpExpHelpW_Impl: Sized { @@ -834,7 +834,7 @@ impl IMSImpExpHelpW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumeratePathsInFile: EnumeratePathsInFile:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs index a56bbf845e..cc0f26b0d8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs @@ -21,8 +21,8 @@ impl IMSMQApplication_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), MachineIdOfMachineName: MachineIdOfMachineName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -123,8 +123,8 @@ impl IMSMQApplication2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -246,8 +246,8 @@ impl IMSMQApplication3_Vtbl { Tidy: Tidy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -302,8 +302,8 @@ impl IMSMQCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -329,8 +329,8 @@ impl IMSMQCoordinatedTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -372,8 +372,8 @@ impl IMSMQCoordinatedTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -415,8 +415,8 @@ impl IMSMQCoordinatedTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -572,8 +572,8 @@ impl IMSMQDestination_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -586,8 +586,8 @@ impl IMSMQEvent_Vtbl { pub const fn new, Impl: IMSMQEvent_Impl, const OFFSET: isize>() -> IMSMQEvent_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -613,8 +613,8 @@ impl IMSMQEvent2_Vtbl { } Self { base__: IMSMQEvent_Vtbl::new::(), Properties: Properties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -627,8 +627,8 @@ impl IMSMQEvent3_Vtbl { pub const fn new, Impl: IMSMQEvent3_Impl, const OFFSET: isize>() -> IMSMQEvent3_Vtbl { Self { base__: IMSMQEvent2_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -755,8 +755,8 @@ impl IMSMQManagement_Vtbl { BytesInQueue: BytesInQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1283,8 +1283,8 @@ impl IMSMQMessage_Vtbl { AttachCurrentSecurityContext: AttachCurrentSecurityContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2089,8 +2089,8 @@ impl IMSMQMessage2_Vtbl { ReceivedAuthenticationLevel: ReceivedAuthenticationLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3067,8 +3067,8 @@ impl IMSMQMessage3_Vtbl { SetSoapBody: SetSoapBody::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4045,8 +4045,8 @@ impl IMSMQMessage4_Vtbl { SetSoapBody: SetSoapBody::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4122,8 +4122,8 @@ impl IMSMQOutgoingQueueManagement_Vtbl { EodResend: EodResend::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4159,8 +4159,8 @@ impl IMSMQPrivateDestination_Vtbl { SetHandle: SetHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4203,8 +4203,8 @@ impl IMSMQPrivateEvent_Vtbl { FireArrivedErrorEvent: FireArrivedErrorEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4230,8 +4230,8 @@ impl IMSMQQuery_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), LookupQueue: LookupQueue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4273,8 +4273,8 @@ impl IMSMQQuery2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4341,8 +4341,8 @@ impl IMSMQQuery3_Vtbl { LookupQueue: LookupQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4409,8 +4409,8 @@ impl IMSMQQuery4_Vtbl { LookupQueue: LookupQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4577,8 +4577,8 @@ impl IMSMQQueue_Vtbl { PeekCurrent: PeekCurrent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4823,8 +4823,8 @@ impl IMSMQQueue2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5232,8 +5232,8 @@ impl IMSMQQueue3_Vtbl { IsOpen2: IsOpen2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5654,8 +5654,8 @@ impl IMSMQQueue4_Vtbl { ReceiveByLookupIdAllowPeek: ReceiveByLookupIdAllowPeek::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5977,8 +5977,8 @@ impl IMSMQQueueInfo_Vtbl { Update: Update::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6346,8 +6346,8 @@ impl IMSMQQueueInfo2_Vtbl { SetSecurity: SetSecurity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6774,8 +6774,8 @@ impl IMSMQQueueInfo3_Vtbl { ADsPath: ADsPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7202,8 +7202,8 @@ impl IMSMQQueueInfo4_Vtbl { ADsPath: ADsPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7239,8 +7239,8 @@ impl IMSMQQueueInfos_Vtbl { Next: Next::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7289,8 +7289,8 @@ impl IMSMQQueueInfos2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7339,8 +7339,8 @@ impl IMSMQQueueInfos3_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7389,8 +7389,8 @@ impl IMSMQQueueInfos4_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7445,8 +7445,8 @@ impl IMSMQQueueManagement_Vtbl { EodGetReceiveInfo: EodGetReceiveInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7489,8 +7489,8 @@ impl IMSMQTransaction_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7526,8 +7526,8 @@ impl IMSMQTransaction2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7553,8 +7553,8 @@ impl IMSMQTransaction3_Vtbl { } Self { base__: IMSMQTransaction2_Vtbl::new::(), ITransaction: ITransaction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7580,8 +7580,8 @@ impl IMSMQTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7623,8 +7623,8 @@ impl IMSMQTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7666,8 +7666,8 @@ impl IMSMQTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7680,7 +7680,7 @@ impl _DMSMQEventEvents_Vtbl { pub const fn new, Impl: _DMSMQEventEvents_Impl, const OFFSET: isize>() -> _DMSMQEventEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_DMSMQEventEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_DMSMQEventEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs index e05621f001..0409bffca8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs @@ -8,8 +8,8 @@ impl AppEvents_Vtbl { pub const fn new, Impl: AppEvents_Impl, const OFFSET: isize>() -> AppEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -118,8 +118,8 @@ impl Column_Vtbl { IsSortColumn: IsSortColumn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -174,8 +174,8 @@ impl Columns_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -230,8 +230,8 @@ impl ContextMenu_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -425,8 +425,8 @@ impl Document_Vtbl { Application: Application::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -521,8 +521,8 @@ impl Extension_Vtbl { Enable: Enable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -577,8 +577,8 @@ impl Extensions_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -695,8 +695,8 @@ impl Frame_Vtbl { SetRight: SetRight::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IColumnData_Impl: Sized { @@ -748,8 +748,8 @@ impl IColumnData_Vtbl { GetColumnSortData: GetColumnSortData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -820,8 +820,8 @@ impl IComponent_Vtbl { CompareObjects: CompareObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -864,8 +864,8 @@ impl IComponent2_Vtbl { RestoreResultView: RestoreResultView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -942,8 +942,8 @@ impl IComponentData_Vtbl { CompareObjects: CompareObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -969,8 +969,8 @@ impl IComponentData2_Vtbl { } Self { base__: IComponentData_Vtbl::new::(), QueryDispatch: QueryDispatch:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1099,8 +1099,8 @@ impl IConsole_Vtbl { NewWindow: NewWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1137,8 +1137,8 @@ impl IConsole2_Vtbl { SetStatusText: SetStatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1158,8 +1158,8 @@ impl IConsole3_Vtbl { } Self { base__: IConsole2_Vtbl::new::(), RenameScopeItem: RenameScopeItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IConsoleNameSpace_Impl: Sized { @@ -1220,8 +1220,8 @@ impl IConsoleNameSpace_Vtbl { GetParentItem: GetParentItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConsoleNameSpace2_Impl: Sized + IConsoleNameSpace_Impl { @@ -1247,8 +1247,8 @@ impl IConsoleNameSpace2_Vtbl { AddExtension: AddExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IConsolePower_Impl: Sized { @@ -1274,8 +1274,8 @@ impl IConsolePower_Vtbl { ResetIdleTimer: ResetIdleTimer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConsolePowerSink_Impl: Sized { @@ -1297,8 +1297,8 @@ impl IConsolePowerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPowerBroadcast: OnPowerBroadcast:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConsoleVerb_Impl: Sized { @@ -1350,8 +1350,8 @@ impl IConsoleVerb_Vtbl { GetDefaultVerb: GetDefaultVerb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextMenuCallback_Impl: Sized { @@ -1367,8 +1367,8 @@ impl IContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextMenuCallback2_Impl: Sized { @@ -1384,8 +1384,8 @@ impl IContextMenuCallback2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1435,8 +1435,8 @@ impl IContextMenuProvider_Vtbl { ShowContextMenu: ShowContextMenu::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IControlbar_Impl: Sized { @@ -1475,8 +1475,8 @@ impl IControlbar_Vtbl { Detach: Detach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDisplayHelp_Impl: Sized { @@ -1492,8 +1492,8 @@ impl IDisplayHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowTopic: ShowTopic:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTASK_Impl: Sized { @@ -1539,8 +1539,8 @@ impl IEnumTASK_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1570,8 +1570,8 @@ impl IExtendContextMenu_Vtbl { Command: Command::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExtendControlbar_Impl: Sized { @@ -1597,8 +1597,8 @@ impl IExtendControlbar_Vtbl { ControlbarNotify: ControlbarNotify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1628,8 +1628,8 @@ impl IExtendPropertySheet_Vtbl { QueryPagesFor: QueryPagesFor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -1649,8 +1649,8 @@ impl IExtendPropertySheet2_Vtbl { } Self { base__: IExtendPropertySheet_Vtbl::new::(), GetWatermarks: GetWatermarks:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1738,8 +1738,8 @@ impl IExtendTaskPad_Vtbl { GetListPadInfo: GetListPadInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1759,8 +1759,8 @@ impl IExtendView_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetViews: GetViews:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHeaderCtrl_Impl: Sized { @@ -1826,8 +1826,8 @@ impl IHeaderCtrl_Vtbl { GetColumnWidth: GetColumnWidth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHeaderCtrl2_Impl: Sized + IHeaderCtrl_Impl { @@ -1860,8 +1860,8 @@ impl IHeaderCtrl2_Vtbl { GetColumnFilter: GetColumnFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IImageList_Impl: Sized { @@ -1887,8 +1887,8 @@ impl IImageList_Vtbl { ImageListSetStrip: ImageListSetStrip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMMCVersionInfo_Impl: Sized { @@ -1904,8 +1904,8 @@ impl IMMCVersionInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMMCVersion: GetMMCVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMenuButton_Impl: Sized { @@ -1938,8 +1938,8 @@ impl IMenuButton_Vtbl { SetButtonState: SetButtonState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMessageView_Impl: Sized { @@ -1979,8 +1979,8 @@ impl IMessageView_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2006,8 +2006,8 @@ impl INodeProperties_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -2037,8 +2037,8 @@ impl IPropertySheetCallback_Vtbl { RemovePage: RemovePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2089,8 +2089,8 @@ impl IPropertySheetProvider_Vtbl { Show: Show::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRequiredExtensions_Impl: Sized { @@ -2135,8 +2135,8 @@ impl IRequiredExtensions_Vtbl { GetNextExtension: GetNextExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResultData_Impl: Sized { @@ -2265,8 +2265,8 @@ impl IResultData_Vtbl { SetItemCount: SetItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResultData2_Impl: Sized + IResultData_Impl { @@ -2282,8 +2282,8 @@ impl IResultData2_Vtbl { } Self { base__: IResultData_Vtbl::new::(), RenameResultItem: RenameResultItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IResultDataCompare_Impl: Sized { @@ -2299,8 +2299,8 @@ impl IResultDataCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResultDataCompareEx_Impl: Sized { @@ -2322,8 +2322,8 @@ impl IResultDataCompareEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResultOwnerData_Impl: Sized { @@ -2362,8 +2362,8 @@ impl IResultOwnerData_Vtbl { SortItems: SortItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2438,8 +2438,8 @@ impl ISnapinAbout_Vtbl { GetStaticFolderImage: GetStaticFolderImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISnapinHelp_Impl: Sized { @@ -2461,8 +2461,8 @@ impl ISnapinHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHelpTopic: GetHelpTopic:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISnapinHelp2_Impl: Sized + ISnapinHelp_Impl { @@ -2484,8 +2484,8 @@ impl ISnapinHelp2_Vtbl { } Self { base__: ISnapinHelp_Vtbl::new::(), GetLinkedTopics: GetLinkedTopics:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2522,8 +2522,8 @@ impl ISnapinProperties_Vtbl { PropertiesChanged: PropertiesChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISnapinPropertiesCallback_Impl: Sized { @@ -2539,8 +2539,8 @@ impl ISnapinPropertiesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertyName: AddPropertyName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2629,8 +2629,8 @@ impl IStringTable_Vtbl { Enumerate: Enumerate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -2694,8 +2694,8 @@ impl IToolbar_Vtbl { SetButtonState: SetButtonState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IViewExtensionCallback_Impl: Sized { @@ -2711,8 +2711,8 @@ impl IViewExtensionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddView: AddView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2800,8 +2800,8 @@ impl MenuItem_Vtbl { Enabled: Enabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2882,8 +2882,8 @@ impl Node_Vtbl { Nodetype: Nodetype::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2938,8 +2938,8 @@ impl Nodes_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3001,8 +3001,8 @@ impl Properties_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3051,8 +3051,8 @@ impl Property_Vtbl { Name: Name::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3127,8 +3127,8 @@ impl ScopeNamespace_Vtbl { Expand: Expand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3229,8 +3229,8 @@ impl SnapIn_Vtbl { EnableAllExtensions: EnableAllExtensions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3305,8 +3305,8 @@ impl SnapIns_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3718,8 +3718,8 @@ impl View_Vtbl { ControlObject: ControlObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3781,8 +3781,8 @@ impl Views_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3882,8 +3882,8 @@ impl _AppEvents_Vtbl { OnListUpdated: OnListUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_AppEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_AppEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4019,8 +4019,8 @@ impl _Application_Vtbl { VersionMinor: VersionMinor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_Application as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_Application as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4050,7 +4050,7 @@ impl _EventConnector_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_EventConnector as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_EventConnector as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index 52d0c81f3d..854319e8c0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -15,8 +15,8 @@ impl IAdviseSinkEx_Vtbl { } Self { base__: super::Com::IAdviseSink_Vtbl::new::(), OnViewStatusChange: OnViewStatusChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -36,8 +36,8 @@ impl ICanHandleException_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanHandleException: CanHandleException:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -80,8 +80,8 @@ impl IClassFactory2_Vtbl { CreateInstanceLic: CreateInstanceLic::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IContinue_Impl: Sized { @@ -97,8 +97,8 @@ impl IContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FContinue: FContinue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContinueCallback_Impl: Sized { @@ -124,8 +124,8 @@ impl IContinueCallback_Vtbl { FContinuePrinting: FContinuePrinting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICreateErrorInfo_Impl: Sized { @@ -172,8 +172,8 @@ impl ICreateErrorInfo_Vtbl { SetHelpContext: SetHelpContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -350,8 +350,8 @@ impl ICreateTypeInfo_Vtbl { LayOut: LayOut::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -472,8 +472,8 @@ impl ICreateTypeInfo2_Vtbl { SetName: SetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -565,8 +565,8 @@ impl ICreateTypeLib_Vtbl { SaveAllChanges: SaveAllChanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -610,8 +610,8 @@ impl ICreateTypeLib2_Vtbl { SetHelpStringDll: SetHelpStringDll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDispError_Impl: Sized { @@ -695,8 +695,8 @@ impl IDispError_Vtbl { GetDescription: GetDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -798,8 +798,8 @@ impl IDispatchEx_Vtbl { GetNameSpaceParent: GetNameSpaceParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_SystemServices\"`"] @@ -829,8 +829,8 @@ impl IDropSource_Vtbl { GiveFeedback: GiveFeedback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDropSourceNotify_Impl: Sized { @@ -856,8 +856,8 @@ impl IDropSourceNotify_Vtbl { DragLeaveTarget: DragLeaveTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`"] @@ -901,8 +901,8 @@ impl IDropTarget_Vtbl { Drop: Drop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnterpriseDropTarget_Impl: Sized { @@ -934,8 +934,8 @@ impl IEnterpriseDropTarget_Vtbl { IsEvaluatingEdpPolicy: IsEvaluatingEdpPolicy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -985,8 +985,8 @@ impl IEnumOLEVERB_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumOleDocumentViews_Impl: Sized { @@ -1032,8 +1032,8 @@ impl IEnumOleDocumentViews_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumOleUndoUnits_Impl: Sized { @@ -1079,8 +1079,8 @@ impl IEnumOleUndoUnits_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -1130,8 +1130,8 @@ impl IEnumVARIANT_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -1375,8 +1375,8 @@ impl IFont_Vtbl { SetHdc: SetHdc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -1389,8 +1389,8 @@ impl IFontDisp_Vtbl { pub const fn new, Impl: IFontDisp_Impl, const OFFSET: isize>() -> IFontDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -1403,8 +1403,8 @@ impl IFontEventsDisp_Vtbl { pub const fn new, Impl: IFontEventsDisp_Impl, const OFFSET: isize>() -> IFontEventsDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IGetOleObject_Impl: Sized { @@ -1420,8 +1420,8 @@ impl IGetOleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOleObject: GetOleObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetVBAObject_Impl: Sized { @@ -1437,8 +1437,8 @@ impl IGetVBAObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetObject: GetObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectIdentity_Impl: Sized { @@ -1454,8 +1454,8 @@ impl IObjectIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualObject: IsEqualObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithSite_Impl: Sized { @@ -1481,8 +1481,8 @@ impl IObjectWithSite_Vtbl { GetSite: GetSite::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1552,8 +1552,8 @@ impl IOleAdviseHolder_Vtbl { SendOnClose: SendOnClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -1616,8 +1616,8 @@ impl IOleCache_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -1647,8 +1647,8 @@ impl IOleCache2_Vtbl { DiscardCache: DiscardCache::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1678,8 +1678,8 @@ impl IOleCacheControl_Vtbl { OnStop: OnStop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1749,8 +1749,8 @@ impl IOleClientSite_Vtbl { RequestNewObjectLayout: RequestNewObjectLayout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -1780,8 +1780,8 @@ impl IOleCommandTarget_Vtbl { Exec: Exec::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1817,8 +1817,8 @@ impl IOleContainer_Vtbl { LockContainer: LockContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1862,8 +1862,8 @@ impl IOleControl_Vtbl { FreezeEvents: FreezeEvents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1934,8 +1934,8 @@ impl IOleControlSite_Vtbl { ShowPropertyFrame: ShowPropertyFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1984,8 +1984,8 @@ impl IOleDocument_Vtbl { EnumViews: EnumViews::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleDocumentSite_Impl: Sized { @@ -2001,8 +2001,8 @@ impl IOleDocumentSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateMe: ActivateMe:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2133,8 +2133,8 @@ impl IOleDocumentView_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2185,8 +2185,8 @@ impl IOleInPlaceActiveObject_Vtbl { EnableModeless: EnableModeless::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2244,8 +2244,8 @@ impl IOleInPlaceFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IOleInPlaceObject_Impl: Sized + IOleWindow_Impl { @@ -2285,8 +2285,8 @@ impl IOleInPlaceObject_Vtbl { ReactivateAndUndo: ReactivateAndUndo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOleInPlaceObjectWindowless_Impl: Sized + IOleInPlaceObject_Impl { @@ -2324,8 +2324,8 @@ impl IOleInPlaceObjectWindowless_Vtbl { GetDropTarget: GetDropTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2411,8 +2411,8 @@ impl IOleInPlaceSite_Vtbl { OnPosRectChange: OnPosRectChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2449,8 +2449,8 @@ impl IOleInPlaceSiteEx_Vtbl { RequestUIActivate: RequestUIActivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2562,8 +2562,8 @@ impl IOleInPlaceSiteWindowless_Vtbl { OnDefWindowMessage: OnDefWindowMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IOleInPlaceUIWindow_Impl: Sized + IOleWindow_Impl { @@ -2609,8 +2609,8 @@ impl IOleInPlaceUIWindow_Vtbl { SetActiveObject: SetActiveObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2647,8 +2647,8 @@ impl IOleItemContainer_Vtbl { IsRunning: IsRunning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2765,8 +2765,8 @@ impl IOleLink_Vtbl { Update: Update::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2989,8 +2989,8 @@ impl IOleObject_Vtbl { SetColorScheme: SetColorScheme::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleParentUndoUnit_Impl: Sized + IOleUndoUnit_Impl { @@ -3043,8 +3043,8 @@ impl IOleParentUndoUnit_Vtbl { GetParentState: GetParentState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOleUILinkContainerA_Impl: Sized { @@ -3118,8 +3118,8 @@ impl IOleUILinkContainerA_Vtbl { CancelLink: CancelLink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleUILinkContainerW_Impl: Sized { @@ -3193,8 +3193,8 @@ impl IOleUILinkContainerW_Vtbl { CancelLink: CancelLink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleUILinkInfoA_Impl: Sized + IOleUILinkContainerA_Impl { @@ -3216,8 +3216,8 @@ impl IOleUILinkInfoA_Vtbl { } Self { base__: IOleUILinkContainerA_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOleUILinkInfoW_Impl: Sized + IOleUILinkContainerW_Impl { @@ -3239,8 +3239,8 @@ impl IOleUILinkInfoW_Vtbl { } Self { base__: IOleUILinkContainerW_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOleUIObjInfoA_Impl: Sized { @@ -3287,8 +3287,8 @@ impl IOleUIObjInfoA_Vtbl { SetViewInfo: SetViewInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleUIObjInfoW_Impl: Sized { @@ -3335,8 +3335,8 @@ impl IOleUIObjInfoW_Vtbl { SetViewInfo: SetViewInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleUndoManager_Impl: Sized { @@ -3462,8 +3462,8 @@ impl IOleUndoManager_Vtbl { Enable: Enable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleUndoUnit_Impl: Sized { @@ -3509,8 +3509,8 @@ impl IOleUndoUnit_Vtbl { OnNextAdd: OnNextAdd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOleWindow_Impl: Sized { @@ -3542,8 +3542,8 @@ impl IOleWindow_Vtbl { ContextSensitiveHelp: ContextSensitiveHelp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3563,8 +3563,8 @@ impl IParseDisplayName_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseDisplayName: ParseDisplayName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -3626,8 +3626,8 @@ impl IPerPropertyBrowsing_Vtbl { GetPredefinedValue: GetPredefinedValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -3664,8 +3664,8 @@ impl IPersistPropertyBag_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -3709,8 +3709,8 @@ impl IPersistPropertyBag2_Vtbl { IsDirty: IsDirty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -3878,8 +3878,8 @@ impl IPicture_Vtbl { Attributes: Attributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -4047,8 +4047,8 @@ impl IPicture2_Vtbl { Attributes: Attributes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -4061,8 +4061,8 @@ impl IPictureDisp_Vtbl { pub const fn new, Impl: IPictureDisp_Impl, const OFFSET: isize>() -> IPictureDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPointerInactive_Impl: Sized { @@ -4101,8 +4101,8 @@ impl IPointerInactive_Vtbl { OnInactiveSetCursor: OnInactiveSetCursor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -4139,8 +4139,8 @@ impl IPrint_Vtbl { Print: Print::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPropertyNotifySink_Impl: Sized { @@ -4166,8 +4166,8 @@ impl IPropertyNotifySink_Vtbl { OnRequestEdit: OnRequestEdit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -4260,8 +4260,8 @@ impl IPropertyPage_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -4281,8 +4281,8 @@ impl IPropertyPage2_Vtbl { } Self { base__: IPropertyPage_Vtbl::new::(), EditProperty: EditProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -4338,8 +4338,8 @@ impl IPropertyPageSite_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProtectFocus_Impl: Sized { @@ -4361,8 +4361,8 @@ impl IProtectFocus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowFocusChange: AllowFocusChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -4417,8 +4417,8 @@ impl IProtectedModeMenuServices_Vtbl { LoadMenuID: LoadMenuID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4444,8 +4444,8 @@ impl IProvideClassInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassInfo: GetClassInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4471,8 +4471,8 @@ impl IProvideClassInfo2_Vtbl { } Self { base__: IProvideClassInfo_Vtbl::new::(), GetGUID: GetGUID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4508,8 +4508,8 @@ impl IProvideMultipleClassInfo_Vtbl { GetInfoOfIndex: GetInfoOfIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IProvideRuntimeContext_Impl: Sized { @@ -4525,8 +4525,8 @@ impl IProvideRuntimeContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrentSourceContext: GetCurrentSourceContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -4569,8 +4569,8 @@ impl IQuickActivate_Vtbl { GetContentExtent: GetContentExtent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -4728,8 +4728,8 @@ impl IRecordInfo_Vtbl { RecordDestroy: RecordDestroy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimpleFrameSite_Impl: Sized { @@ -4755,8 +4755,8 @@ impl ISimpleFrameSite_Vtbl { PostMessageFilter: PostMessageFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpecifyPropertyPages_Impl: Sized { @@ -4778,8 +4778,8 @@ impl ISpecifyPropertyPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4815,8 +4815,8 @@ impl ITypeChangeEvents_Vtbl { AfterTypeChange: AfterTypeChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4842,8 +4842,8 @@ impl ITypeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromTypeInfo: CreateFromTypeInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITypeMarshal_Impl: Sized { @@ -4889,8 +4889,8 @@ impl ITypeMarshal_Vtbl { Free: Free::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -4910,8 +4910,8 @@ impl IVBFormat_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Format: Format:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4937,8 +4937,8 @@ impl IVBGetControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumControls: EnumControls:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`"] @@ -4958,8 +4958,8 @@ impl IVariantChangeType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangeType: ChangeType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -5017,8 +5017,8 @@ impl IViewObject_Vtbl { GetAdvise: GetAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -5044,8 +5044,8 @@ impl IViewObject2_Vtbl { } Self { base__: IViewObject_Vtbl::new::(), GetExtent: GetExtent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -5126,8 +5126,8 @@ impl IViewObjectEx_Vtbl { GetNaturalExtent: GetNaturalExtent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IZoomEvents_Impl: Sized { @@ -5143,7 +5143,7 @@ impl IZoomEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnZoomPercentChanged: OnZoomPercentChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs index fba713b73b..77aafff51f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs @@ -17,8 +17,8 @@ impl IWPCGamesSettings_Vtbl { } Self { base__: IWPCSettings_Vtbl::new::(), IsBlocked: IsBlocked:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWPCProviderConfig_Impl: Sized { @@ -57,8 +57,8 @@ impl IWPCProviderConfig_Vtbl { RequestOverride: RequestOverride::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWPCProviderState_Impl: Sized { @@ -84,8 +84,8 @@ impl IWPCProviderState_Vtbl { Disable: Disable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWPCProviderSupport_Impl: Sized { @@ -107,8 +107,8 @@ impl IWPCProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrent: GetCurrent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWPCSettings_Impl: Sized { @@ -159,8 +159,8 @@ impl IWPCSettings_Vtbl { GetRestrictions: GetRestrictions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWPCWebSettings_Impl: Sized + IWPCSettings_Impl { @@ -198,8 +198,8 @@ impl IWPCWebSettings_Vtbl { RequestURLOverride: RequestURLOverride::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWindowsParentalControls_Impl: Sized + IWindowsParentalControlsCore_Impl { @@ -221,8 +221,8 @@ impl IWindowsParentalControls_Vtbl { } Self { base__: IWindowsParentalControlsCore_Vtbl::new::(), GetGamesSettings: GetGamesSettings:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWindowsParentalControlsCore_Impl: Sized { @@ -280,7 +280,7 @@ impl IWindowsParentalControlsCore_Vtbl { GetWebFilterInfo: GetWebFilterInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs index c3012e7589..944d841cb7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs @@ -8,8 +8,8 @@ impl DICounterItem_Vtbl { pub const fn new, Impl: DICounterItem_Impl, const OFFSET: isize>() -> DICounterItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22,8 +22,8 @@ impl DILogFileItem_Vtbl { pub const fn new, Impl: DILogFileItem_Impl, const OFFSET: isize>() -> DILogFileItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -36,8 +36,8 @@ impl DISystemMonitor_Vtbl { pub const fn new, Impl: DISystemMonitor_Impl, const OFFSET: isize>() -> DISystemMonitor_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -50,8 +50,8 @@ impl DISystemMonitorEvents_Vtbl { pub const fn new, Impl: DISystemMonitorEvents_Impl, const OFFSET: isize>() -> DISystemMonitorEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -64,8 +64,8 @@ impl DISystemMonitorInternal_Vtbl { pub const fn new, Impl: DISystemMonitorInternal_Impl, const OFFSET: isize>() -> DISystemMonitorInternal_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -241,8 +241,8 @@ impl IAlertDataCollector_Vtbl { SetTriggerDataCollectorSet: SetTriggerDataCollectorSet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -398,8 +398,8 @@ impl IApiTracingDataCollector_Vtbl { SetExcludeApis: SetExcludeApis::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -595,8 +595,8 @@ impl IConfigurationDataCollector_Vtbl { SetSystemStateFile: SetSystemStateFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICounterItem_Impl: Sized { @@ -728,8 +728,8 @@ impl ICounterItem_Vtbl { GetStatistics: GetStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -798,8 +798,8 @@ impl ICounterItem2_Vtbl { GetDataAt: GetDataAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -874,8 +874,8 @@ impl ICounters_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1156,8 +1156,8 @@ impl IDataCollector_Vtbl { CreateOutputLocation: CreateOutputLocation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1260,8 +1260,8 @@ impl IDataCollectorCollection_Vtbl { CreateDataCollector: CreateDataCollector::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1901,8 +1901,8 @@ impl IDataCollectorSet_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1992,8 +1992,8 @@ impl IDataCollectorSetCollection_Vtbl { GetDataCollectorSets: GetDataCollectorSets::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2262,8 +2262,8 @@ impl IDataManager_Vtbl { Extract: Extract::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2359,8 +2359,8 @@ impl IFolderAction_Vtbl { SetSendCabTo: SetSendCabTo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2456,8 +2456,8 @@ impl IFolderActionCollection_Vtbl { CreateFolderAction: CreateFolderAction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ILogFileItem_Impl: Sized { @@ -2479,8 +2479,8 @@ impl ILogFileItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Path: Path:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2555,8 +2555,8 @@ impl ILogFiles_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2672,8 +2672,8 @@ impl IPerformanceCounterDataCollector_Vtbl { SetSegmentMaxRecords: SetSegmentMaxRecords::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2769,8 +2769,8 @@ impl ISchedule_Vtbl { SetDays: SetDays::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2866,8 +2866,8 @@ impl IScheduleCollection_Vtbl { CreateSchedule: CreateSchedule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -3631,8 +3631,8 @@ impl ISystemMonitor_Vtbl { SqlLogSetName: SqlLogSetName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -3830,8 +3830,8 @@ impl ISystemMonitor2_Vtbl { LoadSettings: LoadSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISystemMonitorEvents_Impl: Sized { @@ -3878,8 +3878,8 @@ impl ISystemMonitorEvents_Vtbl { OnDblClick: OnDblClick::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4301,8 +4301,8 @@ impl ITraceDataCollector_Vtbl { TraceDataProviders: TraceDataProviders::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4517,8 +4517,8 @@ impl ITraceDataProvider_Vtbl { GetRegisteredProcesses: GetRegisteredProcesses::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4628,8 +4628,8 @@ impl ITraceDataProviderCollection_Vtbl { GetTraceDataProvidersByProcess: GetTraceDataProvidersByProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4785,8 +4785,8 @@ impl IValueMap_Vtbl { CreateValueMapItem: CreateValueMapItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4902,8 +4902,8 @@ impl IValueMapItem_Vtbl { SetValueMapType: SetValueMapType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5092,8 +5092,8 @@ impl _ICounterItemUnion_Vtbl { GetDataAt: GetDataAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ICounterItemUnion as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ICounterItemUnion as ::windows_core::ComInterface>::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -6039,7 +6039,7 @@ impl _ISystemMonitorUnion_Vtbl { LoadSettings: LoadSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ISystemMonitorUnion as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ISystemMonitorUnion as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs index 0902aff1df..7b88c3b9ea 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs @@ -25,8 +25,8 @@ impl INetworkTransportSettings_Vtbl { QuerySetting: QuerySetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INotificationTransportSync_Impl: Sized { @@ -52,8 +52,8 @@ impl INotificationTransportSync_Vtbl { Flush: Flush::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCBuddy_Impl: Sized + IRTCPresenceContact_Impl { @@ -91,8 +91,8 @@ impl IRTCBuddy_Vtbl { Notes: Notes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -206,8 +206,8 @@ impl IRTCBuddy2_Vtbl { SubscriptionType: SubscriptionType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -233,8 +233,8 @@ impl IRTCBuddyEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Buddy: Buddy:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -289,8 +289,8 @@ impl IRTCBuddyEvent2_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -399,8 +399,8 @@ impl IRTCBuddyGroup_Vtbl { Profile: Profile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -468,8 +468,8 @@ impl IRTCBuddyGroupEvent_Vtbl { StatusCode: StatusCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -905,8 +905,8 @@ impl IRTCClient_Vtbl { IsTuned: IsTuned::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1043,8 +1043,8 @@ impl IRTCClient2_Vtbl { get_AllowedPorts: get_AllowedPorts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1086,8 +1086,8 @@ impl IRTCClientEvent_Vtbl { Client: Client::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCClientPortManagement_Impl: Sized { @@ -1120,8 +1120,8 @@ impl IRTCClientPortManagement_Vtbl { GetPortRange: GetPortRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1323,8 +1323,8 @@ impl IRTCClientPresence_Vtbl { SetPrivacyMode: SetPrivacyMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1493,8 +1493,8 @@ impl IRTCClientPresence2_Vtbl { AddBuddyEx: AddBuddyEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1583,8 +1583,8 @@ impl IRTCClientProvisioning_Vtbl { SessionCapabilities: SessionCapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1604,8 +1604,8 @@ impl IRTCClientProvisioning2_Vtbl { } Self { base__: IRTCClientProvisioning_Vtbl::new::(), EnableProfileEx: EnableProfileEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1660,8 +1660,8 @@ impl IRTCCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1674,8 +1674,8 @@ impl IRTCDispatchEventNotification_Vtbl { pub const fn new, Impl: IRTCDispatchEventNotification_Impl, const OFFSET: isize>() -> IRTCDispatchEventNotification_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCEnumBuddies_Impl: Sized { @@ -1721,8 +1721,8 @@ impl IRTCEnumBuddies_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumGroups_Impl: Sized { @@ -1768,8 +1768,8 @@ impl IRTCEnumGroups_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumParticipants_Impl: Sized { @@ -1815,8 +1815,8 @@ impl IRTCEnumParticipants_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumPresenceDevices_Impl: Sized { @@ -1862,8 +1862,8 @@ impl IRTCEnumPresenceDevices_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumProfiles_Impl: Sized { @@ -1909,8 +1909,8 @@ impl IRTCEnumProfiles_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumUserSearchResults_Impl: Sized { @@ -1956,8 +1956,8 @@ impl IRTCEnumUserSearchResults_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCEnumWatchers_Impl: Sized { @@ -2003,8 +2003,8 @@ impl IRTCEnumWatchers_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2024,8 +2024,8 @@ impl IRTCEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2093,8 +2093,8 @@ impl IRTCInfoEvent_Vtbl { InfoHeader: InfoHeader::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2162,8 +2162,8 @@ impl IRTCIntensityEvent_Vtbl { Direction: Direction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2218,8 +2218,8 @@ impl IRTCMediaEvent_Vtbl { EventReason: EventReason::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2314,8 +2314,8 @@ impl IRTCMediaRequestEvent_Vtbl { State: State::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2409,8 +2409,8 @@ impl IRTCMessagingEvent_Vtbl { UserStatus: UserStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCParticipant_Impl: Sized { @@ -2487,8 +2487,8 @@ impl IRTCParticipant_Vtbl { Session: Session::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2543,8 +2543,8 @@ impl IRTCParticipantStateChangeEvent_Vtbl { StatusCode: StatusCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCPortManager_Impl: Sized { @@ -2577,8 +2577,8 @@ impl IRTCPortManager_Vtbl { ReleaseMapping: ReleaseMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCPresenceContact_Impl: Sized { @@ -2670,8 +2670,8 @@ impl IRTCPresenceContact_Vtbl { SetPersistent: SetPersistent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2720,8 +2720,8 @@ impl IRTCPresenceDataEvent_Vtbl { GetPresenceData: GetPresenceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCPresenceDevice_Impl: Sized { @@ -2779,8 +2779,8 @@ impl IRTCPresenceDevice_Vtbl { GetPresenceData: GetPresenceData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2848,8 +2848,8 @@ impl IRTCPresencePropertyEvent_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2898,8 +2898,8 @@ impl IRTCPresenceStatusEvent_Vtbl { GetLocalPresenceInfo: GetLocalPresenceInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCProfile_Impl: Sized { @@ -3139,8 +3139,8 @@ impl IRTCProfile_Vtbl { State: State::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCProfile2_Impl: Sized + IRTCProfile_Impl { @@ -3192,8 +3192,8 @@ impl IRTCProfile2_Vtbl { SetAllowedAuth: SetAllowedAuth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3248,8 +3248,8 @@ impl IRTCProfileEvent_Vtbl { StatusCode: StatusCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3275,8 +3275,8 @@ impl IRTCProfileEvent2_Vtbl { } Self { base__: IRTCProfileEvent_Vtbl::new::(), EventType: EventType:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3339,8 +3339,8 @@ impl IRTCReInviteEvent_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3408,8 +3408,8 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3477,8 +3477,8 @@ impl IRTCRoamingEvent_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3694,8 +3694,8 @@ impl IRTCSession_Vtbl { put_EncryptionKey: put_EncryptionKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3765,8 +3765,8 @@ impl IRTCSession2_Vtbl { ReInviteWithSessionDescription: ReInviteWithSessionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCSessionCallControl_Impl: Sized { @@ -3859,8 +3859,8 @@ impl IRTCSessionCallControl_Vtbl { IsReferred: IsReferred::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCSessionDescriptionManager_Impl: Sized { @@ -3879,8 +3879,8 @@ impl IRTCSessionDescriptionManager_Vtbl { EvaluateSessionDescription: EvaluateSessionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3948,8 +3948,8 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3985,8 +3985,8 @@ impl IRTCSessionOperationCompleteEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRTCSessionPortManagement_Impl: Sized { @@ -4002,8 +4002,8 @@ impl IRTCSessionPortManagement_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPortManager: SetPortManager:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4071,8 +4071,8 @@ impl IRTCSessionReferStatusEvent_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4161,8 +4161,8 @@ impl IRTCSessionReferredEvent_Vtbl { SetReferredSessionState: SetReferredSessionState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4230,8 +4230,8 @@ impl IRTCSessionStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4293,8 +4293,8 @@ impl IRTCSessionStateChangeEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRTCUserSearch_Impl: Sized { @@ -4326,8 +4326,8 @@ impl IRTCUserSearch_Vtbl { ExecuteSearch: ExecuteSearch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCUserSearchQuery_Impl: Sized { @@ -4412,8 +4412,8 @@ impl IRTCUserSearchQuery_Vtbl { SearchDomain: SearchDomain::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRTCUserSearchResult_Impl: Sized { @@ -4435,8 +4435,8 @@ impl IRTCUserSearchResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Value: get_Value:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4543,8 +4543,8 @@ impl IRTCUserSearchResultsEvent_Vtbl { MoreAvailable: MoreAvailable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCWatcher_Impl: Sized + IRTCPresenceContact_Impl { @@ -4576,8 +4576,8 @@ impl IRTCWatcher_Vtbl { SetState: SetState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRTCWatcher2_Impl: Sized + IRTCWatcher_Impl { @@ -4611,8 +4611,8 @@ impl IRTCWatcher2_Vtbl { } Self { base__: IRTCWatcher_Vtbl::new::(), Profile: Profile::, Scope: Scope:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4638,8 +4638,8 @@ impl IRTCWatcherEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Watcher: Watcher:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4681,8 +4681,8 @@ impl IRTCWatcherEvent2_Vtbl { StatusCode: StatusCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Networking_WinSock\"`"] @@ -4712,7 +4712,7 @@ impl ITransportSettingsInternal_Vtbl { QuerySetting: QuerySetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs index 8e7e54bcd2..d8ded2ef03 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs @@ -8,8 +8,8 @@ impl DRendezvousSessionEvents_Vtbl { pub const fn new, Impl: DRendezvousSessionEvents_Impl, const OFFSET: isize>() -> DRendezvousSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRendezvousApplication_Impl: Sized { @@ -25,8 +25,8 @@ impl IRendezvousApplication_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRendezvousSession: SetRendezvousSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRendezvousSession_Impl: Sized { @@ -91,7 +91,7 @@ impl IRendezvousSession_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index e722b0b5fd..eca6e48ca6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -311,8 +311,8 @@ impl IADsTSUserEx_Vtbl { SetTerminalServicesInitialProgram: SetTerminalServicesInitialProgram::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioDeviceEndpoint_Impl: Sized { @@ -364,8 +364,8 @@ impl IAudioDeviceEndpoint_Vtbl { WriteExclusiveModeParametersToSharedMemory: WriteExclusiveModeParametersToSharedMemory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio\"`"] @@ -434,8 +434,8 @@ impl IAudioEndpoint_Vtbl { SetEventHandle: SetEventHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointControl_Impl: Sized { @@ -468,8 +468,8 @@ impl IAudioEndpointControl_Vtbl { Stop: Stop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAudioEndpointRT_Impl: Sized { @@ -509,8 +509,8 @@ impl IAudioEndpointRT_Vtbl { SetPinActive: SetPinActive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_Apo\"`"] @@ -547,8 +547,8 @@ impl IAudioInputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_Audio_Apo\"`"] @@ -585,8 +585,8 @@ impl IAudioOutputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -690,8 +690,8 @@ impl IRemoteDesktopClient_Vtbl { detachEvent: detachEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -741,8 +741,8 @@ impl IRemoteDesktopClientActions_Vtbl { GetSnapshot: GetSnapshot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -798,8 +798,8 @@ impl IRemoteDesktopClientSettings_Vtbl { SetRdpProperty: SetRdpProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -875,8 +875,8 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { PointerSpeed: PointerSpeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRemoteSystemAdditionalInfoProvider_Impl: Sized { @@ -892,8 +892,8 @@ impl IRemoteSystemAdditionalInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAdditionalInfo: GetAdditionalInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGAccountingEngine_Impl: Sized { @@ -909,8 +909,8 @@ impl ITSGAccountingEngine_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAccounting: DoAccounting:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGAuthenticateUserSink_Impl: Sized { @@ -950,8 +950,8 @@ impl ITSGAuthenticateUserSink_Vtbl { DisconnectUser: DisconnectUser::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGAuthenticationEngine_Impl: Sized { @@ -977,8 +977,8 @@ impl ITSGAuthenticationEngine_Vtbl { CancelAuthentication: CancelAuthentication::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGAuthorizeConnectionSink_Impl: Sized { @@ -994,8 +994,8 @@ impl ITSGAuthorizeConnectionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionAuthorized: OnConnectionAuthorized:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGAuthorizeResourceSink_Impl: Sized { @@ -1011,8 +1011,8 @@ impl ITSGAuthorizeResourceSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChannelAuthorized: OnChannelAuthorized:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITSGPolicyEngine_Impl: Sized { @@ -1073,8 +1073,8 @@ impl ITSGPolicyEngine_Vtbl { IsQuarantineEnabled: IsQuarantineEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbBaseNotifySink_Impl: Sized { @@ -1100,8 +1100,8 @@ impl ITsSbBaseNotifySink_Vtbl { OnReportStatus: OnReportStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1300,8 +1300,8 @@ impl ITsSbClientConnection_Vtbl { GetDisconnectedSession: GetDisconnectedSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1314,8 +1314,8 @@ impl ITsSbClientConnectionPropertySet_Vtbl { pub const fn new, Impl: ITsSbClientConnectionPropertySet_Impl, const OFFSET: isize>() -> ITsSbClientConnectionPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1377,8 +1377,8 @@ impl ITsSbEnvironment_Vtbl { SetEnvironmentPropertySet: SetEnvironmentPropertySet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1391,8 +1391,8 @@ impl ITsSbEnvironmentPropertySet_Vtbl { pub const fn new, Impl: ITsSbEnvironmentPropertySet_Impl, const OFFSET: isize>() -> ITsSbEnvironmentPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1435,8 +1435,8 @@ impl ITsSbFilterPluginStore_Vtbl { DeleteProperties: DeleteProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbGenericNotifySink_Impl: Sized { @@ -1468,8 +1468,8 @@ impl ITsSbGenericNotifySink_Vtbl { GetWaitTimeout: GetWaitTimeout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1546,8 +1546,8 @@ impl ITsSbGlobalStore_Vtbl { GetFarmProperty: GetFarmProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbLoadBalanceResult_Impl: Sized { @@ -1569,8 +1569,8 @@ impl ITsSbLoadBalanceResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TargetName: TargetName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1590,8 +1590,8 @@ impl ITsSbLoadBalancing_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), GetMostSuitableTarget: GetMostSuitableTarget:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITsSbLoadBalancingNotifySink_Impl: Sized + ITsSbBaseNotifySink_Impl { @@ -1607,8 +1607,8 @@ impl ITsSbLoadBalancingNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnGetMostSuitableTarget: OnGetMostSuitableTarget:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1628,8 +1628,8 @@ impl ITsSbOrchestration_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), PrepareTargetForConnect: PrepareTargetForConnect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITsSbOrchestrationNotifySink_Impl: Sized + ITsSbBaseNotifySink_Impl { @@ -1645,8 +1645,8 @@ impl ITsSbOrchestrationNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnReadyToConnect: OnReadyToConnect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1666,8 +1666,8 @@ impl ITsSbPlacement_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), QueryEnvironmentForTarget: QueryEnvironmentForTarget:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITsSbPlacementNotifySink_Impl: Sized + ITsSbBaseNotifySink_Impl { @@ -1686,8 +1686,8 @@ impl ITsSbPlacementNotifySink_Vtbl { OnQueryEnvironmentCompleted: OnQueryEnvironmentCompleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1717,8 +1717,8 @@ impl ITsSbPlugin_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbPluginNotifySink_Impl: Sized + ITsSbBaseNotifySink_Impl { @@ -1744,8 +1744,8 @@ impl ITsSbPluginNotifySink_Vtbl { OnTerminated: OnTerminated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1758,8 +1758,8 @@ impl ITsSbPluginPropertySet_Vtbl { pub const fn new, Impl: ITsSbPluginPropertySet_Impl, const OFFSET: isize>() -> ITsSbPluginPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1772,8 +1772,8 @@ impl ITsSbPropertySet_Vtbl { pub const fn new, Impl: ITsSbPropertySet_Impl, const OFFSET: isize>() -> ITsSbPropertySet_Vtbl { Self { base__: super::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1933,8 +1933,8 @@ impl ITsSbProvider_Vtbl { CreateEnvironmentPropertySetObject: CreateEnvironmentPropertySetObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -1978,8 +1978,8 @@ impl ITsSbProvisioning_Vtbl { CancelJob: CancelJob::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITsSbProvisioningPluginNotifySink_Impl: Sized { @@ -2033,8 +2033,8 @@ impl ITsSbProvisioningPluginNotifySink_Vtbl { OnVirtualMachineHostStatusChanged: OnVirtualMachineHostStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbResourceNotification_Impl: Sized { @@ -2067,8 +2067,8 @@ impl ITsSbResourceNotification_Vtbl { NotifyClientConnectionStateChange: NotifyClientConnectionStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbResourceNotificationEx_Impl: Sized { @@ -2101,8 +2101,8 @@ impl ITsSbResourceNotificationEx_Vtbl { NotifyClientConnectionStateChangeEx: NotifyClientConnectionStateChangeEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -2115,8 +2115,8 @@ impl ITsSbResourcePlugin_Vtbl { pub const fn new, Impl: ITsSbResourcePlugin_Impl, const OFFSET: isize>() -> ITsSbResourcePlugin_Vtbl { Self { base__: ITsSbPlugin_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2370,8 +2370,8 @@ impl ITsSbResourcePluginStore_Vtbl { SetServerDrainMode: SetServerDrainMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbServiceNotification_Impl: Sized { @@ -2397,8 +2397,8 @@ impl ITsSbServiceNotification_Vtbl { NotifyServiceSuccess: NotifyServiceSuccess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITsSbSession_Impl: Sized { @@ -2589,8 +2589,8 @@ impl ITsSbSession_Vtbl { SetProtocolType: SetProtocolType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -2799,8 +2799,8 @@ impl ITsSbTarget_Vtbl { TargetLoad: TargetLoad::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2813,8 +2813,8 @@ impl ITsSbTargetPropertySet_Vtbl { pub const fn new, Impl: ITsSbTargetPropertySet_Impl, const OFFSET: isize>() -> ITsSbTargetPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2947,8 +2947,8 @@ impl ITsSbTaskInfo_Vtbl { Status: Status::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -2978,8 +2978,8 @@ impl ITsSbTaskPlugin_Vtbl { SetTaskQueue: SetTaskQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3023,8 +3023,8 @@ impl ITsSbTaskPluginNotifySink_Vtbl { OnReportTasks: OnReportTasks::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWRdsEnhancedFastReconnectArbitrator_Impl: Sized { @@ -3049,8 +3049,8 @@ impl IWRdsEnhancedFastReconnectArbitrator_Vtbl { GetSessionForEnhancedFastReconnect: GetSessionForEnhancedFastReconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsGraphicsChannel_Impl: Sized { @@ -3083,8 +3083,8 @@ impl IWRdsGraphicsChannel_Vtbl { Open: Open::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsGraphicsChannelEvents_Impl: Sized { @@ -3131,8 +3131,8 @@ impl IWRdsGraphicsChannelEvents_Vtbl { OnMetricsUpdate: OnMetricsUpdate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsGraphicsChannelManager_Impl: Sized { @@ -3154,8 +3154,8 @@ impl IWRdsGraphicsChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateChannel: CreateChannel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolConnection_Impl: Sized { @@ -3371,8 +3371,8 @@ impl IWRdsProtocolConnection_Vtbl { NotifyCommandProcessCreated: NotifyCommandProcessCreated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolConnectionCallback_Impl: Sized { @@ -3425,8 +3425,8 @@ impl IWRdsProtocolConnectionCallback_Vtbl { GetConnectionId: GetConnectionId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolConnectionSettings_Impl: Sized { @@ -3452,8 +3452,8 @@ impl IWRdsProtocolConnectionSettings_Vtbl { GetConnectionSetting: GetConnectionSetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolLicenseConnection_Impl: Sized { @@ -3493,8 +3493,8 @@ impl IWRdsProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolListener_Impl: Sized { @@ -3533,8 +3533,8 @@ impl IWRdsProtocolListener_Vtbl { StopListen: StopListen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolListenerCallback_Impl: Sized { @@ -3556,8 +3556,8 @@ impl IWRdsProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolLogonErrorRedirector_Impl: Sized { @@ -3615,8 +3615,8 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolManager_Impl: Sized { @@ -3690,8 +3690,8 @@ impl IWRdsProtocolManager_Vtbl { Uninitialize: Uninitialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolSettings_Impl: Sized { @@ -3717,8 +3717,8 @@ impl IWRdsProtocolSettings_Vtbl { MergeSettings: MergeSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolShadowCallback_Impl: Sized { @@ -3745,8 +3745,8 @@ impl IWRdsProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsProtocolShadowConnection_Impl: Sized { @@ -3779,8 +3779,8 @@ impl IWRdsProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWRdsWddmIddProps_Impl: Sized { @@ -3820,8 +3820,8 @@ impl IWRdsWddmIddProps_Vtbl { EnableWddmIdd: EnableWddmIdd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSBitmapRenderService_Impl: Sized { @@ -3843,8 +3843,8 @@ impl IWTSBitmapRenderService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMappedRenderer: GetMappedRenderer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSBitmapRenderer_Impl: Sized { @@ -3883,8 +3883,8 @@ impl IWTSBitmapRenderer_Vtbl { RemoveMapping: RemoveMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSBitmapRendererCallback_Impl: Sized { @@ -3900,8 +3900,8 @@ impl IWTSBitmapRendererCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTargetSizeChanged: OnTargetSizeChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -3927,8 +3927,8 @@ impl IWTSListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConfiguration: GetConfiguration:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSListenerCallback_Impl: Sized { @@ -3944,8 +3944,8 @@ impl IWTSListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewChannelConnection: OnNewChannelConnection:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSPlugin_Impl: Sized { @@ -3985,8 +3985,8 @@ impl IWTSPlugin_Vtbl { Terminated: Terminated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSPluginServiceProvider_Impl: Sized { @@ -4008,8 +4008,8 @@ impl IWTSPluginServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolConnection_Impl: Sized { @@ -4212,8 +4212,8 @@ impl IWTSProtocolConnection_Vtbl { GetShadowConnection: GetShadowConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolConnectionCallback_Impl: Sized { @@ -4260,8 +4260,8 @@ impl IWTSProtocolConnectionCallback_Vtbl { DisplayIOCtl: DisplayIOCtl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolLicenseConnection_Impl: Sized { @@ -4301,8 +4301,8 @@ impl IWTSProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolListener_Impl: Sized { @@ -4328,8 +4328,8 @@ impl IWTSProtocolListener_Vtbl { StopListen: StopListen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolListenerCallback_Impl: Sized { @@ -4351,8 +4351,8 @@ impl IWTSProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolLogonErrorRedirector_Impl: Sized { @@ -4410,8 +4410,8 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolManager_Impl: Sized { @@ -4464,8 +4464,8 @@ impl IWTSProtocolManager_Vtbl { NotifySessionStateChange: NotifySessionStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolShadowCallback_Impl: Sized { @@ -4492,8 +4492,8 @@ impl IWTSProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSProtocolShadowConnection_Impl: Sized { @@ -4526,8 +4526,8 @@ impl IWTSProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSSBPlugin_Impl: Sized { @@ -4587,8 +4587,8 @@ impl IWTSSBPlugin_Vtbl { WTSSBX_GetUserExternalSession: WTSSBX_GetUserExternalSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSVirtualChannel_Impl: Sized { @@ -4610,8 +4610,8 @@ impl IWTSVirtualChannel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write::, Close: Close:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSVirtualChannelCallback_Impl: Sized { @@ -4637,8 +4637,8 @@ impl IWTSVirtualChannelCallback_Vtbl { OnClose: OnClose::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWTSVirtualChannelManager_Impl: Sized { @@ -4660,8 +4660,8 @@ impl IWTSVirtualChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateListener: CreateListener:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4710,8 +4710,8 @@ impl IWorkspace_Vtbl { GetProcessId: GetProcessId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4731,8 +4731,8 @@ impl IWorkspace2_Vtbl { } Self { base__: IWorkspace_Vtbl::new::(), StartRemoteApplicationEx: StartRemoteApplicationEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4768,8 +4768,8 @@ impl IWorkspace3_Vtbl { SetClaimsToken: SetClaimsToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IWorkspaceClientExt_Impl: Sized { @@ -4814,8 +4814,8 @@ impl IWorkspaceClientExt_Vtbl { IssueDisconnect: IssueDisconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWorkspaceRegistration_Impl: Sized { @@ -4847,8 +4847,8 @@ impl IWorkspaceRegistration_Vtbl { RemoveResource: RemoveResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWorkspaceRegistration2_Impl: Sized + IWorkspaceRegistration_Impl { @@ -4874,8 +4874,8 @@ impl IWorkspaceRegistration2_Vtbl { RemoveResourceEx: RemoveResourceEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWorkspaceReportMessage_Impl: Sized { @@ -4914,8 +4914,8 @@ impl IWorkspaceReportMessage_Vtbl { RegisterErrorEvent: RegisterErrorEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4978,8 +4978,8 @@ impl IWorkspaceResTypeRegistry_Vtbl { ModifyResourceType: ModifyResourceType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5056,8 +5056,8 @@ impl IWorkspaceScriptable_Vtbl { DisconnectWorkspaceByFriendlyName: DisconnectWorkspaceByFriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5087,8 +5087,8 @@ impl IWorkspaceScriptable2_Vtbl { ResourceDismissed: ResourceDismissed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5122,8 +5122,8 @@ impl IWorkspaceScriptable3_Vtbl { } Self { base__: IWorkspaceScriptable2_Vtbl::new::(), StartWorkspaceEx2: StartWorkspaceEx2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ItsPubPlugin_Impl: Sized { @@ -5195,8 +5195,8 @@ impl ItsPubPlugin_Vtbl { ResolveResource: ResolveResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ItsPubPlugin2_Impl: Sized + ItsPubPlugin_Impl { @@ -5236,8 +5236,8 @@ impl ItsPubPlugin2_Vtbl { DeletePersonalDesktopAssignment: DeletePersonalDesktopAssignment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5250,7 +5250,7 @@ impl _ITSWkspEvents_Vtbl { pub const fn new, Impl: _ITSWkspEvents_Impl, const OFFSET: isize>() -> _ITSWkspEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_ITSWkspEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_ITSWkspEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs index 2f822e57e2..9a47599e03 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs @@ -63,8 +63,8 @@ impl IWSMan_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -107,8 +107,8 @@ impl IWSManConnectionOptions_Vtbl { SetPassword: SetPassword::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -144,8 +144,8 @@ impl IWSManConnectionOptionsEx_Vtbl { SetCertificateThumbprint: SetCertificateThumbprint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -259,8 +259,8 @@ impl IWSManConnectionOptionsEx2_Vtbl { ProxyAuthenticationUseDigest: ProxyAuthenticationUseDigest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -315,8 +315,8 @@ impl IWSManEnumerator_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -592,8 +592,8 @@ impl IWSManEx_Vtbl { EnumerationFlagReturnObject: EnumerationFlagReturnObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -622,8 +622,8 @@ impl IWSManEx2_Vtbl { SessionFlagUseClientCertificate: SessionFlagUseClientCertificate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -730,8 +730,8 @@ impl IWSManEx3_Vtbl { SessionFlagUseSsl: SessionFlagUseSsl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -757,8 +757,8 @@ impl IWSManInternal_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConfigSDDL: ConfigSDDL:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -895,8 +895,8 @@ impl IWSManResourceLocator_Vtbl { Error: Error::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWSManResourceLocatorInternal_Impl: Sized {} @@ -905,8 +905,8 @@ impl IWSManResourceLocatorInternal_Vtbl { pub const fn new, Impl: IWSManResourceLocatorInternal_Impl, const OFFSET: isize>() -> IWSManResourceLocatorInternal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1060,7 +1060,7 @@ impl IWSManSession_Vtbl { SetTimeout: SetTimeout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index 5a262d91fe..32a744508a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -60,8 +60,8 @@ impl DataSource_Vtbl { removeDataSourceListener: removeDataSourceListener::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait DataSourceListener_Impl: Sized { @@ -94,8 +94,8 @@ impl DataSourceListener_Vtbl { dataMemberRemoved: dataMemberRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -108,8 +108,8 @@ impl DataSourceObject_Vtbl { pub const fn new, Impl: DataSourceObject_Impl, const OFFSET: isize>() -> DataSourceObject_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -153,8 +153,8 @@ impl IAccessor_Vtbl { ReleaseAccessor: ReleaseAccessor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -174,8 +174,8 @@ impl IAlterIndex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AlterIndex: AlterIndex:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -205,8 +205,8 @@ impl IAlterTable_Vtbl { AlterTable: AlterTable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -226,8 +226,8 @@ impl IBindResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Bind: Bind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IChapteredRowset_Impl: Sized { @@ -253,8 +253,8 @@ impl IChapteredRowset_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -298,8 +298,8 @@ impl IColumnMapper_Vtbl { IsMapUpToDate: IsMapUpToDate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IColumnMapperCreator_Impl: Sized { @@ -321,8 +321,8 @@ impl IColumnMapperCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetColumnMapper: GetColumnMapper:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] @@ -352,8 +352,8 @@ impl IColumnsInfo_Vtbl { MapColumnIDs: MapColumnIDs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] @@ -373,8 +373,8 @@ impl IColumnsInfo2_Vtbl { } Self { base__: IColumnsInfo_Vtbl::new::(), GetRestrictedColumnInfo: GetRestrictedColumnInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -404,8 +404,8 @@ impl IColumnsRowset_Vtbl { GetColumnsRowset: GetColumnsRowset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommand_Impl: Sized { @@ -444,8 +444,8 @@ impl ICommand_Vtbl { GetDBSession: GetDBSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommandCost_Impl: Sized { @@ -499,8 +499,8 @@ impl ICommandCost_Vtbl { SetCostLimits: SetCostLimits::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -550,8 +550,8 @@ impl ICommandPersist_Vtbl { SaveCommand: SaveCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommandPrepare_Impl: Sized { @@ -577,8 +577,8 @@ impl ICommandPrepare_Vtbl { Unprepare: Unprepare::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -608,8 +608,8 @@ impl ICommandProperties_Vtbl { SetProperties: SetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommandStream_Impl: Sized { @@ -635,8 +635,8 @@ impl ICommandStream_Vtbl { SetCommandStream: SetCommandStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICommandText_Impl: Sized + ICommand_Impl { @@ -662,8 +662,8 @@ impl ICommandText_Vtbl { SetCommandText: SetCommandText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICommandValidate_Impl: Sized { @@ -689,8 +689,8 @@ impl ICommandValidate_Vtbl { ValidateSyntax: ValidateSyntax::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -727,8 +727,8 @@ impl ICommandWithParameters_Vtbl { SetParameterInfo: SetParameterInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -817,8 +817,8 @@ impl ICondition_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -854,8 +854,8 @@ impl ICondition2_Vtbl { GetLeafConditionInfo: GetLeafConditionInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -923,8 +923,8 @@ impl IConditionFactory_Vtbl { Resolve: Resolve::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1003,8 +1003,8 @@ impl IConditionFactory2_Vtbl { ResolveCondition: ResolveCondition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -1062,8 +1062,8 @@ impl IConditionGenerator_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConvertType_Impl: Sized { @@ -1079,8 +1079,8 @@ impl IConvertType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanConvert: CanConvert:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1100,8 +1100,8 @@ impl ICreateRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRow: CreateRow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBAsynchNotify_Impl: Sized { @@ -1134,8 +1134,8 @@ impl IDBAsynchNotify_Vtbl { OnStop: OnStop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBAsynchStatus_Impl: Sized { @@ -1161,8 +1161,8 @@ impl IDBAsynchStatus_Vtbl { GetStatus: GetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1182,8 +1182,8 @@ impl IDBBinderProperties_Vtbl { } Self { base__: IDBProperties_Vtbl::new::(), Reset: Reset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDBCreateCommand_Impl: Sized { @@ -1205,8 +1205,8 @@ impl IDBCreateCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCommand: CreateCommand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBCreateSession_Impl: Sized { @@ -1228,8 +1228,8 @@ impl IDBCreateSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1273,8 +1273,8 @@ impl IDBDataSourceAdmin_Vtbl { ModifyDataSource: ModifyDataSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBInfo_Impl: Sized { @@ -1306,8 +1306,8 @@ impl IDBInfo_Vtbl { GetLiteralInfo: GetLiteralInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBInitialize_Impl: Sized { @@ -1333,8 +1333,8 @@ impl IDBInitialize_Vtbl { Uninitialize: Uninitialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBPromptInitialize_Impl: Sized { @@ -1366,8 +1366,8 @@ impl IDBPromptInitialize_Vtbl { PromptFileName: PromptFileName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1404,8 +1404,8 @@ impl IDBProperties_Vtbl { SetProperties: SetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDBSchemaCommand_Impl: Sized { @@ -1437,8 +1437,8 @@ impl IDBSchemaCommand_Vtbl { GetSchemas: GetSchemas::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1468,8 +1468,8 @@ impl IDBSchemaRowset_Vtbl { GetSchemas: GetSchemas::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1499,8 +1499,8 @@ impl IDCInfo_Vtbl { SetInfo: SetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataConvert_Impl: Sized { @@ -1547,8 +1547,8 @@ impl IDataConvert_Vtbl { GetConversionSize: GetConversionSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1624,8 +1624,8 @@ impl IDataInitialize_Vtbl { WriteStringToStorage: WriteStringToStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1681,8 +1681,8 @@ impl IDataSourceLocator_Vtbl { PromptEdit: PromptEdit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEntity_Impl: Sized { @@ -1768,8 +1768,8 @@ impl IEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1832,8 +1832,8 @@ impl IEnumItemProperties_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSearchRoots_Impl: Sized { @@ -1879,8 +1879,8 @@ impl IEnumSearchRoots_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSearchScopeRules_Impl: Sized { @@ -1926,8 +1926,8 @@ impl IEnumSearchScopeRules_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSubscription_Impl: Sized { @@ -1986,8 +1986,8 @@ impl IEnumSubscription_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2024,8 +2024,8 @@ impl IErrorLookup_Vtbl { ReleaseErrors: ReleaseErrors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2107,8 +2107,8 @@ impl IErrorRecords_Vtbl { GetRecordCount: GetRecordCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetDataSource_Impl: Sized { @@ -2130,8 +2130,8 @@ impl IGetDataSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataSource: GetDataSource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetRow_Impl: Sized { @@ -2169,8 +2169,8 @@ impl IGetRow_Vtbl { GetURLFromHROW: GetURLFromHROW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetSession_Impl: Sized { @@ -2192,8 +2192,8 @@ impl IGetSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSession: GetSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetSourceRow_Impl: Sized { @@ -2215,8 +2215,8 @@ impl IGetSourceRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourceRow: GetSourceRow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2246,8 +2246,8 @@ impl IIndexDefinition_Vtbl { DropIndex: DropIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2267,8 +2267,8 @@ impl IInterval_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLimits: GetLimits:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -2305,8 +2305,8 @@ impl ILoadFilter_Vtbl { LoadIFilterFromStream: LoadIFilterFromStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -2329,8 +2329,8 @@ impl ILoadFilterWithPrivateComActivation_Vtbl { LoadIFilterWithPrivateComActivation: LoadIFilterWithPrivateComActivation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2387,8 +2387,8 @@ impl IMDDataset_Vtbl { GetSpecification: GetSpecification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMDFind_Impl: Sized { @@ -2426,8 +2426,8 @@ impl IMDFind_Vtbl { FindTuple: FindTuple::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2447,8 +2447,8 @@ impl IMDRangeRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRangeRowset: GetRangeRowset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaData_Impl: Sized { @@ -2464,8 +2464,8 @@ impl IMetaData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMultipleResults_Impl: Sized { @@ -2481,8 +2481,8 @@ impl IMultipleResults_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResult: GetResult:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INamedEntity_Impl: Sized { @@ -2514,8 +2514,8 @@ impl INamedEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INamedEntityCollector_Impl: Sized { @@ -2531,8 +2531,8 @@ impl INamedEntityCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`"] @@ -2595,8 +2595,8 @@ impl IObjectAccessControl_Vtbl { SetObjectOwner: SetObjectOwner::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpLockStatus_Impl: Sized { @@ -2647,8 +2647,8 @@ impl IOpLockStatus_Vtbl { GetOplockEventHandle: GetOplockEventHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2668,8 +2668,8 @@ impl IOpenRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenRowset: OpenRowset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IParentRowset_Impl: Sized { @@ -2691,8 +2691,8 @@ impl IParentRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetChildRowset: GetChildRowset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -2718,8 +2718,8 @@ impl IProtocolHandlerSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFilter: GetFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2745,8 +2745,8 @@ impl IProvideMoniker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMoniker: GetMoniker:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2848,8 +2848,8 @@ impl IQueryParser_Vtbl { RestatePropertyValueToString: RestatePropertyValueToString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -2886,8 +2886,8 @@ impl IQueryParserManager_Vtbl { SetOption: SetOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -2924,8 +2924,8 @@ impl IQuerySolution_Vtbl { GetLexicalData: GetLexicalData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IReadData_Impl: Sized { @@ -2951,8 +2951,8 @@ impl IReadData_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRegisterProvider_Impl: Sized { @@ -2991,8 +2991,8 @@ impl IRegisterProvider_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRelationship_Impl: Sized { @@ -3051,8 +3051,8 @@ impl IRelationship_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3072,8 +3072,8 @@ impl IRichChunk_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -3110,8 +3110,8 @@ impl IRow_Vtbl { Open: Open::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -3131,8 +3131,8 @@ impl IRowChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColumns: SetColumns:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowPosition_Impl: Sized { @@ -3185,8 +3185,8 @@ impl IRowPosition_Vtbl { SetRowPosition: SetRowPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowPositionChange_Impl: Sized { @@ -3202,8 +3202,8 @@ impl IRowPositionChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnRowPositionChange: OnRowPositionChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] @@ -3233,8 +3233,8 @@ impl IRowSchemaChange_Vtbl { AddColumns: AddColumns::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRowset_Impl: Sized { @@ -3281,8 +3281,8 @@ impl IRowset_Vtbl { RestartPosition: RestartPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetAsynch_Impl: Sized { @@ -3308,8 +3308,8 @@ impl IRowsetAsynch_Vtbl { Stop: Stop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetBookmark_Impl: Sized { @@ -3325,8 +3325,8 @@ impl IRowsetBookmark_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PositionOnBookmark: PositionOnBookmark:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetChange_Impl: Sized { @@ -3365,8 +3365,8 @@ impl IRowsetChange_Vtbl { InsertRow: InsertRow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetChangeExtInfo_Impl: Sized { @@ -3392,8 +3392,8 @@ impl IRowsetChangeExtInfo_Vtbl { GetPendingColumns: GetPendingColumns::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetChapterMember_Impl: Sized { @@ -3409,8 +3409,8 @@ impl IRowsetChapterMember_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsRowInChapter: IsRowInChapter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetCopyRows_Impl: Sized { @@ -3462,8 +3462,8 @@ impl IRowsetCopyRows_Vtbl { DefineSource: DefineSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3499,8 +3499,8 @@ impl IRowsetCurrentIndex_Vtbl { SetIndex: SetIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -3544,8 +3544,8 @@ impl IRowsetEvents_Vtbl { OnRowsetEvent: OnRowsetEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetExactScroll_Impl: Sized + IRowsetScroll_Impl { @@ -3561,8 +3561,8 @@ impl IRowsetExactScroll_Vtbl { } Self { base__: IRowsetScroll_Vtbl::new::(), GetExactPosition: GetExactPosition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRowsetFastLoad_Impl: Sized { @@ -3588,8 +3588,8 @@ impl IRowsetFastLoad_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetFind_Impl: Sized { @@ -3605,8 +3605,8 @@ impl IRowsetFind_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindNextRow: FindNextRow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetIdentity_Impl: Sized { @@ -3622,8 +3622,8 @@ impl IRowsetIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameRow: IsSameRow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3660,8 +3660,8 @@ impl IRowsetIndex_Vtbl { SetRange: SetRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3710,8 +3710,8 @@ impl IRowsetInfo_Vtbl { GetSpecification: GetSpecification::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetKeys_Impl: Sized { @@ -3727,8 +3727,8 @@ impl IRowsetKeys_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ListKeys: ListKeys:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetLocate_Impl: Sized + IRowset_Impl { @@ -3774,8 +3774,8 @@ impl IRowsetLocate_Vtbl { Hash: Hash::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRowsetNewRowAfter_Impl: Sized { @@ -3797,8 +3797,8 @@ impl IRowsetNewRowAfter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNewDataAfter: SetNewDataAfter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetNextRowset_Impl: Sized { @@ -3820,8 +3820,8 @@ impl IRowsetNextRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextRowset: GetNextRowset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetNotify_Impl: Sized { @@ -3854,8 +3854,8 @@ impl IRowsetNotify_Vtbl { OnRowsetChange: OnRowsetChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetPrioritization_Impl: Sized { @@ -3888,8 +3888,8 @@ impl IRowsetPrioritization_Vtbl { GetScopeStatistics: GetScopeStatistics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetQueryStatus_Impl: Sized { @@ -3915,8 +3915,8 @@ impl IRowsetQueryStatus_Vtbl { GetStatusEx: GetStatusEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetRefresh_Impl: Sized { @@ -3942,8 +3942,8 @@ impl IRowsetRefresh_Vtbl { GetLastVisibleData: GetLastVisibleData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetResynch_Impl: Sized { @@ -3969,8 +3969,8 @@ impl IRowsetResynch_Vtbl { ResynchRows: ResynchRows::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetScroll_Impl: Sized + IRowsetLocate_Impl { @@ -3996,8 +3996,8 @@ impl IRowsetScroll_Vtbl { GetRowsAtRatio: GetRowsAtRatio::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IRowsetUpdate_Impl: Sized + IRowsetChange_Impl { @@ -4044,8 +4044,8 @@ impl IRowsetUpdate_Vtbl { Update: Update::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IRowsetView_Impl: Sized { @@ -4077,8 +4077,8 @@ impl IRowsetView_Vtbl { GetView: GetView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetWatchAll_Impl: Sized { @@ -4111,8 +4111,8 @@ impl IRowsetWatchAll_Vtbl { StopWatching: StopWatching::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetWatchNotify_Impl: Sized { @@ -4128,8 +4128,8 @@ impl IRowsetWatchNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRowsetWatchRegion_Impl: Sized + IRowsetWatchAll_Impl { @@ -4189,8 +4189,8 @@ impl IRowsetWatchRegion_Vtbl { ShrinkWatchRegion: ShrinkWatchRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4220,8 +4220,8 @@ impl IRowsetWithParameters_Vtbl { Requery: Requery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISQLErrorInfo_Impl: Sized { @@ -4237,8 +4237,8 @@ impl ISQLErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSQLInfo: GetSQLInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4258,8 +4258,8 @@ impl ISQLGetDiagField_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiagField: GetDiagField:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Variant\"`"] @@ -4279,8 +4279,8 @@ impl ISQLRequestDiagFields_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestDiagFields: RequestDiagFields:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISQLServerErrorInfo_Impl: Sized { @@ -4296,8 +4296,8 @@ impl ISQLServerErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISchemaLocalizerSupport_Impl: Sized { @@ -4319,8 +4319,8 @@ impl ISchemaLocalizerSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Localize: Localize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -4350,8 +4350,8 @@ impl ISchemaLock_Vtbl { ReleaseSchemaLock: ReleaseSchemaLock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISchemaProvider_Impl: Sized { @@ -4424,8 +4424,8 @@ impl ISchemaProvider_Vtbl { LookupAuthoredNamedEntity: LookupAuthoredNamedEntity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4469,8 +4469,8 @@ impl IScopedOperations_Vtbl { OpenRowset: OpenRowset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -4746,8 +4746,8 @@ impl ISearchCatalogManager_Vtbl { GetCrawlScopeManager: GetCrawlScopeManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -4767,8 +4767,8 @@ impl ISearchCatalogManager2_Vtbl { } Self { base__: ISearchCatalogManager_Vtbl::new::(), PrioritizeMatchingURLs: PrioritizeMatchingURLs:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISearchCrawlScopeManager_Impl: Sized { @@ -4928,8 +4928,8 @@ impl ISearchCrawlScopeManager_Vtbl { RemoveDefaultScopeRule: RemoveDefaultScopeRule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchCrawlScopeManager2_Impl: Sized + ISearchCrawlScopeManager_Impl { @@ -4945,8 +4945,8 @@ impl ISearchCrawlScopeManager2_Vtbl { } Self { base__: ISearchCrawlScopeManager_Vtbl::new::(), GetVersion: GetVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4983,8 +4983,8 @@ impl ISearchItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchLanguageSupport_Impl: Sized { @@ -5043,8 +5043,8 @@ impl ISearchLanguageSupport_Vtbl { IsPrefixNormalized: IsPrefixNormalized::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -5205,8 +5205,8 @@ impl ISearchManager_Vtbl { PortNumber: PortNumber::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -5242,8 +5242,8 @@ impl ISearchManager2_Vtbl { DeleteCatalog: DeleteCatalog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISearchNotifyInlineSite_Impl: Sized { @@ -5269,8 +5269,8 @@ impl ISearchNotifyInlineSite_Vtbl { OnCatalogStatusChange: OnCatalogStatusChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchPersistentItemsChangedSink_Impl: Sized { @@ -5303,8 +5303,8 @@ impl ISearchPersistentItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchProtocol_Impl: Sized { @@ -5350,8 +5350,8 @@ impl ISearchProtocol_Vtbl { ShutDown: ShutDown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5377,8 +5377,8 @@ impl ISearchProtocol2_Vtbl { } Self { base__: ISearchProtocol_Vtbl::new::(), CreateAccessorEx: CreateAccessorEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISearchProtocolThreadContext_Impl: Sized { @@ -5411,8 +5411,8 @@ impl ISearchProtocolThreadContext_Vtbl { ThreadIdle: ThreadIdle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -5641,8 +5641,8 @@ impl ISearchQueryHelper_Vtbl { QueryMaxResults: QueryMaxResults::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`"] @@ -5679,8 +5679,8 @@ impl ISearchQueryHits_Vtbl { NextHitOffset: NextHitOffset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchRoot_Impl: Sized { @@ -5912,8 +5912,8 @@ impl ISearchRoot_Vtbl { Password: Password::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchScopeRule_Impl: Sized { @@ -5977,8 +5977,8 @@ impl ISearchScopeRule_Vtbl { FollowFlags: FollowFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5998,8 +5998,8 @@ impl ISearchViewChangedSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Authorization\"`"] @@ -6048,8 +6048,8 @@ impl ISecurityInfo_Vtbl { GetPermissions: GetPermissions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IService_Impl: Sized { @@ -6065,8 +6065,8 @@ impl IService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeService: InvokeService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6096,8 +6096,8 @@ impl ISessionProperties_Vtbl { SetProperties: SetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISimpleCommandCreator_Impl: Sized { @@ -6130,8 +6130,8 @@ impl ISimpleCommandCreator_Vtbl { GetDefaultCatalog: GetDefaultCatalog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6151,8 +6151,8 @@ impl ISourcesRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourcesRowset: GetSourcesRowset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStemmer_Impl: Sized { @@ -6185,8 +6185,8 @@ impl IStemmer_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6263,8 +6263,8 @@ impl ISubscriptionItem_Vtbl { NotifyChanged: NotifyChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISubscriptionMgr_Impl: Sized { @@ -6338,8 +6338,8 @@ impl ISubscriptionMgr_Vtbl { CreateSubscription: CreateSubscription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISubscriptionMgr2_Impl: Sized + ISubscriptionMgr_Impl { @@ -6418,8 +6418,8 @@ impl ISubscriptionMgr2_Vtbl { AbortAll: AbortAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6439,8 +6439,8 @@ impl ITableCreation_Vtbl { } Self { base__: ITableDefinition_Vtbl::new::(), GetTableDefinition: GetTableDefinition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6484,8 +6484,8 @@ impl ITableDefinition_Vtbl { DropColumn: DropColumn::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6523,8 +6523,8 @@ impl ITableDefinitionWithConstraints_Vtbl { DropConstraint: DropConstraint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -6554,8 +6554,8 @@ impl ITableRename_Vtbl { RenameTable: RenameTable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITokenCollection_Impl: Sized { @@ -6581,8 +6581,8 @@ impl ITokenCollection_Vtbl { GetToken: GetToken::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -6618,8 +6618,8 @@ impl ITransactionJoin_Vtbl { JoinTransaction: JoinTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -6655,8 +6655,8 @@ impl ITransactionLocal_Vtbl { StartTransaction: StartTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_DistributedTransactionCoordinator\"`"] @@ -6682,8 +6682,8 @@ impl ITransactionObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTransactionObject: GetTransactionObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6734,8 +6734,8 @@ impl ITrusteeAdmin_Vtbl { GetTrusteeProperties: GetTrusteeProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Security_Authorization\"`"] @@ -6792,8 +6792,8 @@ impl ITrusteeGroupAdmin_Vtbl { GetMemberships: GetMemberships::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUMS_Impl: Sized { @@ -6864,8 +6864,8 @@ impl IUMSInitialize_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -7008,8 +7008,8 @@ impl IUrlAccessor_Vtbl { BindToFilter: BindToFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -7046,8 +7046,8 @@ impl IUrlAccessor2_Vtbl { GetCodePage: GetCodePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -7067,8 +7067,8 @@ impl IUrlAccessor3_Vtbl { } Self { base__: IUrlAccessor2_Vtbl::new::(), GetImpersonationSidBlobs: GetImpersonationSidBlobs:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -7110,8 +7110,8 @@ impl IUrlAccessor4_Vtbl { ShouldIndexProperty: ShouldIndexProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IViewChapter_Impl: Sized { @@ -7143,8 +7143,8 @@ impl IViewChapter_Vtbl { OpenViewChapter: OpenViewChapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7181,8 +7181,8 @@ impl IViewFilter_Vtbl { SetFilter: SetFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IViewRowset_Impl: Sized { @@ -7220,8 +7220,8 @@ impl IViewRowset_Vtbl { OpenViewRowset: OpenViewRowset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IViewSort_Impl: Sized { @@ -7247,8 +7247,8 @@ impl IViewSort_Vtbl { SetSortOrder: SetSortOrder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -7292,8 +7292,8 @@ impl IWordBreaker_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWordFormSink_Impl: Sized { @@ -7319,8 +7319,8 @@ impl IWordFormSink_Vtbl { PutWord: PutWord::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_IndexServer\"`"] @@ -7371,8 +7371,8 @@ impl IWordSink_Vtbl { PutBreak: PutBreak::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7546,8 +7546,8 @@ impl OLEDBSimpleProvider_Vtbl { stopTransfer: stopTransfer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait OLEDBSimpleProviderListener_Impl: Sized { @@ -7615,7 +7615,7 @@ impl OLEDBSimpleProviderListener_Vtbl { transferComplete: transferComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs index e366de0185..99859cd197 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs @@ -15,8 +15,8 @@ impl IWSCDefaultProduct_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), SetDefaultProduct: SetDefaultProduct:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -65,8 +65,8 @@ impl IWSCProductList_Vtbl { get_Item: get_Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -173,8 +173,8 @@ impl IWscProduct_Vtbl { ProductIsDefault: ProductIsDefault::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -268,8 +268,8 @@ impl IWscProduct2_Vtbl { FirewallPublicProfileSubstatus: FirewallPublicProfileSubstatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -295,7 +295,7 @@ impl IWscProduct3_Vtbl { } Self { base__: IWscProduct2_Vtbl::new::(), AntivirusDaysUntilExpired: AntivirusDaysUntilExpired:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs index 9d75bee59e..77c46bf15c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs @@ -27,8 +27,8 @@ impl IWsbApplicationAsync_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWsbApplicationBackupSupport_Impl: Sized { @@ -50,8 +50,8 @@ impl IWsbApplicationBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckConsistency: CheckConsistency:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWsbApplicationRestoreSupport_Impl: Sized { @@ -97,7 +97,7 @@ impl IWsbApplicationRestoreSupport_Vtbl { IsRollForwardSupported: IsRollForwardSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs index 695bd26f2b..064af4e8cf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs @@ -44,8 +44,8 @@ impl IItemEnumerator_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -122,8 +122,8 @@ impl ISettingsContext_Vtbl { RevertSetting: RevertSetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -311,8 +311,8 @@ impl ISettingsEngine_Vtbl { GetSettingsContext: GetSettingsContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISettingsIdentity_Impl: Sized { @@ -364,8 +364,8 @@ impl ISettingsIdentity_Vtbl { SetFlags: SetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -631,8 +631,8 @@ impl ISettingsItem_Vtbl { GetKeyValue: GetKeyValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -733,8 +733,8 @@ impl ISettingsNamespace_Vtbl { GetAttribute: GetAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISettingsResult_Impl: Sized { @@ -824,8 +824,8 @@ impl ISettingsResult_Vtbl { GetSource: GetSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITargetInfo_Impl: Sized { @@ -1056,7 +1056,7 @@ impl ITargetInfo_Vtbl { GetSchemaHiveMountName: GetSchemaHiveMountName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index d741092127..90e9a96858 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -15,8 +15,8 @@ impl ISideShowBulkCapabilities_Vtbl { } Self { base__: ISideShowCapabilities_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -36,8 +36,8 @@ impl ISideShowCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapability: GetCapability:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowCapabilitiesCollection_Impl: Sized { @@ -75,8 +75,8 @@ impl ISideShowCapabilitiesCollection_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowContent_Impl: Sized { @@ -121,8 +121,8 @@ impl ISideShowContent_Vtbl { DifferentiateContent: DifferentiateContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowContentManager_Impl: Sized { @@ -175,8 +175,8 @@ impl ISideShowContentManager_Vtbl { GetDeviceCapabilities: GetDeviceCapabilities::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowEvents_Impl: Sized { @@ -222,8 +222,8 @@ impl ISideShowEvents_Vtbl { DeviceRemoved: DeviceRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -274,8 +274,8 @@ impl ISideShowKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -391,8 +391,8 @@ impl ISideShowNotification_Vtbl { SetExpirationTime: SetExpirationTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowNotificationManager_Impl: Sized { @@ -425,8 +425,8 @@ impl ISideShowNotificationManager_Vtbl { RevokeAll: RevokeAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -477,8 +477,8 @@ impl ISideShowPropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISideShowSession_Impl: Sized { @@ -516,7 +516,7 @@ impl ISideShowSession_Vtbl { RegisterNotifications: RegisterNotifications::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs index fff1a79ba9..dc0dd97fd5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs @@ -32,8 +32,8 @@ impl IAction_Vtbl { Type: Type::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -137,8 +137,8 @@ impl IActionCollection_Vtbl { SetContext: SetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -164,8 +164,8 @@ impl IBootTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -209,8 +209,8 @@ impl IComHandlerAction_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -254,8 +254,8 @@ impl IDailyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -417,8 +417,8 @@ impl IEmailAction_Vtbl { SetAttachments: SetAttachments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IEnumWorkItems_Impl: Sized { @@ -464,8 +464,8 @@ impl IEnumWorkItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -529,8 +529,8 @@ impl IEventTrigger_Vtbl { SetValueQueries: SetValueQueries::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -588,8 +588,8 @@ impl IExecAction_Vtbl { SetWorkingDirectory: SetWorkingDirectory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -619,8 +619,8 @@ impl IExecAction2_Vtbl { SetHideAppWindow: SetHideAppWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -692,8 +692,8 @@ impl IIdleSettings_Vtbl { SetRestartOnIdle: SetRestartOnIdle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -706,8 +706,8 @@ impl IIdleTrigger_Vtbl { pub const fn new, Impl: IIdleTrigger_Impl, const OFFSET: isize>() -> IIdleTrigger_Vtbl { Self { base__: ITrigger_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -751,8 +751,8 @@ impl ILogonTrigger_Vtbl { SetUserId: SetUserId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -810,8 +810,8 @@ impl IMaintenanceSettings_Vtbl { Exclusive: Exclusive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -897,8 +897,8 @@ impl IMonthlyDOWTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -970,8 +970,8 @@ impl IMonthlyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1015,8 +1015,8 @@ impl INetworkSettings_Vtbl { SetId: SetId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1116,8 +1116,8 @@ impl IPrincipal_Vtbl { SetRunLevel: SetRunLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1168,8 +1168,8 @@ impl IPrincipal2_Vtbl { AddRequiredPrivilege: AddRequiredPrivilege::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -1195,8 +1195,8 @@ impl IProvideTaskPage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPage: GetPage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1422,8 +1422,8 @@ impl IRegisteredTask_Vtbl { GetRunTimes: GetRunTimes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1478,8 +1478,8 @@ impl IRegisteredTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1621,8 +1621,8 @@ impl IRegistrationInfo_Vtbl { SetSource: SetSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1648,8 +1648,8 @@ impl IRegistrationTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1707,8 +1707,8 @@ impl IRepetitionPattern_Vtbl { SetStopAtDurationEnd: SetStopAtDurationEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1816,8 +1816,8 @@ impl IRunningTask_Vtbl { EnginePID: EnginePID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1872,8 +1872,8 @@ impl IRunningTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IScheduledWorkItem_Impl: Sized { @@ -2160,8 +2160,8 @@ impl IScheduledWorkItem_Vtbl { GetAccountInformation: GetAccountInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2219,8 +2219,8 @@ impl ISessionStateChangeTrigger_Vtbl { SetStateChange: SetStateChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2264,8 +2264,8 @@ impl IShowMessageAction_Vtbl { SetMessageBody: SetMessageBody::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITask_Impl: Sized + IScheduledWorkItem_Impl { @@ -2397,8 +2397,8 @@ impl ITask_Vtbl { GetMaxRunTime: GetMaxRunTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2542,8 +2542,8 @@ impl ITaskDefinition_Vtbl { SetXmlText: SetXmlText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2710,8 +2710,8 @@ impl ITaskFolder_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2766,8 +2766,8 @@ impl ITaskFolderCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITaskHandler_Impl: Sized { @@ -2813,8 +2813,8 @@ impl ITaskHandler_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITaskHandlerStatus_Impl: Sized { @@ -2840,8 +2840,8 @@ impl ITaskHandlerStatus_Vtbl { TaskCompleted: TaskCompleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2917,8 +2917,8 @@ impl ITaskNamedValueCollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2962,8 +2962,8 @@ impl ITaskNamedValuePair_Vtbl { SetValue: SetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITaskScheduler_Impl: Sized { @@ -3055,8 +3055,8 @@ impl ITaskScheduler_Vtbl { IsOfType: IsOfType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3183,8 +3183,8 @@ impl ITaskService_Vtbl { HighestVersion: HighestVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3492,8 +3492,8 @@ impl ITaskSettings_Vtbl { SetNetworkSettings: SetNetworkSettings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3537,8 +3537,8 @@ impl ITaskSettings2_Vtbl { SetUseUnifiedSchedulingEngine: SetUseUnifiedSchedulingEngine::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3629,8 +3629,8 @@ impl ITaskSettings3_Vtbl { SetVolatile: SetVolatile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITaskTrigger_Impl: Sized { @@ -3669,8 +3669,8 @@ impl ITaskTrigger_Vtbl { GetTriggerString: GetTriggerString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITaskVariables_Impl: Sized { @@ -3715,8 +3715,8 @@ impl ITaskVariables_Vtbl { GetContext: GetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3746,8 +3746,8 @@ impl ITimeTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3860,8 +3860,8 @@ impl ITrigger_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3937,8 +3937,8 @@ impl ITriggerCollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3996,7 +3996,7 @@ impl IWeeklyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs index 3bb89b3fa3..b087259f91 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs @@ -21,8 +21,8 @@ impl IRtwqAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRtwqAsyncResult_Impl: Sized { @@ -81,8 +81,8 @@ impl IRtwqAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRtwqPlatformEvents_Impl: Sized { @@ -115,8 +115,8 @@ impl IRtwqPlatformEvents_Vtbl { ShutdownComplete: ShutdownComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait RTWQASYNCRESULT_Impl: Sized + IRtwqAsyncResult_Impl {} @@ -125,7 +125,7 @@ impl RTWQASYNCRESULT_Vtbl { pub const fn new, Impl: RTWQASYNCRESULT_Impl, const OFFSET: isize>() -> RTWQASYNCRESULT_Vtbl { Self { base__: IRtwqAsyncResult_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs index e68bfac491..96868e1a46 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs @@ -51,8 +51,8 @@ impl ICatalog_Vtbl { MinorVersion: MinorVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -96,8 +96,8 @@ impl IComponentUtil_Vtbl { GetCLSIDs: GetCLSIDs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -134,8 +134,8 @@ impl IPackageUtil_Vtbl { ShutdownPackage: ShutdownPackage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -165,8 +165,8 @@ impl IRemoteComponentUtil_Vtbl { InstallRemoteComponentByName: InstallRemoteComponentByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -196,7 +196,7 @@ impl IRoleAssociationUtil_Vtbl { AssociateRoleByName: AssociateRoleByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs index da2c4845ca..283c871b5e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs @@ -72,8 +72,8 @@ impl IAutomaticUpdates_Vtbl { EnableService: EnableService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -99,8 +99,8 @@ impl IAutomaticUpdates2_Vtbl { } Self { base__: IAutomaticUpdates_Vtbl::new::(), Results: Results:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -142,8 +142,8 @@ impl IAutomaticUpdatesResults_Vtbl { LastInstallationSuccessDate: LastInstallationSuccessDate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -259,8 +259,8 @@ impl IAutomaticUpdatesSettings_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -309,8 +309,8 @@ impl IAutomaticUpdatesSettings2_Vtbl { CheckPermission: CheckPermission::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -366,8 +366,8 @@ impl IAutomaticUpdatesSettings3_Vtbl { SetFeaturedUpdatesEnabled: SetFeaturedUpdatesEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -500,8 +500,8 @@ impl ICategory_Vtbl { Updates: Updates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -556,8 +556,8 @@ impl ICategoryCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -577,8 +577,8 @@ impl IDownloadCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -591,8 +591,8 @@ impl IDownloadCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IDownloadCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IDownloadCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -674,8 +674,8 @@ impl IDownloadJob_Vtbl { RequestAbort: RequestAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -808,8 +808,8 @@ impl IDownloadProgress_Vtbl { CurrentUpdatePercentComplete: CurrentUpdatePercentComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -829,8 +829,8 @@ impl IDownloadProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -856,8 +856,8 @@ impl IDownloadProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -912,8 +912,8 @@ impl IDownloadResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -981,8 +981,8 @@ impl IImageInformation_Vtbl { Width: Width::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1005,8 +1005,8 @@ impl IInstallationAgent_Vtbl { RecordInstallationResult: RecordInstallationResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1074,8 +1074,8 @@ impl IInstallationBehavior_Vtbl { RequiresNetworkConnectivity: RequiresNetworkConnectivity::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1095,8 +1095,8 @@ impl IInstallationCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1109,8 +1109,8 @@ impl IInstallationCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IInstallationCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IInstallationCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1192,8 +1192,8 @@ impl IInstallationJob_Vtbl { RequestAbort: RequestAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1261,8 +1261,8 @@ impl IInstallationProgress_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1282,8 +1282,8 @@ impl IInstallationProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1309,8 +1309,8 @@ impl IInstallationProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1378,8 +1378,8 @@ impl IInstallationResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1405,8 +1405,8 @@ impl IInvalidProductLicenseException_Vtbl { } Self { base__: IUpdateException_Vtbl::new::(), Product: Product:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1426,8 +1426,8 @@ impl ISearchCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1440,8 +1440,8 @@ impl ISearchCompletedCallbackArgs_Vtbl { pub const fn new, Impl: ISearchCompletedCallbackArgs_Impl, const OFFSET: isize>() -> ISearchCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1497,8 +1497,8 @@ impl ISearchJob_Vtbl { RequestAbort: RequestAbort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1566,8 +1566,8 @@ impl ISearchResult_Vtbl { Warnings: Warnings::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1689,8 +1689,8 @@ impl IStringCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1732,8 +1732,8 @@ impl ISystemInformation_Vtbl { RebootRequired: RebootRequired::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2316,8 +2316,8 @@ impl IUpdate_Vtbl { DownloadContents: DownloadContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2379,8 +2379,8 @@ impl IUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2406,8 +2406,8 @@ impl IUpdate3_Vtbl { } Self { base__: IUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2433,8 +2433,8 @@ impl IUpdate4_Vtbl { } Self { base__: IUpdate3_Vtbl::new::(), PerUser: PerUser:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2476,8 +2476,8 @@ impl IUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2599,8 +2599,8 @@ impl IUpdateCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2626,8 +2626,8 @@ impl IUpdateDownloadContent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), DownloadUrl: DownloadUrl:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2656,8 +2656,8 @@ impl IUpdateDownloadContent2_Vtbl { IsDeltaCompressedContent: IsDeltaCompressedContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2712,8 +2712,8 @@ impl IUpdateDownloadContentCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2755,8 +2755,8 @@ impl IUpdateDownloadResult_Vtbl { ResultCode: ResultCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2891,8 +2891,8 @@ impl IUpdateDownloader_Vtbl { EndDownload: EndDownload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2947,8 +2947,8 @@ impl IUpdateException_Vtbl { Context: Context::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3003,8 +3003,8 @@ impl IUpdateExceptionCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3202,8 +3202,8 @@ impl IUpdateHistoryEntry_Vtbl { SupportUrl: SupportUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3229,8 +3229,8 @@ impl IUpdateHistoryEntry2_Vtbl { } Self { base__: IUpdateHistoryEntry_Vtbl::new::(), Categories: Categories:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3285,8 +3285,8 @@ impl IUpdateHistoryEntryCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3328,8 +3328,8 @@ impl IUpdateIdentity_Vtbl { UpdateID: UpdateID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3384,8 +3384,8 @@ impl IUpdateInstallationResult_Vtbl { ResultCode: ResultCode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3638,8 +3638,8 @@ impl IUpdateInstaller_Vtbl { RebootRequiredBeforeInstallation: RebootRequiredBeforeInstallation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3675,8 +3675,8 @@ impl IUpdateInstaller2_Vtbl { SetForceQuiet: SetForceQuiet::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3712,8 +3712,8 @@ impl IUpdateInstaller3_Vtbl { SetAttemptCloseAppsIfNecessary: SetAttemptCloseAppsIfNecessary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3733,8 +3733,8 @@ impl IUpdateInstaller4_Vtbl { } Self { base__: IUpdateInstaller3_Vtbl::new::(), Commit: Commit:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IUpdateLockdown_Impl: Sized { @@ -3750,8 +3750,8 @@ impl IUpdateLockdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LockDown: LockDown:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3965,8 +3965,8 @@ impl IUpdateSearcher_Vtbl { SetServiceID: SetServiceID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4002,8 +4002,8 @@ impl IUpdateSearcher2_Vtbl { SetIgnoreDownloadPriority: SetIgnoreDownloadPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4039,8 +4039,8 @@ impl IUpdateSearcher3_Vtbl { SetSearchScope: SetSearchScope::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4225,8 +4225,8 @@ impl IUpdateService_Vtbl { SetupPrefix: SetupPrefix::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4252,8 +4252,8 @@ impl IUpdateService2_Vtbl { } Self { base__: IUpdateService_Vtbl::new::(), IsDefaultAUService: IsDefaultAUService:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4308,8 +4308,8 @@ impl IUpdateServiceCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4392,8 +4392,8 @@ impl IUpdateServiceManager_Vtbl { SetOption: SetOption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4455,8 +4455,8 @@ impl IUpdateServiceManager2_Vtbl { AddService2: AddService2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4524,8 +4524,8 @@ impl IUpdateServiceRegistration_Vtbl { Service: Service::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4633,8 +4633,8 @@ impl IUpdateSession_Vtbl { CreateUpdateInstaller: CreateUpdateInstaller::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4670,8 +4670,8 @@ impl IUpdateSession2_Vtbl { SetUserLocale: SetUserLocale::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4713,8 +4713,8 @@ impl IUpdateSession3_Vtbl { QueryHistory: QueryHistory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4864,8 +4864,8 @@ impl IWebProxy_Vtbl { SetAutoDetect: SetAutoDetect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4985,8 +4985,8 @@ impl IWindowsDriverUpdate_Vtbl { DeviceStatus: DeviceStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5048,8 +5048,8 @@ impl IWindowsDriverUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5075,8 +5075,8 @@ impl IWindowsDriverUpdate3_Vtbl { } Self { base__: IWindowsDriverUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5118,8 +5118,8 @@ impl IWindowsDriverUpdate4_Vtbl { PerUser: PerUser::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5161,8 +5161,8 @@ impl IWindowsDriverUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5282,8 +5282,8 @@ impl IWindowsDriverUpdateEntry_Vtbl { DeviceStatus: DeviceStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5338,8 +5338,8 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5365,7 +5365,7 @@ impl IWindowsUpdateAgentInfo_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetInfo: GetInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs index 9b6d3ff039..86c3df2af0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs @@ -17,7 +17,7 @@ impl IWaaSAssessor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOSUpdateAssessment: GetOSUpdateAssessment:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs index 0ce0a57fb0..e42f2b8fa5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs @@ -14,8 +14,8 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowsDevicesAllJoynBusAttachmentInterop_Impl: Sized { @@ -40,8 +40,8 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowsDevicesAllJoynBusObjectFactoryInterop_Impl: Sized { @@ -60,8 +60,8 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowsDevicesAllJoynBusObjectInterop_Impl: Sized { @@ -100,7 +100,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs index d00c050694..1e8cb759d1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs @@ -24,8 +24,8 @@ impl ICompositionCapabilitiesInteropFactory_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionDrawingSurfaceInterop_Impl: Sized { @@ -79,8 +79,8 @@ impl ICompositionDrawingSurfaceInterop_Vtbl { SuspendDraw: SuspendDraw::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICompositionDrawingSurfaceInterop2_Impl: Sized + ICompositionDrawingSurfaceInterop_Impl { @@ -96,8 +96,8 @@ impl ICompositionDrawingSurfaceInterop2_Vtbl { } Self { base__: ICompositionDrawingSurfaceInterop_Vtbl::new::(), CopySurface: CopySurface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICompositionGraphicsDeviceInterop_Impl: Sized { @@ -129,8 +129,8 @@ impl ICompositionGraphicsDeviceInterop_Vtbl { SetRenderingDevice: SetRenderingDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"UI_Composition_Desktop\"`"] @@ -166,8 +166,8 @@ impl ICompositorDesktopInterop_Vtbl { EnsureOnThread: EnsureOnThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"UI_Composition\"`"] @@ -222,8 +222,8 @@ impl ICompositorInterop_Vtbl { CreateGraphicsDevice: CreateGraphicsDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDesktopWindowTargetInterop_Impl: Sized { @@ -245,8 +245,8 @@ impl IDesktopWindowTargetInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Hwnd: Hwnd:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -269,7 +269,7 @@ impl IVisualInteractionSourceInterop_Vtbl { TryRedirectForManipulation: TryRedirectForManipulation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs index 3479cd1d94..95d2d9090f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs @@ -14,7 +14,7 @@ impl ICoreFrameworkInputViewInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs index 381e19a3a5..1b6c152583 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs @@ -11,7 +11,7 @@ impl IDirect3DDxgiInterfaceAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInterface: GetInterface:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs index 044ef79c72..4c0e4f06f4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs @@ -37,8 +37,8 @@ impl IDisplayDeviceInterop_Vtbl { OpenSharedHandle: OpenSharedHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDisplayPathInterop_Impl: Sized { @@ -76,7 +76,7 @@ impl IDisplayPathInterop_Vtbl { GetSourceId: GetSourceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs index 3a1b96e85c..7f084db944 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs @@ -25,7 +25,7 @@ impl IGraphicsCaptureItemInterop_Vtbl { CreateForMonitor: CreateForMonitor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs index 17844ec113..b7bf66795e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs @@ -37,8 +37,8 @@ impl IGeometrySource2DInterop_Vtbl { TryGetGeometryUsingFactory: TryGetGeometryUsingFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Foundation\"`, `\"Graphics_Effects\"`"] @@ -126,7 +126,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { GetSourceCount: GetSourceCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs index 5834991e7e..8cc0dbd9a0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs @@ -11,8 +11,8 @@ impl ISoftwareBitmapNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Media_MediaFoundation\"`"] @@ -42,7 +42,7 @@ impl ISoftwareBitmapNativeFactory_Vtbl { CreateFromMF2DBuffer2: CreateFromMF2DBuffer2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs index e54234612d..40950ce871 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs @@ -58,8 +58,8 @@ impl IHolographicCameraInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -89,8 +89,8 @@ impl IHolographicCameraRenderingParametersInterop_Vtbl { CommitDirect3D12ResourceWithDepthData: CommitDirect3D12ResourceWithDepthData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`"] @@ -153,8 +153,8 @@ impl IHolographicQuadLayerInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -177,7 +177,7 @@ impl IHolographicQuadLayerUpdateParametersInterop_Vtbl { CommitDirect3D12Resource: CommitDirect3D12Resource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs index 38e71e5d1b..270588d77a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs @@ -17,7 +17,7 @@ impl IIsolatedEnvironmentInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHostHwndInterop: GetHostHwndInterop:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs index 9fee9b093d..3fdb528711 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs @@ -24,8 +24,8 @@ impl ILearningModelDeviceFactoryNative_Vtbl { CreateFromD3D12CommandQueue: CreateFromD3D12CommandQueue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_AI_MachineLearning_WinML\"`"] @@ -51,8 +51,8 @@ impl ILearningModelOperatorProviderNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRegistry: GetRegistry:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILearningModelSessionOptionsNative_Impl: Sized { @@ -71,8 +71,8 @@ impl ILearningModelSessionOptionsNative_Vtbl { SetIntraOpNumThreadsOverride: SetIntraOpNumThreadsOverride::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILearningModelSessionOptionsNative1_Impl: Sized { @@ -88,8 +88,8 @@ impl ILearningModelSessionOptionsNative1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIntraOpThreadSpinning: SetIntraOpThreadSpinning:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -125,8 +125,8 @@ impl ITensorNative_Vtbl { GetD3D12Resource: GetD3D12Resource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct3D12\"`"] @@ -146,7 +146,7 @@ impl ITensorStaticsNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromD3D12Resource: CreateFromD3D12Resource:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs index e23a68746f..1237d65f3d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs @@ -11,8 +11,8 @@ impl IAudioFrameNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -35,8 +35,8 @@ impl IAudioFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVideoFrameNative_Impl: Sized { @@ -62,8 +62,8 @@ impl IVideoFrameNative_Vtbl { GetDevice: GetDevice::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Media_MediaFoundation\"`"] @@ -86,7 +86,7 @@ impl IVideoFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs index eae4c34c4e..15522238be 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs @@ -118,8 +118,8 @@ impl ICeeGen_Vtbl { ComputePointer: ComputePointer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHostFilter_Impl: Sized { @@ -135,8 +135,8 @@ impl IHostFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MarkToken: MarkToken:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMapToken_Impl: Sized { @@ -152,8 +152,8 @@ impl IMapToken_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataAssemblyEmit_Impl: Sized { @@ -235,8 +235,8 @@ impl IMetaDataAssemblyEmit_Vtbl { SetManifestResourceProps: SetManifestResourceProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataAssemblyImport_Impl: Sized { @@ -346,8 +346,8 @@ impl IMetaDataAssemblyImport_Vtbl { FindAssembliesByName: FindAssembliesByName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataDispenser_Impl: Sized { @@ -398,8 +398,8 @@ impl IMetaDataDispenser_Vtbl { OpenScopeOnMemory: OpenScopeOnMemory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -463,8 +463,8 @@ impl IMetaDataDispenserEx_Vtbl { FindAssemblyModule: FindAssemblyModule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -837,8 +837,8 @@ impl IMetaDataEmit_Vtbl { MergeEnd: MergeEnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -910,8 +910,8 @@ impl IMetaDataEmit2_Vtbl { ResetENCLog: ResetENCLog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMetaDataError_Impl: Sized { @@ -927,8 +927,8 @@ impl IMetaDataError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataFilter_Impl: Sized { @@ -961,8 +961,8 @@ impl IMetaDataFilter_Vtbl { IsTokenMarked: IsTokenMarked::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataImport_Impl: Sized { @@ -1456,8 +1456,8 @@ impl IMetaDataImport_Vtbl { IsGlobal: IsGlobal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataImport2_Impl: Sized + IMetaDataImport_Impl { @@ -1525,8 +1525,8 @@ impl IMetaDataImport2_Vtbl { EnumMethodSpecs: EnumMethodSpecs::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMetaDataInfo_Impl: Sized { @@ -1542,8 +1542,8 @@ impl IMetaDataInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFileMapping: GetFileMapping:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataTables_Impl: Sized { @@ -1688,8 +1688,8 @@ impl IMetaDataTables_Vtbl { GetNextUserString: GetNextUserString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataTables2_Impl: Sized + IMetaDataTables_Impl { @@ -1715,8 +1715,8 @@ impl IMetaDataTables2_Vtbl { GetMetaDataStreamInfo: GetMetaDataStreamInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMetaDataValidate_Impl: Sized { @@ -1742,8 +1742,8 @@ impl IMetaDataValidate_Vtbl { ValidateMetaData: ValidateMetaData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMetaDataWinMDImport_Impl: Sized { @@ -1762,8 +1762,8 @@ impl IMetaDataWinMDImport_Vtbl { GetUntransformedTypeRefProps: GetUntransformedTypeRefProps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRoMetaDataLocator_Impl: Sized { diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs index ac250fc1d4..aa71b45395 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs @@ -25,7 +25,7 @@ impl IPdfRendererNative_Vtbl { RenderPageToDeviceContext: RenderPageToDeviceContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs index 7ddcd5b427..c9859fe384 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs @@ -21,8 +21,8 @@ impl IPrintManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`"] @@ -77,8 +77,8 @@ impl IPrintWorkflowConfigurationNative_Vtbl { UserProperties: UserProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`"] @@ -114,8 +114,8 @@ impl IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { ObjectFactory: ObjectFactory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`"] @@ -141,8 +141,8 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DocumentPackageTarget: DocumentPackageTarget:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] @@ -193,8 +193,8 @@ impl IPrintWorkflowXpsReceiver_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`"] @@ -214,8 +214,8 @@ impl IPrintWorkflowXpsReceiver2_Vtbl { } Self { base__: IPrintWorkflowXpsReceiver_Vtbl::new::(), Failed: Failed:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrinting3DManagerInterop_Impl: Sized { @@ -241,7 +241,7 @@ impl IPrinting3DManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs index 159c6e4f10..eb35ca44b6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs @@ -15,7 +15,7 @@ impl IDDEInitializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs index 22c72af94d..d1b5044407 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs @@ -11,8 +11,8 @@ impl IOplockBreakingHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OplockBreaking: OplockBreaking:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRandomAccessStreamFileAccessMode_Impl: Sized { @@ -34,8 +34,8 @@ impl IRandomAccessStreamFileAccessMode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMode: GetMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageFolderHandleAccess_Impl: Sized { @@ -57,8 +57,8 @@ impl IStorageFolderHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageItemHandleAccess_Impl: Sized { @@ -80,8 +80,8 @@ impl IStorageItemHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUnbufferedFileHandleOplockCallback_Impl: Sized { @@ -97,8 +97,8 @@ impl IUnbufferedFileHandleOplockCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBrokenCallback: OnBrokenCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUnbufferedFileHandleProvider_Impl: Sized { @@ -130,7 +130,7 @@ impl IUnbufferedFileHandleProvider_Vtbl { CloseUnbufferedFileHandle: CloseUnbufferedFileHandle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs index a70bd38d0d..24134d747b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs @@ -28,8 +28,8 @@ impl IAccountsSettingsPaneInterop_Vtbl { ShowAddAccountForWindowAsync: ShowAddAccountForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActivationFactory_Impl: Sized { @@ -54,8 +54,8 @@ impl IActivationFactory_Vtbl { ActivateInstance: ActivateInstance::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAgileReference_Impl: Sized { @@ -71,8 +71,8 @@ impl IAgileReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApartmentShutdown_Impl: Sized { @@ -88,8 +88,8 @@ impl IApartmentShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUninitialize: OnUninitialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppServiceConnectionExtendedExecution_Impl: Sized { @@ -108,8 +108,8 @@ impl IAppServiceConnectionExtendedExecution_Vtbl { OpenForExtendedExecutionAsync: OpenForExtendedExecutionAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBufferByteAccess_Impl: Sized { @@ -131,8 +131,8 @@ impl IBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Buffer: Buffer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICastingController_Impl: Sized { @@ -185,8 +185,8 @@ impl ICastingController_Vtbl { UnAdvise: UnAdvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICastingEventHandler_Impl: Sized { @@ -212,8 +212,8 @@ impl ICastingEventHandler_Vtbl { OnError: OnError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -255,8 +255,8 @@ impl ICastingSourceInfo_Vtbl { GetProperties: GetProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreInputInterop_Impl: Sized { @@ -282,8 +282,8 @@ impl ICoreInputInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreWindowAdapterInterop_Impl: Sized { @@ -393,8 +393,8 @@ impl ICoreWindowAdapterInterop_Vtbl { SetWindowClientAdapter: SetWindowClientAdapter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreWindowComponentInterop_Impl: Sized { @@ -426,8 +426,8 @@ impl ICoreWindowComponentInterop_Vtbl { GetViewInstanceId: GetViewInstanceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreWindowInterop_Impl: Sized { @@ -459,8 +459,8 @@ impl ICoreWindowInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorrelationVectorInformation_Impl: Sized { @@ -505,8 +505,8 @@ impl ICorrelationVectorInformation_Vtbl { SetNextCorrelationVectorForThread: SetNextCorrelationVectorForThread::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICorrelationVectorSource_Impl: Sized { @@ -528,8 +528,8 @@ impl ICorrelationVectorSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CorrelationVector: CorrelationVector:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDragDropManagerInterop_Impl: Sized { @@ -548,8 +548,8 @@ impl IDragDropManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHolographicSpaceInterop_Impl: Sized { @@ -568,8 +568,8 @@ impl IHolographicSpaceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInputPaneInterop_Impl: Sized { @@ -585,8 +585,8 @@ impl IInputPaneInterop_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILanguageExceptionErrorInfo_Impl: Sized { @@ -608,8 +608,8 @@ impl ILanguageExceptionErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLanguageException: GetLanguageException:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILanguageExceptionErrorInfo2_Impl: Sized + ILanguageExceptionErrorInfo_Impl { @@ -654,8 +654,8 @@ impl ILanguageExceptionErrorInfo2_Vtbl { GetPropagationContextHead: GetPropagationContextHead::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ILanguageExceptionStackBackTrace_Impl: Sized { @@ -671,8 +671,8 @@ impl ILanguageExceptionStackBackTrace_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStackBackTrace: GetStackBackTrace:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILanguageExceptionTransform_Impl: Sized { @@ -697,8 +697,8 @@ impl ILanguageExceptionTransform_Vtbl { GetTransformedRestrictedErrorInfo: GetTransformedRestrictedErrorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMemoryBufferByteAccess_Impl: Sized { @@ -714,8 +714,8 @@ impl IMemoryBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMessageDispatcher_Impl: Sized { @@ -731,8 +731,8 @@ impl IMessageDispatcher_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), PumpMessages: PumpMessages:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPlayToManagerInterop_Impl: Sized { @@ -758,8 +758,8 @@ impl IPlayToManagerInterop_Vtbl { ShowPlayToUIForWindow: ShowPlayToUIForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRestrictedErrorInfo_Impl: Sized { @@ -791,8 +791,8 @@ impl IRestrictedErrorInfo_Vtbl { GetReference: GetReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShareWindowCommandEventArgsInterop_Impl: Sized { @@ -814,8 +814,8 @@ impl IShareWindowCommandEventArgsInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShareWindowCommandSourceInterop_Impl: Sized { @@ -831,8 +831,8 @@ impl IShareWindowCommandSourceInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpatialInteractionManagerInterop_Impl: Sized { @@ -851,8 +851,8 @@ impl ISpatialInteractionManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISystemMediaTransportControlsInterop_Impl: Sized { @@ -871,8 +871,8 @@ impl ISystemMediaTransportControlsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIViewSettingsInterop_Impl: Sized { @@ -891,8 +891,8 @@ impl IUIViewSettingsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserActivityInterop_Impl: Sized { @@ -911,8 +911,8 @@ impl IUserActivityInterop_Vtbl { CreateSessionForWindow: CreateSessionForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserActivityRequestManagerInterop_Impl: Sized { @@ -931,8 +931,8 @@ impl IUserActivityRequestManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserActivitySourceHostInterop_Impl: Sized { @@ -951,8 +951,8 @@ impl IUserActivitySourceHostInterop_Vtbl { SetActivitySourceHost: SetActivitySourceHost::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserConsentVerifierInterop_Impl: Sized { @@ -971,8 +971,8 @@ impl IUserConsentVerifierInterop_Vtbl { RequestVerificationForWindowAsync: RequestVerificationForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWeakReference_Impl: Sized { @@ -988,8 +988,8 @@ impl IWeakReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWeakReferenceSource_Impl: Sized { @@ -1011,8 +1011,8 @@ impl IWeakReferenceSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWeakReference: GetWeakReference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebAuthenticationCoreManagerInterop_Impl: Sized { @@ -1038,7 +1038,7 @@ impl IWebAuthenticationCoreManagerInterop_Vtbl { RequestTokenWithWebAccountForWindowAsync: RequestTokenWithWebAccountForWindowAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs index 20bf40af8e..63f81260a7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs @@ -85,8 +85,8 @@ impl ICameraUIControl_Vtbl { RemoveCapturedItem: RemoveCapturedItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICameraUIControlEventCallback_Impl: Sized { @@ -133,8 +133,8 @@ impl ICameraUIControlEventCallback_Vtbl { OnClosed: OnClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClipServiceNotificationHelper_Impl: Sized { @@ -150,8 +150,8 @@ impl IClipServiceNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowToast: ShowToast:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContainerActivationHelper_Impl: Sized { @@ -173,8 +173,8 @@ impl IContainerActivationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanActivateClientVM: CanActivateClientVM:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDefaultBrowserSyncSettings_Impl: Sized { @@ -190,8 +190,8 @@ impl IDefaultBrowserSyncSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEnabled: IsEnabled:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDeleteBrowsingHistory_Impl: Sized { @@ -207,8 +207,8 @@ impl IDeleteBrowsingHistory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeleteBrowsingHistory: DeleteBrowsingHistory:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -252,8 +252,8 @@ impl IEditionUpgradeBroker_Vtbl { CanUpgrade: CanUpgrade::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEditionUpgradeHelper_Impl: Sized { @@ -318,8 +318,8 @@ impl IEditionUpgradeHelper_Vtbl { GetGenuineLocalStatus: GetGenuineLocalStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFClipNotificationHelper_Impl: Sized { @@ -335,8 +335,8 @@ impl IFClipNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowSystemDialog: ShowSystemDialog:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowsLockModeHelper_Impl: Sized { @@ -358,7 +358,7 @@ impl IWindowsLockModeHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSMode: GetSMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs index b42f507fea..b1f5125b5e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs @@ -35,8 +35,8 @@ impl IAsynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IChangeConflict_Impl: Sized { @@ -128,8 +128,8 @@ impl IChangeConflict_Vtbl { SetResolveActionForChangeUnit: SetResolveActionForChangeUnit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IChangeUnitException_Impl: Sized { @@ -162,8 +162,8 @@ impl IChangeUnitException_Vtbl { GetClockVector: GetClockVector::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IChangeUnitListFilterInfo_Impl: Sized + ISyncFilterInfo_Impl { @@ -196,8 +196,8 @@ impl IChangeUnitListFilterInfo_Vtbl { GetChangeUnitId: GetChangeUnitId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IClockVector_Impl: Sized { @@ -223,8 +223,8 @@ impl IClockVector_Vtbl { GetClockVectorElementCount: GetClockVectorElementCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClockVectorElement_Impl: Sized { @@ -250,8 +250,8 @@ impl IClockVectorElement_Vtbl { GetTickCount: GetTickCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICombinedFilterInfo_Impl: Sized + ISyncFilterInfo_Impl { @@ -290,8 +290,8 @@ impl ICombinedFilterInfo_Vtbl { GetFilterCombinationType: GetFilterCombinationType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IConstraintConflict_Impl: Sized { @@ -423,8 +423,8 @@ impl IConstraintConflict_Vtbl { IsTemporary: IsTemporary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IConstructReplicaKeyMap_Impl: Sized { @@ -440,8 +440,8 @@ impl IConstructReplicaKeyMap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindOrAddReplica: FindOrAddReplica:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreFragment_Impl: Sized { @@ -488,8 +488,8 @@ impl ICoreFragment_Vtbl { GetRangeCount: GetRangeCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICoreFragmentInspector_Impl: Sized { @@ -515,8 +515,8 @@ impl ICoreFragmentInspector_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICustomFilterInfo_Impl: Sized + ISyncFilterInfo_Impl { @@ -538,8 +538,8 @@ impl ICustomFilterInfo_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetSyncFilter: GetSyncFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDataRetrieverCallback_Impl: Sized { @@ -565,8 +565,8 @@ impl IDataRetrieverCallback_Vtbl { LoadChangeDataError: LoadChangeDataError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumChangeUnitExceptions_Impl: Sized { @@ -612,8 +612,8 @@ impl IEnumChangeUnitExceptions_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumClockVector_Impl: Sized { @@ -659,8 +659,8 @@ impl IEnumClockVector_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumFeedClockVector_Impl: Sized { @@ -706,8 +706,8 @@ impl IEnumFeedClockVector_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumItemIds_Impl: Sized { @@ -723,8 +723,8 @@ impl IEnumItemIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRangeExceptions_Impl: Sized { @@ -770,8 +770,8 @@ impl IEnumRangeExceptions_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSingleItemExceptions_Impl: Sized { @@ -817,8 +817,8 @@ impl IEnumSingleItemExceptions_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSyncChangeUnits_Impl: Sized { @@ -864,8 +864,8 @@ impl IEnumSyncChangeUnits_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSyncChanges_Impl: Sized { @@ -911,8 +911,8 @@ impl IEnumSyncChanges_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -962,8 +962,8 @@ impl IEnumSyncProviderConfigUIInfos_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1013,8 +1013,8 @@ impl IEnumSyncProviderInfos_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFeedClockVector_Impl: Sized + IClockVector_Impl { @@ -1040,8 +1040,8 @@ impl IFeedClockVector_Vtbl { IsNoConflictsSpecified: IsNoConflictsSpecified::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFeedClockVectorElement_Impl: Sized + IClockVectorElement_Impl { @@ -1067,8 +1067,8 @@ impl IFeedClockVectorElement_Vtbl { GetFlags: GetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFilterKeyMap_Impl: Sized { @@ -1114,8 +1114,8 @@ impl IFilterKeyMap_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFilterRequestCallback_Impl: Sized { @@ -1131,8 +1131,8 @@ impl IFilterRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestFilter: RequestFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFilterTrackingProvider_Impl: Sized { @@ -1158,8 +1158,8 @@ impl IFilterTrackingProvider_Vtbl { AddTrackedFilter: AddTrackedFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFilterTrackingRequestCallback_Impl: Sized { @@ -1175,8 +1175,8 @@ impl IFilterTrackingRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestTrackedFilter: RequestTrackedFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFilterTrackingSyncChangeBuilder_Impl: Sized { @@ -1202,8 +1202,8 @@ impl IFilterTrackingSyncChangeBuilder_Vtbl { SetAllChangeUnitsPresentFlag: SetAllChangeUnitsPresentFlag::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IForgottenKnowledge_Impl: Sized + ISyncKnowledge_Impl { @@ -1219,8 +1219,8 @@ impl IForgottenKnowledge_Vtbl { } Self { base__: ISyncKnowledge_Vtbl::new::(), ForgetToVersion: ForgetToVersion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IKnowledgeSyncProvider_Impl: Sized + ISyncProvider_Impl { @@ -1281,8 +1281,8 @@ impl IKnowledgeSyncProvider_Vtbl { EndSession: EndSession::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ILoadChangeContext_Impl: Sized { @@ -1321,8 +1321,8 @@ impl ILoadChangeContext_Vtbl { SetRecoverableErrorOnChangeUnit: SetRecoverableErrorOnChangeUnit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProviderConverter_Impl: Sized { @@ -1338,8 +1338,8 @@ impl IProviderConverter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRangeException_Impl: Sized { @@ -1372,8 +1372,8 @@ impl IRangeException_Vtbl { GetClockVector: GetClockVector::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRecoverableError_Impl: Sized { @@ -1426,8 +1426,8 @@ impl IRecoverableError_Vtbl { GetRecoverableErrorDataForChangeUnit: GetRecoverableErrorDataForChangeUnit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRecoverableErrorData_Impl: Sized { @@ -1460,8 +1460,8 @@ impl IRecoverableErrorData_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -1504,8 +1504,8 @@ impl IRegisteredSyncProvider_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IReplicaKeyMap_Impl: Sized { @@ -1538,8 +1538,8 @@ impl IReplicaKeyMap_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRequestFilteredSync_Impl: Sized { @@ -1555,8 +1555,8 @@ impl IRequestFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SpecifyFilter: SpecifyFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISingleItemException_Impl: Sized { @@ -1582,8 +1582,8 @@ impl ISingleItemException_Vtbl { GetClockVector: GetClockVector::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISupportFilteredSync_Impl: Sized { @@ -1599,8 +1599,8 @@ impl ISupportFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddFilter: AddFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISupportLastWriteTime_Impl: Sized { @@ -1626,8 +1626,8 @@ impl ISupportLastWriteTime_Vtbl { GetChangeUnitChangeTime: GetChangeUnitChangeTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncCallback_Impl: Sized { @@ -1674,8 +1674,8 @@ impl ISyncCallback_Vtbl { OnRecoverableError: OnRecoverableError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncCallback2_Impl: Sized + ISyncCallback_Impl { @@ -1701,8 +1701,8 @@ impl ISyncCallback2_Vtbl { OnChangeFailed: OnChangeFailed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncChange_Impl: Sized { @@ -1802,8 +1802,8 @@ impl ISyncChange_Vtbl { SetWorkEstimate: SetWorkEstimate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeBatch_Impl: Sized + ISyncChangeBatchBase_Impl { @@ -1842,8 +1842,8 @@ impl ISyncChangeBatch_Vtbl { AddLoggedConflict: AddLoggedConflict::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncChangeBatch2_Impl: Sized + ISyncChangeBatch_Impl { @@ -1881,8 +1881,8 @@ impl ISyncChangeBatch2_Vtbl { AddMergeTombstoneLoggedConflict: AddMergeTombstoneLoggedConflict::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISyncChangeBatchAdvanced_Impl: Sized { @@ -1934,8 +1934,8 @@ impl ISyncChangeBatchAdvanced_Vtbl { GetBatchLevelKnowledgeShouldBeApplied: GetBatchLevelKnowledgeShouldBeApplied::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeBatchBase_Impl: Sized { @@ -2075,8 +2075,8 @@ impl ISyncChangeBatchBase_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeBatchBase2_Impl: Sized + ISyncChangeBatchBase_Impl { @@ -2092,8 +2092,8 @@ impl ISyncChangeBatchBase2_Vtbl { } Self { base__: ISyncChangeBatchBase_Vtbl::new::(), SerializeWithOptions: SerializeWithOptions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncChangeBatchWithFilterKeyMap_Impl: Sized { @@ -2197,8 +2197,8 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeBatchWithPrerequisite_Impl: Sized + ISyncChangeBatchBase_Impl { @@ -2243,8 +2243,8 @@ impl ISyncChangeBatchWithPrerequisite_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncChangeBuilder_Impl: Sized { @@ -2260,8 +2260,8 @@ impl ISyncChangeBuilder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddChangeUnitMetadata: AddChangeUnitMetadata:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeUnit_Impl: Sized { @@ -2300,8 +2300,8 @@ impl ISyncChangeUnit_Vtbl { GetChangeUnitVersion: GetChangeUnitVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeWithFilterKeyMap_Impl: Sized { @@ -2412,8 +2412,8 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncChangeWithPrerequisite_Impl: Sized { @@ -2451,8 +2451,8 @@ impl ISyncChangeWithPrerequisite_Vtbl { GetLearnedKnowledgeWithPrerequisite: GetLearnedKnowledgeWithPrerequisite::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncConstraintCallback_Impl: Sized { @@ -2468,8 +2468,8 @@ impl ISyncConstraintCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConstraintConflict: OnConstraintConflict:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncDataConverter_Impl: Sized { @@ -2533,8 +2533,8 @@ impl ISyncDataConverter_Vtbl { ConvertDataToProviderFormat: ConvertDataToProviderFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncFilter_Impl: Sized { @@ -2560,8 +2560,8 @@ impl ISyncFilter_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncFilterDeserializer_Impl: Sized { @@ -2583,8 +2583,8 @@ impl ISyncFilterDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeserializeSyncFilter: DeserializeSyncFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncFilterInfo_Impl: Sized { @@ -2600,8 +2600,8 @@ impl ISyncFilterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Serialize: Serialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncFilterInfo2_Impl: Sized + ISyncFilterInfo_Impl { @@ -2617,8 +2617,8 @@ impl ISyncFilterInfo2_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetFlags: GetFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncFullEnumerationChange_Impl: Sized { @@ -2656,8 +2656,8 @@ impl ISyncFullEnumerationChange_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncFullEnumerationChangeBatch_Impl: Sized + ISyncChangeBatchBase_Impl { @@ -2696,8 +2696,8 @@ impl ISyncFullEnumerationChangeBatch_Vtbl { GetClosedUpperBoundItemId: GetClosedUpperBoundItemId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncFullEnumerationChangeBatch2_Impl: Sized + ISyncFullEnumerationChangeBatch_Impl { @@ -2722,8 +2722,8 @@ impl ISyncFullEnumerationChangeBatch2_Vtbl { AddMergeTombstoneMetadataToGroup: AddMergeTombstoneMetadataToGroup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ISyncKnowledge_Impl: Sized { @@ -2939,8 +2939,8 @@ impl ISyncKnowledge_Vtbl { GetVersion: GetVersion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncKnowledge2_Impl: Sized + ISyncKnowledge_Impl { @@ -3074,8 +3074,8 @@ impl ISyncKnowledge2_Vtbl { CompareToKnowledgeCookie: CompareToKnowledgeCookie::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncMergeTombstoneChange_Impl: Sized { @@ -3091,8 +3091,8 @@ impl ISyncMergeTombstoneChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWinnerItemId: GetWinnerItemId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncProvider_Impl: Sized { @@ -3108,8 +3108,8 @@ impl ISyncProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdParameters: GetIdParameters:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3165,8 +3165,8 @@ impl ISyncProviderConfigUI_Vtbl { ModifySyncProvider: ModifySyncProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3195,8 +3195,8 @@ impl ISyncProviderConfigUIInfo_Vtbl { GetSyncProviderConfigUI: GetSyncProviderConfigUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3225,8 +3225,8 @@ impl ISyncProviderInfo_Vtbl { GetSyncProvider: GetSyncProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3420,8 +3420,8 @@ impl ISyncProviderRegistration_Vtbl { GetChange: GetChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncRegistrationChange_Impl: Sized { @@ -3459,8 +3459,8 @@ impl ISyncRegistrationChange_Vtbl { GetInstanceId: GetInstanceId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncSessionExtendedErrorInfo_Impl: Sized { @@ -3482,8 +3482,8 @@ impl ISyncSessionExtendedErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSyncProviderWithError: GetSyncProviderWithError:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncSessionState_Impl: Sized { @@ -3544,8 +3544,8 @@ impl ISyncSessionState_Vtbl { OnProgress: OnProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncSessionState2_Impl: Sized + ISyncSessionState_Impl { @@ -3571,8 +3571,8 @@ impl ISyncSessionState2_Vtbl { GetSessionErrorStatus: GetSessionErrorStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISynchronousDataRetriever_Impl: Sized { @@ -3604,7 +3604,7 @@ impl ISynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index e53d0af64e..c9052575aa 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -48,8 +48,8 @@ impl IEnumWbemClassObject_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMofCompiler_Impl: Sized { @@ -82,8 +82,8 @@ impl IMofCompiler_Vtbl { CreateBMOF: CreateBMOF::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -499,8 +499,8 @@ impl ISWbemDateTime_Vtbl { SetFileTime: SetFileTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -542,8 +542,8 @@ impl ISWbemEventSource_Vtbl { Security_: Security_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -556,8 +556,8 @@ impl ISWbemLastError_Vtbl { pub const fn new, Impl: ISWbemLastError_Impl, const OFFSET: isize>() -> ISWbemLastError_Vtbl { Self { base__: ISWbemObject_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -599,8 +599,8 @@ impl ISWbemLocator_Vtbl { Security_: Security_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -681,8 +681,8 @@ impl ISWbemMethod_Vtbl { Qualifiers_: Qualifiers_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -737,8 +737,8 @@ impl ISWbemMethodSet_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -787,8 +787,8 @@ impl ISWbemNamedValue_Vtbl { Name: Name::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -883,8 +883,8 @@ impl ISWbemNamedValueSet_Vtbl { DeleteAll: DeleteAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1218,8 +1218,8 @@ impl ISWbemObject_Vtbl { Security_: Security_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1275,8 +1275,8 @@ impl ISWbemObjectEx_Vtbl { SetFromText_: SetFromText_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1531,8 +1531,8 @@ impl ISWbemObjectPath_Vtbl { SetAuthority: SetAuthority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1613,8 +1613,8 @@ impl ISWbemObjectSet_Vtbl { ItemIndex: ItemIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1689,8 +1689,8 @@ impl ISWbemPrivilege_Vtbl { Identifier: Identifier::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1785,8 +1785,8 @@ impl ISWbemPrivilegeSet_Vtbl { AddAsString: AddAsString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1900,8 +1900,8 @@ impl ISWbemProperty_Vtbl { IsArray: IsArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1976,8 +1976,8 @@ impl ISWbemPropertySet_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2112,8 +2112,8 @@ impl ISWbemQualifier_Vtbl { IsAmended: IsAmended::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2188,8 +2188,8 @@ impl ISWbemQualifierSet_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2277,8 +2277,8 @@ impl ISWbemRefreshableItem_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2400,8 +2400,8 @@ impl ISWbemRefresher_Vtbl { DeleteAll: DeleteAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2470,8 +2470,8 @@ impl ISWbemSecurity_Vtbl { Privileges: Privileges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2718,8 +2718,8 @@ impl ISWbemServices_Vtbl { Security_: Security_::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2751,8 +2751,8 @@ impl ISWbemServicesEx_Vtbl { } Self { base__: ISWbemServices_Vtbl::new::(), Put: Put::, PutAsync: PutAsync:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2772,8 +2772,8 @@ impl ISWbemSink_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2786,8 +2786,8 @@ impl ISWbemSinkEvents_Vtbl { pub const fn new, Impl: ISWbemSinkEvents_Impl, const OFFSET: isize>() -> ISWbemSinkEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUnsecuredApartment_Impl: Sized { @@ -2809,8 +2809,8 @@ impl IUnsecuredApartment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObjectStub: CreateObjectStub:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2865,8 +2865,8 @@ impl IWMIExtension_Vtbl { GetWMIServices: GetWMIServices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemAddressResolution_Impl: Sized { @@ -2882,8 +2882,8 @@ impl IWbemAddressResolution_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemBackupRestore_Impl: Sized { @@ -2909,8 +2909,8 @@ impl IWbemBackupRestore_Vtbl { Restore: Restore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemBackupRestoreEx_Impl: Sized + IWbemBackupRestore_Impl { @@ -2936,8 +2936,8 @@ impl IWbemBackupRestoreEx_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemCallResult_Impl: Sized { @@ -3001,8 +3001,8 @@ impl IWbemCallResult_Vtbl { GetCallStatus: GetCallStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3246,8 +3246,8 @@ impl IWbemClassObject_Vtbl { GetMethodOrigin: GetMethodOrigin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemClientConnectionTransport_Impl: Sized { @@ -3294,8 +3294,8 @@ impl IWbemClientConnectionTransport_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemClientTransport_Impl: Sized { @@ -3317,8 +3317,8 @@ impl IWbemClientTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemConfigureRefresher_Impl: Sized { @@ -3365,8 +3365,8 @@ impl IWbemConfigureRefresher_Vtbl { AddEnum: AddEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemConnectorLogin_Impl: Sized { @@ -3382,8 +3382,8 @@ impl IWbemConnectorLogin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectorLogin: ConnectorLogin:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemConstructClassObject_Impl: Sized { @@ -3423,8 +3423,8 @@ impl IWbemConstructClassObject_Vtbl { SetServerNamespace: SetServerNamespace::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3521,8 +3521,8 @@ impl IWbemContext_Vtbl { DeleteAll: DeleteAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemDecoupledBasicEventProvider_Impl: Sized + IWbemDecoupledRegistrar_Impl { @@ -3560,8 +3560,8 @@ impl IWbemDecoupledBasicEventProvider_Vtbl { GetService: GetService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemDecoupledRegistrar_Impl: Sized { @@ -3587,8 +3587,8 @@ impl IWbemDecoupledRegistrar_Vtbl { UnRegister: UnRegister::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemEventConsumerProvider_Impl: Sized { @@ -3610,8 +3610,8 @@ impl IWbemEventConsumerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindConsumer: FindConsumer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemEventProvider_Impl: Sized { @@ -3627,8 +3627,8 @@ impl IWbemEventProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideEvents: ProvideEvents:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemEventProviderQuerySink_Impl: Sized { @@ -3654,8 +3654,8 @@ impl IWbemEventProviderQuerySink_Vtbl { CancelQuery: CancelQuery::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemEventProviderSecurity_Impl: Sized { @@ -3671,8 +3671,8 @@ impl IWbemEventProviderSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessCheck: AccessCheck:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemEventSink_Impl: Sized + IWbemObjectSink_Impl { @@ -3718,8 +3718,8 @@ impl IWbemEventSink_Vtbl { SetBatchingParameters: SetBatchingParameters::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemHiPerfEnum_Impl: Sized { @@ -3759,8 +3759,8 @@ impl IWbemHiPerfEnum_Vtbl { RemoveAll: RemoveAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemHiPerfProvider_Impl: Sized { @@ -3826,8 +3826,8 @@ impl IWbemHiPerfProvider_Vtbl { GetObjects: GetObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemLevel1Login_Impl: Sized { @@ -3891,8 +3891,8 @@ impl IWbemLevel1Login_Vtbl { NTLMLogin: NTLMLogin::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemLocator_Impl: Sized { @@ -3914,8 +3914,8 @@ impl IWbemLocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4013,8 +4013,8 @@ impl IWbemObjectAccess_Vtbl { Unlock: Unlock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemObjectSink_Impl: Sized { @@ -4040,8 +4040,8 @@ impl IWbemObjectSink_Vtbl { SetStatus: SetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4104,8 +4104,8 @@ impl IWbemObjectSinkEx_Vtbl { WriteStreamParameter: WriteStreamParameter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IWbemObjectTextSrc_Impl: Sized { @@ -4143,8 +4143,8 @@ impl IWbemObjectTextSrc_Vtbl { CreateFromText: CreateFromText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemPath_Impl: Sized { @@ -4362,8 +4362,8 @@ impl IWbemPath_Vtbl { IsSameClassName: IsSameClassName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4461,8 +4461,8 @@ impl IWbemPathKeyList_Vtbl { GetText: GetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4498,8 +4498,8 @@ impl IWbemPropertyProvider_Vtbl { PutProperty: PutProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemProviderIdentity_Impl: Sized { @@ -4515,8 +4515,8 @@ impl IWbemProviderIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRegistrationObject: SetRegistrationObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemProviderInit_Impl: Sized { @@ -4532,8 +4532,8 @@ impl IWbemProviderInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemProviderInitSink_Impl: Sized { @@ -4549,8 +4549,8 @@ impl IWbemProviderInitSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStatus: SetStatus:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4621,8 +4621,8 @@ impl IWbemQualifierSet_Vtbl { EndEnumeration: EndEnumeration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemQuery_Impl: Sized { @@ -4683,8 +4683,8 @@ impl IWbemQuery_Vtbl { GetQueryInfo: GetQueryInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemRefresher_Impl: Sized { @@ -4700,8 +4700,8 @@ impl IWbemRefresher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Refresh: Refresh:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemServices_Impl: Sized { @@ -4904,8 +4904,8 @@ impl IWbemServices_Vtbl { ExecMethodAsync: ExecMethodAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemShutdown_Impl: Sized { @@ -4921,8 +4921,8 @@ impl IWbemShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Shutdown: Shutdown:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemStatusCodeText_Impl: Sized { @@ -4960,8 +4960,8 @@ impl IWbemStatusCodeText_Vtbl { GetFacilityCodeText: GetFacilityCodeText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemTransport_Impl: Sized { @@ -4977,8 +4977,8 @@ impl IWbemTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemUnboundObjectSink_Impl: Sized { @@ -4994,8 +4994,8 @@ impl IWbemUnboundObjectSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IndicateToConsumer: IndicateToConsumer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWbemUnsecuredApartment_Impl: Sized + IUnsecuredApartment_Impl { @@ -5017,7 +5017,7 @@ impl IWbemUnsecuredApartment_Vtbl { } Self { base__: IUnsecuredApartment_Vtbl::new::(), CreateSinkStub: CreateSinkStub:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs index b6b7083c1d..5aba7da019 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs @@ -11,8 +11,8 @@ impl IAccIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentityString: GetIdentityString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -32,8 +32,8 @@ impl IAccPropServer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropValue: GetPropValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -154,8 +154,8 @@ impl IAccPropServices_Vtbl { DecomposeHmenuIdentityString: DecomposeHmenuIdentityString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -408,8 +408,8 @@ impl IAccessible_Vtbl { put_accValue: put_accValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -471,8 +471,8 @@ impl IAccessibleEx_Vtbl { ConvertReturnedElement: ConvertReturnedElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -498,8 +498,8 @@ impl IAccessibleHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessibleObjectFromID: AccessibleObjectFromID:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -541,8 +541,8 @@ impl IAccessibleHostingElementProviders_Vtbl { GetObjectIdForProvider: GetObjectIdForProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -604,8 +604,8 @@ impl IAccessibleWindowlessSite_Vtbl { GetParentAccessible: GetParentAccessible::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAnnotationProvider_Impl: Sized { @@ -682,8 +682,8 @@ impl IAnnotationProvider_Vtbl { Target: Target::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICustomNavigationProvider_Impl: Sized { @@ -705,8 +705,8 @@ impl ICustomNavigationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDockProvider_Impl: Sized { @@ -738,8 +738,8 @@ impl IDockProvider_Vtbl { DockPosition: DockPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -807,8 +807,8 @@ impl IDragProvider_Vtbl { GetGrabbedItems: GetGrabbedItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -850,8 +850,8 @@ impl IDropTargetProvider_Vtbl { DropTargetEffects: DropTargetEffects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExpandCollapseProvider_Impl: Sized { @@ -890,8 +890,8 @@ impl IExpandCollapseProvider_Vtbl { ExpandCollapseState: ExpandCollapseState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGridItemProvider_Impl: Sized { @@ -968,8 +968,8 @@ impl IGridItemProvider_Vtbl { ContainingGrid: ContainingGrid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGridProvider_Impl: Sized { @@ -1020,8 +1020,8 @@ impl IGridProvider_Vtbl { ColumnCount: ColumnCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInvokeProvider_Impl: Sized { @@ -1037,8 +1037,8 @@ impl IInvokeProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1064,8 +1064,8 @@ impl IItemContainerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1245,8 +1245,8 @@ impl ILegacyIAccessibleProvider_Vtbl { DefaultAction: DefaultAction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1308,8 +1308,8 @@ impl IMultipleViewProvider_Vtbl { GetSupportedViews: GetSupportedViews::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectModelProvider_Impl: Sized { @@ -1331,8 +1331,8 @@ impl IObjectModelProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProxyProviderWinEventHandler_Impl: Sized { @@ -1348,8 +1348,8 @@ impl IProxyProviderWinEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RespondToWinEvent: RespondToWinEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1386,8 +1386,8 @@ impl IProxyProviderWinEventSink_Vtbl { AddStructureChangedEvent: AddStructureChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRangeValueProvider_Impl: Sized { @@ -1484,8 +1484,8 @@ impl IRangeValueProvider_Vtbl { SmallChange: SmallChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1515,8 +1515,8 @@ impl IRawElementProviderAdviseEvents_Vtbl { AdviseEventRemoved: AdviseEventRemoved::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1604,8 +1604,8 @@ impl IRawElementProviderFragment_Vtbl { FragmentRoot: FragmentRoot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRawElementProviderFragmentRoot_Impl: Sized { @@ -1643,8 +1643,8 @@ impl IRawElementProviderFragmentRoot_Vtbl { GetFocus: GetFocus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1670,8 +1670,8 @@ impl IRawElementProviderHostingAccessibles_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEmbeddedAccessibles: GetEmbeddedAccessibles:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRawElementProviderHwndOverride_Impl: Sized { @@ -1696,8 +1696,8 @@ impl IRawElementProviderHwndOverride_Vtbl { GetOverrideProviderForHwnd: GetOverrideProviderForHwnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1765,8 +1765,8 @@ impl IRawElementProviderSimple_Vtbl { HostRawElementProvider: HostRawElementProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1786,8 +1786,8 @@ impl IRawElementProviderSimple2_Vtbl { } Self { base__: IRawElementProviderSimple_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1813,8 +1813,8 @@ impl IRawElementProviderSimple3_Vtbl { } Self { base__: IRawElementProviderSimple2_Vtbl::new::(), GetMetadataValue: GetMetadataValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1856,8 +1856,8 @@ impl IRawElementProviderWindowlessSite_Vtbl { GetRuntimeIdPrefix: GetRuntimeIdPrefix::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRichEditUiaInformation_Impl: Sized { @@ -1883,8 +1883,8 @@ impl IRichEditUiaInformation_Vtbl { IsVisible: IsVisible::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRicheditWindowlessAccessibility_Impl: Sized { @@ -1906,8 +1906,8 @@ impl IRicheditWindowlessAccessibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProvider: CreateProvider:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IScrollItemProvider_Impl: Sized { @@ -1923,8 +1923,8 @@ impl IScrollItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IScrollProvider_Impl: Sized { @@ -2028,8 +2028,8 @@ impl IScrollProvider_Vtbl { VerticallyScrollable: VerticallyScrollable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISelectionItemProvider_Impl: Sized { @@ -2088,8 +2088,8 @@ impl ISelectionItemProvider_Vtbl { SelectionContainer: SelectionContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2144,8 +2144,8 @@ impl ISelectionProvider_Vtbl { IsSelectionRequired: IsSelectionRequired::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2213,8 +2213,8 @@ impl ISelectionProvider2_Vtbl { ItemCount: ItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2269,8 +2269,8 @@ impl ISpreadsheetItemProvider_Vtbl { GetAnnotationTypes: GetAnnotationTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpreadsheetProvider_Impl: Sized { @@ -2292,8 +2292,8 @@ impl ISpreadsheetProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStylesProvider_Impl: Sized { @@ -2396,8 +2396,8 @@ impl IStylesProvider_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISynchronizedInputProvider_Impl: Sized { @@ -2423,8 +2423,8 @@ impl ISynchronizedInputProvider_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2466,8 +2466,8 @@ impl ITableItemProvider_Vtbl { GetColumnHeaderItems: GetColumnHeaderItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2522,8 +2522,8 @@ impl ITableProvider_Vtbl { RowOrColumnMajor: RowOrColumnMajor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextChildProvider_Impl: Sized { @@ -2561,8 +2561,8 @@ impl ITextChildProvider_Vtbl { TextRange: TextRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2604,8 +2604,8 @@ impl ITextEditProvider_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2699,8 +2699,8 @@ impl ITextProvider_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2736,8 +2736,8 @@ impl ITextProvider2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2951,8 +2951,8 @@ impl ITextRangeProvider_Vtbl { GetChildren: GetChildren::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2972,8 +2972,8 @@ impl ITextRangeProvider2_Vtbl { } Self { base__: ITextRangeProvider_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IToggleProvider_Impl: Sized { @@ -3005,8 +3005,8 @@ impl IToggleProvider_Vtbl { ToggleState: ToggleState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransformProvider_Impl: Sized { @@ -3078,8 +3078,8 @@ impl ITransformProvider_Vtbl { CanRotate: CanRotate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransformProvider2_Impl: Sized + ITransformProvider_Impl { @@ -3157,8 +3157,8 @@ impl ITransformProvider2_Vtbl { ZoomByUnit: ZoomByUnit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3805,8 +3805,8 @@ impl IUIAutomation_Vtbl { ElementFromIAccessibleBuildCache: ElementFromIAccessibleBuildCache::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3882,8 +3882,8 @@ impl IUIAutomation2_Vtbl { SetTransactionTimeout: SetTransactionTimeout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3913,8 +3913,8 @@ impl IUIAutomation3_Vtbl { RemoveTextEditTextChangedEventHandler: RemoveTextEditTextChangedEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3944,8 +3944,8 @@ impl IUIAutomation4_Vtbl { RemoveChangesEventHandler: RemoveChangesEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3975,8 +3975,8 @@ impl IUIAutomation5_Vtbl { RemoveNotificationEventHandler: RemoveNotificationEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4073,8 +4073,8 @@ impl IUIAutomation6_Vtbl { RemoveActiveTextPositionChangedEventHandler: RemoveActiveTextPositionChangedEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IUIAutomationActiveTextPositionChangedEventHandler_Impl: Sized { @@ -4093,8 +4093,8 @@ impl IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { HandleActiveTextPositionChangedEvent: HandleActiveTextPositionChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4143,8 +4143,8 @@ impl IUIAutomationAndCondition_Vtbl { GetChildren: GetChildren::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationAnnotationPattern_Impl: Sized { @@ -4286,8 +4286,8 @@ impl IUIAutomationAnnotationPattern_Vtbl { CachedTarget: CachedTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationBoolCondition_Impl: Sized + IUIAutomationCondition_Impl { @@ -4309,8 +4309,8 @@ impl IUIAutomationBoolCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), BooleanValue: BooleanValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationCacheRequest_Impl: Sized { @@ -4409,8 +4409,8 @@ impl IUIAutomationCacheRequest_Vtbl { SetAutomationElementMode: SetAutomationElementMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4430,8 +4430,8 @@ impl IUIAutomationChangesEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleChangesEvent: HandleChangesEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationCondition_Impl: Sized {} @@ -4440,8 +4440,8 @@ impl IUIAutomationCondition_Vtbl { pub const fn new, Impl: IUIAutomationCondition_Impl, const OFFSET: isize>() -> IUIAutomationCondition_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationCustomNavigationPattern_Impl: Sized { @@ -4463,8 +4463,8 @@ impl IUIAutomationCustomNavigationPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationDockPattern_Impl: Sized { @@ -4509,8 +4509,8 @@ impl IUIAutomationDockPattern_Vtbl { CachedDockPosition: CachedDockPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4630,8 +4630,8 @@ impl IUIAutomationDragPattern_Vtbl { GetCachedGrabbedItems: GetCachedGrabbedItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4699,8 +4699,8 @@ impl IUIAutomationDropTargetPattern_Vtbl { CachedDropTargetEffects: CachedDropTargetEffects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5758,8 +5758,8 @@ impl IUIAutomationElement_Vtbl { GetClickablePoint: GetClickablePoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5853,8 +5853,8 @@ impl IUIAutomationElement2_Vtbl { CachedFlowsFrom: CachedFlowsFrom::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5903,8 +5903,8 @@ impl IUIAutomationElement3_Vtbl { CachedIsPeripheral: CachedIsPeripheral::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6050,8 +6050,8 @@ impl IUIAutomationElement4_Vtbl { CachedAnnotationObjects: CachedAnnotationObjects::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6119,8 +6119,8 @@ impl IUIAutomationElement5_Vtbl { CachedLocalizedLandmarkType: CachedLocalizedLandmarkType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6162,8 +6162,8 @@ impl IUIAutomationElement6_Vtbl { CachedFullDescription: CachedFullDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6244,8 +6244,8 @@ impl IUIAutomationElement7_Vtbl { GetCurrentMetadataValue: GetCurrentMetadataValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6287,8 +6287,8 @@ impl IUIAutomationElement8_Vtbl { CachedHeadingLevel: CachedHeadingLevel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6330,8 +6330,8 @@ impl IUIAutomationElement9_Vtbl { CachedIsDialog: CachedIsDialog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IUIAutomationElementArray_Impl: Sized { @@ -6369,8 +6369,8 @@ impl IUIAutomationElementArray_Vtbl { GetElement: GetElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationEventHandler_Impl: Sized { @@ -6386,8 +6386,8 @@ impl IUIAutomationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleAutomationEvent: HandleAutomationEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationEventHandlerGroup_Impl: Sized { @@ -6448,8 +6448,8 @@ impl IUIAutomationEventHandlerGroup_Vtbl { AddTextEditTextChangedEventHandler: AddTextEditTextChangedEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationExpandCollapsePattern_Impl: Sized { @@ -6501,8 +6501,8 @@ impl IUIAutomationExpandCollapsePattern_Vtbl { CachedExpandCollapseState: CachedExpandCollapseState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationFocusChangedEventHandler_Impl: Sized { @@ -6518,8 +6518,8 @@ impl IUIAutomationFocusChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleFocusChangedEvent: HandleFocusChangedEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationGridItemPattern_Impl: Sized { @@ -6661,8 +6661,8 @@ impl IUIAutomationGridItemPattern_Vtbl { CachedColumnSpan: CachedColumnSpan::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationGridPattern_Impl: Sized { @@ -6739,8 +6739,8 @@ impl IUIAutomationGridPattern_Vtbl { CachedColumnCount: CachedColumnCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationInvokePattern_Impl: Sized { @@ -6756,8 +6756,8 @@ impl IUIAutomationInvokePattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6783,8 +6783,8 @@ impl IUIAutomationItemContainerPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7094,8 +7094,8 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { GetIAccessible: GetIAccessible::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7183,8 +7183,8 @@ impl IUIAutomationMultipleViewPattern_Vtbl { GetCachedSupportedViews: GetCachedSupportedViews::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationNotCondition_Impl: Sized + IUIAutomationCondition_Impl { @@ -7206,8 +7206,8 @@ impl IUIAutomationNotCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), GetChild: GetChild:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationNotificationEventHandler_Impl: Sized { @@ -7223,8 +7223,8 @@ impl IUIAutomationNotificationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleNotificationEvent: HandleNotificationEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationObjectModelPattern_Impl: Sized { @@ -7246,8 +7246,8 @@ impl IUIAutomationObjectModelPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7296,8 +7296,8 @@ impl IUIAutomationOrCondition_Vtbl { GetChildren: GetChildren::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationPatternHandler_Impl: Sized { @@ -7329,8 +7329,8 @@ impl IUIAutomationPatternHandler_Vtbl { Dispatch: Dispatch::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationPatternInstance_Impl: Sized { @@ -7356,8 +7356,8 @@ impl IUIAutomationPatternInstance_Vtbl { CallMethod: CallMethod::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7380,8 +7380,8 @@ impl IUIAutomationPropertyChangedEventHandler_Vtbl { HandlePropertyChangedEvent: HandlePropertyChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7436,8 +7436,8 @@ impl IUIAutomationPropertyCondition_Vtbl { PropertyConditionFlags: PropertyConditionFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationProxyFactory_Impl: Sized { @@ -7475,8 +7475,8 @@ impl IUIAutomationProxyFactory_Vtbl { ProxyFactoryId: ProxyFactoryId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7625,8 +7625,8 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { GetWinEventsForAutomationEvent: GetWinEventsForAutomationEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7723,8 +7723,8 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { RestoreDefaultTable: RestoreDefaultTable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationRangeValuePattern_Impl: Sized { @@ -7899,8 +7899,8 @@ impl IUIAutomationRangeValuePattern_Vtbl { CachedSmallChange: CachedSmallChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationRegistrar_Impl: Sized { @@ -7945,8 +7945,8 @@ impl IUIAutomationRegistrar_Vtbl { RegisterPattern: RegisterPattern::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationScrollItemPattern_Impl: Sized { @@ -7962,8 +7962,8 @@ impl IUIAutomationScrollItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationScrollPattern_Impl: Sized { @@ -8145,8 +8145,8 @@ impl IUIAutomationScrollPattern_Vtbl { CachedVerticallyScrollable: CachedVerticallyScrollable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationSelectionItemPattern_Impl: Sized { @@ -8231,8 +8231,8 @@ impl IUIAutomationSelectionItemPattern_Vtbl { CachedSelectionContainer: CachedSelectionContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationSelectionPattern_Impl: Sized { @@ -8322,8 +8322,8 @@ impl IUIAutomationSelectionPattern_Vtbl { CachedIsSelectionRequired: CachedIsSelectionRequired::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationSelectionPattern2_Impl: Sized + IUIAutomationSelectionPattern_Impl { @@ -8439,8 +8439,8 @@ impl IUIAutomationSelectionPattern2_Vtbl { CachedItemCount: CachedItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8534,8 +8534,8 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { GetCachedAnnotationTypes: GetCachedAnnotationTypes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationSpreadsheetPattern_Impl: Sized { @@ -8557,8 +8557,8 @@ impl IUIAutomationSpreadsheetPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8581,8 +8581,8 @@ impl IUIAutomationStructureChangedEventHandler_Vtbl { HandleStructureChangedEvent: HandleStructureChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationStylesPattern_Impl: Sized { @@ -8790,8 +8790,8 @@ impl IUIAutomationStylesPattern_Vtbl { GetCachedExtendedPropertiesAsArray: GetCachedExtendedPropertiesAsArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationSynchronizedInputPattern_Impl: Sized { @@ -8817,8 +8817,8 @@ impl IUIAutomationSynchronizedInputPattern_Vtbl { Cancel: Cancel::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTableItemPattern_Impl: Sized { @@ -8882,8 +8882,8 @@ impl IUIAutomationTableItemPattern_Vtbl { GetCachedColumnHeaderItems: GetCachedColumnHeaderItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTablePattern_Impl: Sized { @@ -8973,8 +8973,8 @@ impl IUIAutomationTablePattern_Vtbl { CachedRowOrColumnMajor: CachedRowOrColumnMajor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTextChildPattern_Impl: Sized { @@ -9012,8 +9012,8 @@ impl IUIAutomationTextChildPattern_Vtbl { TextRange: TextRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTextEditPattern_Impl: Sized + IUIAutomationTextPattern_Impl { @@ -9051,8 +9051,8 @@ impl IUIAutomationTextEditPattern_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9075,8 +9075,8 @@ impl IUIAutomationTextEditTextChangedEventHandler_Vtbl { HandleTextEditTextChangedEvent: HandleTextEditTextChangedEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTextPattern_Impl: Sized { @@ -9166,8 +9166,8 @@ impl IUIAutomationTextPattern_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTextPattern2_Impl: Sized + IUIAutomationTextPattern_Impl { @@ -9199,8 +9199,8 @@ impl IUIAutomationTextPattern2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9414,8 +9414,8 @@ impl IUIAutomationTextRange_Vtbl { GetChildren: GetChildren::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9435,8 +9435,8 @@ impl IUIAutomationTextRange2_Vtbl { } Self { base__: IUIAutomationTextRange_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -9491,8 +9491,8 @@ impl IUIAutomationTextRange3_Vtbl { GetAttributeValues: GetAttributeValues::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IUIAutomationTextRangeArray_Impl: Sized { @@ -9530,8 +9530,8 @@ impl IUIAutomationTextRangeArray_Vtbl { GetElement: GetElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTogglePattern_Impl: Sized { @@ -9576,8 +9576,8 @@ impl IUIAutomationTogglePattern_Vtbl { CachedToggleState: CachedToggleState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTransformPattern_Impl: Sized { @@ -9688,8 +9688,8 @@ impl IUIAutomationTransformPattern_Vtbl { CachedCanRotate: CachedCanRotate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationTransformPattern2_Impl: Sized + IUIAutomationTransformPattern_Impl { @@ -9819,8 +9819,8 @@ impl IUIAutomationTransformPattern2_Vtbl { CachedZoomMaximum: CachedZoomMaximum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUIAutomationTreeWalker_Impl: Sized { @@ -10001,8 +10001,8 @@ impl IUIAutomationTreeWalker_Vtbl { Condition: Condition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationValuePattern_Impl: Sized { @@ -10073,8 +10073,8 @@ impl IUIAutomationValuePattern_Vtbl { CachedIsReadOnly: CachedIsReadOnly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationVirtualizedItemPattern_Impl: Sized { @@ -10090,8 +10090,8 @@ impl IUIAutomationVirtualizedItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAutomationWindowPattern_Impl: Sized { @@ -10286,8 +10286,8 @@ impl IUIAutomationWindowPattern_Vtbl { CachedWindowInteractionState: CachedWindowInteractionState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IValueProvider_Impl: Sized { @@ -10332,8 +10332,8 @@ impl IValueProvider_Vtbl { IsReadOnly: IsReadOnly::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVirtualizedItemProvider_Impl: Sized { @@ -10349,8 +10349,8 @@ impl IVirtualizedItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWindowProvider_Impl: Sized { @@ -10467,7 +10467,7 @@ impl IWindowProvider_Vtbl { IsTopmost: IsTopmost::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs index 0497eb0850..1371ced305 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs @@ -80,8 +80,8 @@ impl IUIAnimationInterpolator_Vtbl { GetDependencies: GetDependencies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationInterpolator2_Impl: Sized { @@ -168,8 +168,8 @@ impl IUIAnimationInterpolator2_Vtbl { GetDependencies: GetDependencies::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationLoopIterationChangeHandler2_Impl: Sized { @@ -185,8 +185,8 @@ impl IUIAnimationLoopIterationChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLoopIterationChanged: OnLoopIterationChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationManager_Impl: Sized { @@ -361,8 +361,8 @@ impl IUIAnimationManager_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationManager2_Impl: Sized { @@ -563,8 +563,8 @@ impl IUIAnimationManager2_Vtbl { Shutdown: Shutdown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationManagerEventHandler_Impl: Sized { @@ -580,8 +580,8 @@ impl IUIAnimationManagerEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationManagerEventHandler2_Impl: Sized { @@ -597,8 +597,8 @@ impl IUIAnimationManagerEventHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationPrimitiveInterpolation_Impl: Sized { @@ -624,8 +624,8 @@ impl IUIAnimationPrimitiveInterpolation_Vtbl { AddSinusoidal: AddSinusoidal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationPriorityComparison_Impl: Sized { @@ -641,8 +641,8 @@ impl IUIAnimationPriorityComparison_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationPriorityComparison2_Impl: Sized { @@ -658,8 +658,8 @@ impl IUIAnimationPriorityComparison2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationStoryboard_Impl: Sized { @@ -814,8 +814,8 @@ impl IUIAnimationStoryboard_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationStoryboard2_Impl: Sized { @@ -977,8 +977,8 @@ impl IUIAnimationStoryboard2_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationStoryboardEventHandler_Impl: Sized { @@ -1004,8 +1004,8 @@ impl IUIAnimationStoryboardEventHandler_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationStoryboardEventHandler2_Impl: Sized { @@ -1031,8 +1031,8 @@ impl IUIAnimationStoryboardEventHandler2_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTimer_Impl: Sized { @@ -1099,8 +1099,8 @@ impl IUIAnimationTimer_Vtbl { SetFrameRateThreshold: SetFrameRateThreshold::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTimerClientEventHandler_Impl: Sized { @@ -1119,8 +1119,8 @@ impl IUIAnimationTimerClientEventHandler_Vtbl { OnTimerClientStatusChanged: OnTimerClientStatusChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTimerEventHandler_Impl: Sized { @@ -1153,8 +1153,8 @@ impl IUIAnimationTimerEventHandler_Vtbl { OnRenderingTooSlow: OnRenderingTooSlow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTimerUpdateHandler_Impl: Sized { @@ -1193,8 +1193,8 @@ impl IUIAnimationTimerUpdateHandler_Vtbl { ClearTimerClientEventHandler: ClearTimerClientEventHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransition_Impl: Sized { @@ -1240,8 +1240,8 @@ impl IUIAnimationTransition_Vtbl { GetDuration: GetDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransition2_Impl: Sized { @@ -1314,8 +1314,8 @@ impl IUIAnimationTransition2_Vtbl { GetDuration: GetDuration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransitionFactory_Impl: Sized { @@ -1337,8 +1337,8 @@ impl IUIAnimationTransitionFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransitionFactory2_Impl: Sized { @@ -1360,8 +1360,8 @@ impl IUIAnimationTransitionFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransitionLibrary_Impl: Sized { @@ -1529,8 +1529,8 @@ impl IUIAnimationTransitionLibrary_Vtbl { CreateParabolicTransitionFromAcceleration: CreateParabolicTransitionFromAcceleration::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationTransitionLibrary2_Impl: Sized { @@ -1789,8 +1789,8 @@ impl IUIAnimationTransitionLibrary2_Vtbl { CreateCubicBezierLinearVectorTransition: CreateCubicBezierLinearVectorTransition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariable_Impl: Sized { @@ -1942,8 +1942,8 @@ impl IUIAnimationVariable_Vtbl { SetVariableIntegerChangeHandler: SetVariableIntegerChangeHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectComposition\"`"] @@ -2189,8 +2189,8 @@ impl IUIAnimationVariable2_Vtbl { SetVariableCurveChangeHandler: SetVariableCurveChangeHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariableChangeHandler_Impl: Sized { @@ -2206,8 +2206,8 @@ impl IUIAnimationVariableChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariableChangeHandler2_Impl: Sized { @@ -2223,8 +2223,8 @@ impl IUIAnimationVariableChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariableCurveChangeHandler2_Impl: Sized { @@ -2240,8 +2240,8 @@ impl IUIAnimationVariableCurveChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCurveChanged: OnCurveChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariableIntegerChangeHandler_Impl: Sized { @@ -2257,8 +2257,8 @@ impl IUIAnimationVariableIntegerChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIAnimationVariableIntegerChangeHandler2_Impl: Sized { @@ -2274,7 +2274,7 @@ impl IUIAnimationVariableIntegerChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs index 9bb808a80f..2505644281 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs @@ -108,8 +108,8 @@ impl IDeviceModelPlugIn_Vtbl { GetNeutralAxis: GetNeutralAxis::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGamutMapModelPlugIn_Impl: Sized { @@ -135,7 +135,7 @@ impl IGamutMapModelPlugIn_Vtbl { SourceToDestinationAppearanceColors: SourceToDestinationAppearanceColors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs index 26fa1ed357..784ca40596 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs @@ -28,8 +28,8 @@ impl IPrintDialogCallback_Vtbl { HandleMessage: HandleMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -66,7 +66,7 @@ impl IPrintDialogServices_Vtbl { GetCurrentPortName: GetCurrentPortName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 8c622ab3d5..6508c208df 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -129,8 +129,8 @@ impl IRichEditOle_Vtbl { ImportDataObject: ImportDataObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -222,8 +222,8 @@ impl IRichEditOleCallback_Vtbl { GetContextMenu: GetContextMenu::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -243,8 +243,8 @@ impl IRicheditUiaOverrides_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropertyOverrideValue: GetPropertyOverrideValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -257,8 +257,8 @@ impl ITextDisplays_Vtbl { pub const fn new, Impl: ITextDisplays_Impl, const OFFSET: isize>() -> ITextDisplays_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -479,8 +479,8 @@ impl ITextDocument_Vtbl { RangeFromPoint: RangeFromPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -948,8 +948,8 @@ impl ITextDocument2_Vtbl { GetStory: GetStory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1193,8 +1193,8 @@ impl ITextDocument2Old_Vtbl { ReleaseCallManager: ReleaseCallManager::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1763,8 +1763,8 @@ impl ITextFont_Vtbl { SetWeight: SetWeight::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2234,8 +2234,8 @@ impl ITextFont2_Vtbl { SetProperty: SetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2530,8 +2530,8 @@ impl ITextHost_Vtbl { TxGetSelectionBarWidth: TxGetSelectionBarWidth::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2631,8 +2631,8 @@ impl ITextHost2_Vtbl { TxGetHorzExtent: TxGetHorzExtent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3128,8 +3128,8 @@ impl ITextPara_Vtbl { GetTab: GetTab::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3305,8 +3305,8 @@ impl ITextPara2_Vtbl { SetProperty: SetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3889,8 +3889,8 @@ impl ITextRange_Vtbl { GetEmbeddedObject: GetEmbeddedObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4288,8 +4288,8 @@ impl ITextRange2_Vtbl { InsertImage: InsertImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4753,8 +4753,8 @@ impl ITextRow_Vtbl { SetProperty: SetProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4888,8 +4888,8 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4902,8 +4902,8 @@ impl ITextSelection2_Vtbl { pub const fn new, Impl: ITextSelection2_Impl, const OFFSET: isize>() -> ITextSelection2_Vtbl { Self { base__: ITextRange2_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -5065,8 +5065,8 @@ impl ITextServices_Vtbl { TxGetCachedSize: TxGetCachedSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -5096,8 +5096,8 @@ impl ITextServices2_Vtbl { TxDrawD2D: TxDrawD2D::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5239,8 +5239,8 @@ impl ITextStory_Vtbl { SetText: SetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5295,8 +5295,8 @@ impl ITextStoryRanges_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5322,8 +5322,8 @@ impl ITextStoryRanges2_Vtbl { } Self { base__: ITextStoryRanges_Vtbl::new::(), Item2: Item2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5476,7 +5476,7 @@ impl ITextStrings_Vtbl { Swap: Swap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs index e8a92675af..3a40ae84dc 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs @@ -274,8 +274,8 @@ impl IImageList_Vtbl { GetOverlayImage: GetOverlayImage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -375,7 +375,7 @@ impl IImageList2_Vtbl { ReplaceFromImageList: ReplaceFromImageList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs index 400566270f..2c9491a5d0 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs @@ -148,8 +148,8 @@ impl IActiveIME_Vtbl { GetLangId: GetLangId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`"] @@ -175,8 +175,8 @@ impl IActiveIME2_Vtbl { } Self { base__: IActiveIME_Vtbl::new::(), Sleep: Sleep::, Unsleep: Unsleep:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`"] @@ -758,8 +758,8 @@ impl IActiveIMMApp_Vtbl { EnumInputContext: EnumInputContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`"] @@ -1541,8 +1541,8 @@ impl IActiveIMMIME_Vtbl { IsSleeping: IsSleeping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1599,8 +1599,8 @@ impl IActiveIMMMessagePumpOwner_Vtbl { Resume: Resume::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveIMMRegistrar_Impl: Sized { @@ -1626,8 +1626,8 @@ impl IActiveIMMRegistrar_Vtbl { UnregisterIME: UnregisterIME::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Globalization\"`"] @@ -1677,8 +1677,8 @@ impl IEnumInputContext_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRegisterWordA_Impl: Sized { @@ -1724,8 +1724,8 @@ impl IEnumRegisterWordA_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumRegisterWordW_Impl: Sized { @@ -1771,8 +1771,8 @@ impl IEnumRegisterWordW_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1785,8 +1785,8 @@ impl IFEClassFactory_Vtbl { pub const fn new, Impl: IFEClassFactory_Impl, const OFFSET: isize>() -> IFEClassFactory_Vtbl { Self { base__: super::super::super::System::Com::IClassFactory_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFECommon_Impl: Sized { @@ -1826,8 +1826,8 @@ impl IFECommon_Vtbl { InvokeDictToolDialog: InvokeDictToolDialog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFEDictionary_Impl: Sized { @@ -1958,8 +1958,8 @@ impl IFEDictionary_Vtbl { ConvertFromUserToSys: ConvertFromUserToSys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFELanguage_Impl: Sized { @@ -2013,8 +2013,8 @@ impl IFELanguage_Vtbl { GetConversion: GetConversion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IImePad_Impl: Sized { @@ -2030,8 +2030,8 @@ impl IImePad_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Request: Request:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2082,8 +2082,8 @@ impl IImePadApplet_Vtbl { Notify: Notify::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2113,8 +2113,8 @@ impl IImePlugInDictDictionaryList_Vtbl { DeleteDictionary: DeleteDictionary::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IImeSpecifyApplets_Impl: Sized { @@ -2130,7 +2130,7 @@ impl IImeSpecifyApplets_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppletIIDList: GetAppletIIDList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs index 6d345c0bd5..d80add1d26 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs @@ -11,8 +11,8 @@ impl IInkCommitRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCommitRequested: OnCommitRequested:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkD2DRenderer_Impl: Sized { @@ -28,8 +28,8 @@ impl IInkD2DRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkD2DRenderer2_Impl: Sized { @@ -45,8 +45,8 @@ impl IInkD2DRenderer2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkDesktopHost_Impl: Sized { @@ -79,8 +79,8 @@ impl IInkDesktopHost_Vtbl { CreateAndInitializeInkPresenter: CreateAndInitializeInkPresenter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkHostWorkItem_Impl: Sized { @@ -96,8 +96,8 @@ impl IInkHostWorkItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInkPresenterDesktop_Impl: Sized { @@ -144,7 +144,7 @@ impl IInkPresenterDesktop_Vtbl { OnHighContrastChanged: OnHighContrastChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs index b67fae0b13..bbf45dd9b2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs @@ -14,8 +14,8 @@ impl IRadialControllerConfigurationInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRadialControllerIndependentInputSourceInterop_Impl: Sized { @@ -34,8 +34,8 @@ impl IRadialControllerIndependentInputSourceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRadialControllerInterop_Impl: Sized { @@ -54,7 +54,7 @@ impl IRadialControllerInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs index 230a4a15ef..1332d2e87d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs @@ -494,8 +494,8 @@ impl IInertiaProcessor_Vtbl { CompleteTime: CompleteTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IManipulationProcessor_Impl: Sized { @@ -708,8 +708,8 @@ impl IManipulationProcessor_Vtbl { SetMinimumScaleRotateRadius: SetMinimumScaleRotateRadius::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait _IManipulationEvents_Impl: Sized { @@ -756,7 +756,7 @@ impl _IManipulationEvents_Vtbl { ManipulationCompleted: ManipulationCompleted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IManipulationEvents as ::windows_core::ComInterface>::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IManipulationEvents as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs index d6fc8fca7f..f5b33ba08f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs @@ -39,8 +39,8 @@ impl IADesktopP2_Vtbl { MakeDynamicChanges: MakeDynamicChanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveDesktopP_Impl: Sized { @@ -80,8 +80,8 @@ impl IActiveDesktopP_Vtbl { GetScheme: GetScheme::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -101,8 +101,8 @@ impl IBriefcaseInitiator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMonikerInBriefcase: IsMonikerInBriefcase:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -159,8 +159,8 @@ impl IEmptyVolumeCache_Vtbl { Deactivate: Deactivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -180,8 +180,8 @@ impl IEmptyVolumeCache2_Vtbl { } Self { base__: IEmptyVolumeCache_Vtbl::new::(), InitializeEx: InitializeEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEmptyVolumeCacheCallBack_Impl: Sized { @@ -207,8 +207,8 @@ impl IEmptyVolumeCacheCallBack_Vtbl { PurgeProgress: PurgeProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -244,8 +244,8 @@ impl IReconcilableObject_Vtbl { GetProgressFeedbackMaxEstimate: GetProgressFeedbackMaxEstimate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IReconcileInitiator_Impl: Sized { @@ -271,7 +271,7 @@ impl IReconcileInitiator_Vtbl { SetProgressFeedback: SetProgressFeedback::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs index 9a4734d649..2742943467 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs @@ -11,7 +11,7 @@ impl INotificationActivationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index 1b6259a7da..ab3936decd 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -34,8 +34,8 @@ impl IUIApplication_Vtbl { OnDestroyUICommand: OnDestroyUICommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUICollection_Impl: Sized { @@ -108,8 +108,8 @@ impl IUICollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUICollectionChangedEvent_Impl: Sized { @@ -125,8 +125,8 @@ impl IUICollectionChangedEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChanged: OnChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -162,8 +162,8 @@ impl IUICommandHandler_Vtbl { UpdateProperty: UpdateProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIContextualUI_Impl: Sized { @@ -179,8 +179,8 @@ impl IUIContextualUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowAtLocation: ShowAtLocation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIEventLogger_Impl: Sized { @@ -196,8 +196,8 @@ impl IUIEventLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUIEvent: OnUIEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIEventingManager_Impl: Sized { @@ -213,8 +213,8 @@ impl IUIEventingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetEventLogger: SetEventLogger:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -299,8 +299,8 @@ impl IUIFramework_Vtbl { SetModes: SetModes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -326,8 +326,8 @@ impl IUIImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -353,8 +353,8 @@ impl IUIImageFromBitmap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateImage: CreateImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -397,8 +397,8 @@ impl IUIRibbon_Vtbl { SaveSettingsToStream: SaveSettingsToStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -424,7 +424,7 @@ impl IUISimplePropertySet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs index 9c45470e9f..eba6ebeaf4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs @@ -27,8 +27,8 @@ impl IObjectArray_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectCollection_Impl: Sized + IObjectArray_Impl { @@ -68,7 +68,7 @@ impl IObjectCollection_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index 1e85053de6..974d4b1766 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -11,8 +11,8 @@ impl ICreateObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDelayedPropertyStoreFactory_Impl: Sized + IPropertyStoreFactory_Impl { @@ -28,8 +28,8 @@ impl IDelayedPropertyStoreFactory_Vtbl { } Self { base__: IPropertyStoreFactory_Vtbl::new::(), GetDelayedPropertyStore: GetDelayedPropertyStore:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInitializeWithFile_Impl: Sized { @@ -45,8 +45,8 @@ impl IInitializeWithFile_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -66,8 +66,8 @@ impl IInitializeWithStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -129,8 +129,8 @@ impl INamedPropertyStore_Vtbl { GetNameAt: GetNameAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithPropertyKey_Impl: Sized { @@ -156,8 +156,8 @@ impl IObjectWithPropertyKey_Vtbl { GetPropertyKey: GetPropertyKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersistSerializedPropStorage_Impl: Sized { @@ -190,8 +190,8 @@ impl IPersistSerializedPropStorage_Vtbl { GetPropertyStorage: GetPropertyStorage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPersistSerializedPropStorage2_Impl: Sized + IPersistSerializedPropStorage_Impl { @@ -223,8 +223,8 @@ impl IPersistSerializedPropStorage2_Vtbl { GetPropertyStorageBuffer: GetPropertyStorageBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -250,8 +250,8 @@ impl IPropertyChange_Vtbl { } Self { base__: IObjectWithPropertyKey_Vtbl::new::(), ApplyToPropVariant: ApplyToPropVariant:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPropertyChangeArray_Impl: Sized { @@ -318,8 +318,8 @@ impl IPropertyChangeArray_Vtbl { IsKeyInArray: IsKeyInArray::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -572,8 +572,8 @@ impl IPropertyDescription_Vtbl { IsValueCanonical: IsValueCanonical::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -602,8 +602,8 @@ impl IPropertyDescription2_Vtbl { GetImageReferenceForValue: GetImageReferenceForValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -633,8 +633,8 @@ impl IPropertyDescriptionAliasInfo_Vtbl { GetAdditionalSortByAliases: GetAdditionalSortByAliases::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPropertyDescriptionList_Impl: Sized { @@ -666,8 +666,8 @@ impl IPropertyDescriptionList_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -687,8 +687,8 @@ impl IPropertyDescriptionRelatedPropertyInfo_Vtbl { } Self { base__: IPropertyDescription_Vtbl::new::(), GetRelatedProperty: GetRelatedProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`"] @@ -756,8 +756,8 @@ impl IPropertyDescriptionSearchInfo_Vtbl { GetMaxSize: GetMaxSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -838,8 +838,8 @@ impl IPropertyEnumType_Vtbl { GetDisplayText: GetDisplayText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -865,8 +865,8 @@ impl IPropertyEnumType2_Vtbl { } Self { base__: IPropertyEnumType_Vtbl::new::(), GetImageReference: GetImageReference:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -922,8 +922,8 @@ impl IPropertyEnumTypeList_Vtbl { FindMatchingIndex: FindMatchingIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -986,8 +986,8 @@ impl IPropertyStore_Vtbl { Commit: Commit::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1037,8 +1037,8 @@ impl IPropertyStoreCache_Vtbl { SetValueAndState: SetValueAndState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPropertyStoreCapabilities_Impl: Sized { @@ -1054,8 +1054,8 @@ impl IPropertyStoreCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsPropertyWritable: IsPropertyWritable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPropertyStoreFactory_Impl: Sized { @@ -1081,8 +1081,8 @@ impl IPropertyStoreFactory_Vtbl { GetPropertyStoreForKeys: GetPropertyStoreForKeys::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1167,8 +1167,8 @@ impl IPropertySystem_Vtbl { RefreshPropertySchema: RefreshPropertySchema::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPropertySystemChangeNotify_Impl: Sized { @@ -1184,8 +1184,8 @@ impl IPropertySystemChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SchemaRefreshed: SchemaRefreshed:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -1269,7 +1269,7 @@ impl IPropertyUI_Vtbl { GetHelpInfo: GetHelpInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index e03fa0db21..e7a30d20ff 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -25,8 +25,8 @@ impl CIE4ConnectionPoint_Vtbl { DoInvokePIDLIE4: DoInvokePIDLIE4::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -68,8 +68,8 @@ impl DFConstraint_Vtbl { Value: Value::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -82,8 +82,8 @@ impl DShellFolderViewEvents_Vtbl { pub const fn new, Impl: DShellFolderViewEvents_Impl, const OFFSET: isize>() -> DShellFolderViewEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -96,8 +96,8 @@ impl DShellNameSpaceEvents_Vtbl { pub const fn new, Impl: DShellNameSpaceEvents_Impl, const OFFSET: isize>() -> DShellNameSpaceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -110,8 +110,8 @@ impl DShellWindowsEvents_Vtbl { pub const fn new, Impl: DShellWindowsEvents_Impl, const OFFSET: isize>() -> DShellWindowsEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -124,8 +124,8 @@ impl DWebBrowserEvents_Vtbl { pub const fn new, Impl: DWebBrowserEvents_Impl, const OFFSET: isize>() -> DWebBrowserEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -138,8 +138,8 @@ impl DWebBrowserEvents2_Vtbl { pub const fn new, Impl: DWebBrowserEvents2_Impl, const OFFSET: isize>() -> DWebBrowserEvents2_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -267,8 +267,8 @@ impl Folder_Vtbl { GetDetailsOf: GetDetailsOf::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -337,8 +337,8 @@ impl Folder2_Vtbl { DismissedWebViewBarricade: DismissedWebViewBarricade::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -374,8 +374,8 @@ impl Folder3_Vtbl { SetShowWebViewBarricade: SetShowWebViewBarricade::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -594,8 +594,8 @@ impl FolderItem_Vtbl { InvokeVerb: InvokeVerb::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -631,8 +631,8 @@ impl FolderItem2_Vtbl { ExtendedProperty: ExtendedProperty::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -694,8 +694,8 @@ impl FolderItemVerb_Vtbl { DoIt: DoIt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -776,8 +776,8 @@ impl FolderItemVerbs_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -858,8 +858,8 @@ impl FolderItems_Vtbl { _NewEnum: _NewEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -879,8 +879,8 @@ impl FolderItems2_Vtbl { } Self { base__: FolderItems_Vtbl::new::(), InvokeVerbEx: InvokeVerbEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -912,8 +912,8 @@ impl FolderItems3_Vtbl { } Self { base__: FolderItems2_Vtbl::new::(), Filter: Filter::, Verbs: Verbs:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IACList_Impl: Sized { @@ -929,8 +929,8 @@ impl IACList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Expand: Expand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IACList2_Impl: Sized + IACList_Impl { @@ -962,8 +962,8 @@ impl IACList2_Vtbl { GetOptions: GetOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1000,8 +1000,8 @@ impl IAccessibilityDockingService_Vtbl { UndockWindow: UndockWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAccessibilityDockingServiceCallback_Impl: Sized { @@ -1017,8 +1017,8 @@ impl IAccessibilityDockingServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Undocked: Undocked:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAccessibleObject_Impl: Sized { @@ -1034,8 +1034,8 @@ impl IAccessibleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAccessibleName: SetAccessibleName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActionProgress_Impl: Sized { @@ -1095,8 +1095,8 @@ impl IActionProgress_Vtbl { End: End::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActionProgressDialog_Impl: Sized { @@ -1122,8 +1122,8 @@ impl IActionProgressDialog_Vtbl { Stop: Stop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1204,8 +1204,8 @@ impl IAppActivationUIInfo_Vtbl { GetKeyState: GetKeyState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAppPublisher_Impl: Sized { @@ -1269,8 +1269,8 @@ impl IAppPublisher_Vtbl { EnumApps: EnumApps::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1332,8 +1332,8 @@ impl IAppVisibility_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -1363,8 +1363,8 @@ impl IAppVisibilityEvents_Vtbl { LauncherVisibilityChange: LauncherVisibilityChange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationActivationManager_Impl: Sized { @@ -1415,8 +1415,8 @@ impl IApplicationActivationManager_Vtbl { ActivateForProtocol: ActivateForProtocol::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationAssociationRegistration_Impl: Sized { @@ -1488,8 +1488,8 @@ impl IApplicationAssociationRegistration_Vtbl { ClearUserAssociations: ClearUserAssociations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationAssociationRegistrationUI_Impl: Sized { @@ -1508,8 +1508,8 @@ impl IApplicationAssociationRegistrationUI_Vtbl { LaunchAdvancedAssociationUI: LaunchAdvancedAssociationUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -1579,8 +1579,8 @@ impl IApplicationDesignModeSettings_Vtbl { TriggerEdgeGesture: TriggerEdgeGesture::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -1651,8 +1651,8 @@ impl IApplicationDesignModeSettings2_Vtbl { GetApplicationViewOrientation: GetApplicationViewOrientation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IApplicationDestinations_Impl: Sized { @@ -1685,8 +1685,8 @@ impl IApplicationDestinations_Vtbl { RemoveAllDestinations: RemoveAllDestinations::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IApplicationDocumentLists_Impl: Sized { @@ -1712,8 +1712,8 @@ impl IApplicationDocumentLists_Vtbl { GetList: GetList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1796,8 +1796,8 @@ impl IAssocHandler_Vtbl { CreateInvoker: CreateInvoker::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAssocHandlerInvoker_Impl: Sized { @@ -1823,8 +1823,8 @@ impl IAssocHandlerInvoker_Vtbl { Invoke: Invoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAttachmentExecute_Impl: Sized { @@ -1926,8 +1926,8 @@ impl IAttachmentExecute_Vtbl { ClearClientState: ClearClientState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAutoComplete_Impl: Sized { @@ -1949,8 +1949,8 @@ impl IAutoComplete_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Enable: Enable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAutoComplete2_Impl: Sized + IAutoComplete_Impl { @@ -1982,8 +1982,8 @@ impl IAutoComplete2_Vtbl { GetOptions: GetOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAutoCompleteDropDown_Impl: Sized { @@ -2009,8 +2009,8 @@ impl IAutoCompleteDropDown_Vtbl { ResetEnumerator: ResetEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBandHost_Impl: Sized { @@ -2043,8 +2043,8 @@ impl IBandHost_Vtbl { DestroyBand: DestroyBand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -2122,8 +2122,8 @@ impl IBandSite_Vtbl { GetBandSiteInfo: GetBandSiteInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBannerNotificationHandler_Impl: Sized { @@ -2139,8 +2139,8 @@ impl IBannerNotificationHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBannerEvent: OnBannerEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -2196,8 +2196,8 @@ impl IBanneredBar_Vtbl { GetBitmap: GetBitmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IBrowserFrameOptions_Impl: Sized { @@ -2219,8 +2219,8 @@ impl IBrowserFrameOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFrameOptions: GetFrameOptions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`"] @@ -2524,8 +2524,8 @@ impl IBrowserService_Vtbl { RegisterWindow: RegisterWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -2999,8 +2999,8 @@ impl IBrowserService2_Vtbl { v_CheckZoneCrossing: v_CheckZoneCrossing::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -3036,8 +3036,8 @@ impl IBrowserService3_Vtbl { IEParseDisplayNameEx: IEParseDisplayNameEx::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -3074,8 +3074,8 @@ impl IBrowserService4_Vtbl { _ResizeAllBorders: _ResizeAllBorders::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ICDBurn_Impl: Sized { @@ -3114,8 +3114,8 @@ impl ICDBurn_Vtbl { HasRecordableDrive: HasRecordableDrive::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICDBurnExt_Impl: Sized { @@ -3137,8 +3137,8 @@ impl ICDBurnExt_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedActionTypes: GetSupportedActionTypes:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -3182,8 +3182,8 @@ impl ICategorizer_Vtbl { CompareCategory: CompareCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3253,8 +3253,8 @@ impl ICategoryProvider_Vtbl { CreateCategory: CreateCategory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3311,8 +3311,8 @@ impl IColumnManager_Vtbl { SetColumns: SetColumns::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -3355,8 +3355,8 @@ impl IColumnProvider_Vtbl { GetItemData: GetItemData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] @@ -3393,8 +3393,8 @@ impl ICommDlgBrowser_Vtbl { IncludeObject: IncludeObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] @@ -3437,8 +3437,8 @@ impl ICommDlgBrowser2_Vtbl { GetViewFlags: GetViewFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] @@ -3475,8 +3475,8 @@ impl ICommDlgBrowser3_Vtbl { OnPreViewCreated: OnPreViewCreated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IComputerInfoChangeNotify_Impl: Sized { @@ -3492,8 +3492,8 @@ impl IComputerInfoChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComputerInfoChanged: ComputerInfoChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -3523,8 +3523,8 @@ impl IConnectableCredentialProviderCredential_Vtbl { Disconnect: Disconnect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IContactManagerInterop_Impl: Sized { @@ -3540,8 +3540,8 @@ impl IContactManagerInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowContactCardForWindow: ShowContactCardForWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -3578,8 +3578,8 @@ impl IContextMenu_Vtbl { GetCommandString: GetCommandString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -3599,8 +3599,8 @@ impl IContextMenu2_Vtbl { } Self { base__: IContextMenu_Vtbl::new::(), HandleMenuMsg: HandleMenuMsg:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -3620,8 +3620,8 @@ impl IContextMenu3_Vtbl { } Self { base__: IContextMenu2_Vtbl::new::(), HandleMenuMsg2: HandleMenuMsg2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3641,8 +3641,8 @@ impl IContextMenuCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallBack: CallBack:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IContextMenuSite_Impl: Sized { @@ -3658,8 +3658,8 @@ impl IContextMenuSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoContextMenuPopup: DoContextMenuPopup:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICopyHookA_Impl: Sized { @@ -3675,8 +3675,8 @@ impl ICopyHookA_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICopyHookW_Impl: Sized { @@ -3692,8 +3692,8 @@ impl ICopyHookW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICreateProcessInputs_Impl: Sized { @@ -3760,8 +3760,8 @@ impl ICreateProcessInputs_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICreatingProcess_Impl: Sized { @@ -3777,8 +3777,8 @@ impl ICreatingProcess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCreating: OnCreating:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICredentialProvider_Impl: Sized { @@ -3864,8 +3864,8 @@ impl ICredentialProvider_Vtbl { GetCredentialAt: GetCredentialAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -4030,8 +4030,8 @@ impl ICredentialProviderCredential_Vtbl { ReportResult: ReportResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -4057,8 +4057,8 @@ impl ICredentialProviderCredential2_Vtbl { } Self { base__: ICredentialProviderCredential_Vtbl::new::(), GetUserSid: GetUserSid:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -4150,8 +4150,8 @@ impl ICredentialProviderCredentialEvents_Vtbl { OnCreatingWindow: OnCreatingWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -4188,8 +4188,8 @@ impl ICredentialProviderCredentialEvents2_Vtbl { SetFieldOptions: SetFieldOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICredentialProviderCredentialWithFieldOptions_Impl: Sized { @@ -4211,8 +4211,8 @@ impl ICredentialProviderCredentialWithFieldOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFieldOptions: GetFieldOptions:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICredentialProviderEvents_Impl: Sized { @@ -4228,8 +4228,8 @@ impl ICredentialProviderEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CredentialsChanged: CredentialsChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICredentialProviderFilter_Impl: Sized { @@ -4255,8 +4255,8 @@ impl ICredentialProviderFilter_Vtbl { UpdateRemoteCredential: UpdateRemoteCredential::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICredentialProviderSetUserArray_Impl: Sized { @@ -4272,8 +4272,8 @@ impl ICredentialProviderSetUserArray_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUserArray: SetUserArray:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -4341,8 +4341,8 @@ impl ICredentialProviderUser_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICredentialProviderUserArray_Impl: Sized { @@ -4400,8 +4400,8 @@ impl ICredentialProviderUserArray_Vtbl { GetAt: GetAt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -4414,8 +4414,8 @@ impl ICurrentItem_Vtbl { pub const fn new, Impl: ICurrentItem_Impl, const OFFSET: isize>() -> ICurrentItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ICurrentWorkingDirectory_Impl: Sized { @@ -4441,8 +4441,8 @@ impl ICurrentWorkingDirectory_Vtbl { SetDirectory: SetDirectory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -4521,8 +4521,8 @@ impl ICustomDestinationList_Vtbl { AbortList: AbortList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4585,8 +4585,8 @@ impl IDataObjectAsyncCapability_Vtbl { EndOperation: EndOperation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4622,8 +4622,8 @@ impl IDataObjectProvider_Vtbl { SetDataObject: SetDataObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDataTransferManagerInterop_Impl: Sized { @@ -4649,8 +4649,8 @@ impl IDataTransferManagerInterop_Vtbl { ShowShareUIForWindow: ShowShareUIForWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -4708,8 +4708,8 @@ impl IDefaultExtractIconInit_Vtbl { SetDefaultIcon: SetDefaultIcon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] @@ -4759,8 +4759,8 @@ impl IDefaultFolderMenuInitialize_Vtbl { SetHandlerClsid: SetHandlerClsid::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4780,8 +4780,8 @@ impl IDelegateFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetItemAlloc: SetItemAlloc:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -4794,8 +4794,8 @@ impl IDelegateItem_Vtbl { pub const fn new, Impl: IDelegateItem_Impl, const OFFSET: isize>() -> IDelegateItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -4815,8 +4815,8 @@ impl IDeskBand_Vtbl { } Self { base__: IDockingWindow_Vtbl::new::(), GetBandInfo: GetBandInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -4865,8 +4865,8 @@ impl IDeskBand2_Vtbl { GetCompositionState: GetCompositionState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IDeskBandInfo_Impl: Sized { @@ -4888,8 +4888,8 @@ impl IDeskBandInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDefaultBandWidth: GetDefaultBandWidth:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -4932,8 +4932,8 @@ impl IDeskBar_Vtbl { OnPosRectChangeDB: OnPosRectChangeDB::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -4983,8 +4983,8 @@ impl IDeskBarClient_Vtbl { GetSize: GetSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IDesktopGadget_Impl: Sized { @@ -5000,8 +5000,8 @@ impl IDesktopGadget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RunGadget: RunGadget:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDesktopWallpaper_Impl: Sized { @@ -5173,8 +5173,8 @@ impl IDesktopWallpaper_Vtbl { Enable: Enable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5200,8 +5200,8 @@ impl IDestinationStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDestinationStream: GetDestinationStream:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -5214,8 +5214,8 @@ impl IDisplayItem_Vtbl { pub const fn new, Impl: IDisplayItem_Impl, const OFFSET: isize>() -> IDisplayItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5235,8 +5235,8 @@ impl IDocViewSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSetTitle: OnSetTitle:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -5273,8 +5273,8 @@ impl IDockingWindow_Vtbl { ResizeBorderDW: ResizeBorderDW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -5311,8 +5311,8 @@ impl IDockingWindowFrame_Vtbl { FindToolbar: FindToolbar::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -5355,8 +5355,8 @@ impl IDockingWindowSite_Vtbl { SetBorderSpaceDW: SetBorderSpaceDW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -5386,8 +5386,8 @@ impl IDragSourceHelper_Vtbl { InitializeFromWindow: InitializeFromWindow::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`"] @@ -5407,8 +5407,8 @@ impl IDragSourceHelper2_Vtbl { } Self { base__: IDragSourceHelper_Vtbl::new::(), SetFlags: SetFlags:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`"] @@ -5459,8 +5459,8 @@ impl IDropTargetHelper_Vtbl { Show: Show::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDynamicHWHandler_Impl: Sized { @@ -5482,8 +5482,8 @@ impl IDynamicHWHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDynamicInfo: GetDynamicInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5526,8 +5526,8 @@ impl IEnumACString_Vtbl { GetEnumOptions: GetEnumOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IEnumAssocHandlers_Impl: Sized { @@ -5543,8 +5543,8 @@ impl IEnumAssocHandlers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumExplorerCommand_Impl: Sized { @@ -5590,8 +5590,8 @@ impl IEnumExplorerCommand_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumExtraSearch_Impl: Sized { @@ -5637,8 +5637,8 @@ impl IEnumExtraSearch_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -5688,8 +5688,8 @@ impl IEnumFullIDList_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumHLITEM_Impl: Sized { @@ -5735,8 +5735,8 @@ impl IEnumHLITEM_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -5780,8 +5780,8 @@ impl IEnumIDList_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumObjects_Impl: Sized { @@ -5827,8 +5827,8 @@ impl IEnumObjects_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumPublishedApps_Impl: Sized { @@ -5856,8 +5856,8 @@ impl IEnumPublishedApps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumReadyCallback_Impl: Sized { @@ -5873,8 +5873,8 @@ impl IEnumReadyCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumReady: EnumReady:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumResources_Impl: Sized { @@ -5920,8 +5920,8 @@ impl IEnumResources_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumShellItems_Impl: Sized { @@ -5967,8 +5967,8 @@ impl IEnumShellItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSyncMgrConflict_Impl: Sized { @@ -6014,8 +6014,8 @@ impl IEnumSyncMgrConflict_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSyncMgrEvents_Impl: Sized { @@ -6061,8 +6061,8 @@ impl IEnumSyncMgrEvents_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSyncMgrSyncItems_Impl: Sized { @@ -6108,8 +6108,8 @@ impl IEnumSyncMgrSyncItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTravelLogEntry_Impl: Sized { @@ -6155,8 +6155,8 @@ impl IEnumTravelLogEntry_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -6192,8 +6192,8 @@ impl IEnumerableView_Vtbl { CreateEnumIDListFromContents: CreateEnumIDListFromContents::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExecuteCommand_Impl: Sized { @@ -6254,8 +6254,8 @@ impl IExecuteCommand_Vtbl { Execute: Execute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExecuteCommandApplicationHostEnvironment_Impl: Sized { @@ -6277,8 +6277,8 @@ impl IExecuteCommandApplicationHostEnvironment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExecuteCommandHost_Impl: Sized { @@ -6300,8 +6300,8 @@ impl IExecuteCommandHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIMode: GetUIMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6344,8 +6344,8 @@ impl IExpDispSupport_Vtbl { OnInvoke: OnInvoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6388,8 +6388,8 @@ impl IExpDispSupportXP_Vtbl { OnInvoke: OnInvoke::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6522,8 +6522,8 @@ impl IExplorerBrowser_Vtbl { GetCurrentView: GetCurrentView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] @@ -6567,8 +6567,8 @@ impl IExplorerBrowserEvents_Vtbl { OnNavigationFailed: OnNavigationFailed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6682,8 +6682,8 @@ impl IExplorerCommand_Vtbl { EnumSubCommands: EnumSubCommands::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExplorerCommandProvider_Impl: Sized { @@ -6709,8 +6709,8 @@ impl IExplorerCommandProvider_Vtbl { GetCommand: GetCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExplorerCommandState_Impl: Sized { @@ -6732,8 +6732,8 @@ impl IExplorerCommandState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetState: GetState:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExplorerPaneVisibility_Impl: Sized { @@ -6755,8 +6755,8 @@ impl IExplorerPaneVisibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPaneState: GetPaneState:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IExtensionServices_Impl: Sized { @@ -6782,8 +6782,8 @@ impl IExtensionServices_Vtbl { SetAuthenticateData: SetAuthenticateData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6813,8 +6813,8 @@ impl IExtractIconA_Vtbl { Extract: Extract::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6844,8 +6844,8 @@ impl IExtractIconW_Vtbl { Extract: Extract::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -6881,8 +6881,8 @@ impl IExtractImage_Vtbl { Extract: Extract::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -6908,8 +6908,8 @@ impl IExtractImage2_Vtbl { } Self { base__: IExtractImage_Vtbl::new::(), GetDateStamp: GetDateStamp:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -7128,8 +7128,8 @@ impl IFileDialog_Vtbl { SetFilter: SetFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -7159,8 +7159,8 @@ impl IFileDialog2_Vtbl { SetNavigationRoot: SetNavigationRoot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IFileDialogControlEvents_Impl: Sized { @@ -7200,8 +7200,8 @@ impl IFileDialogControlEvents_Vtbl { OnControlActivating: OnControlActivating::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileDialogCustomize_Impl: Sized { @@ -7432,8 +7432,8 @@ impl IFileDialogCustomize_Vtbl { SetControlItemText: SetControlItemText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileDialogEvents_Impl: Sized { @@ -7506,8 +7506,8 @@ impl IFileDialogEvents_Vtbl { OnOverwrite: OnOverwrite::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFileIsInUse_Impl: Sized { @@ -7578,8 +7578,8 @@ impl IFileIsInUse_Vtbl { CloseFile: CloseFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -7621,8 +7621,8 @@ impl IFileOpenDialog_Vtbl { GetSelectedItems: GetSelectedItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -7790,8 +7790,8 @@ impl IFileOperation_Vtbl { GetAnyOperationsAborted: GetAnyOperationsAborted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -7811,8 +7811,8 @@ impl IFileOperation2_Vtbl { } Self { base__: IFileOperation_Vtbl::new::(), SetOperationFlags2: SetOperationFlags2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFileOperationProgressSink_Impl: Sized { @@ -7936,8 +7936,8 @@ impl IFileOperationProgressSink_Vtbl { ResumeTimer: ResumeTimer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -7994,8 +7994,8 @@ impl IFileSaveDialog_Vtbl { ApplyProperties: ApplyProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8064,8 +8064,8 @@ impl IFileSearchBand_Vtbl { QueryFile: QueryFile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -8101,8 +8101,8 @@ impl IFileSyncMergeHandler_Vtbl { ShowResolveConflictUIAsync: ShowResolveConflictUIAsync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] @@ -8132,8 +8132,8 @@ impl IFileSystemBindData_Vtbl { GetFindData: GetFindData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_FileSystem\"`"] @@ -8189,8 +8189,8 @@ impl IFileSystemBindData2_Vtbl { GetJunctionCLSID: GetJunctionCLSID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFolderBandPriv_Impl: Sized { @@ -8230,8 +8230,8 @@ impl IFolderBandPriv_Vtbl { SetNoText: SetNoText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -8261,8 +8261,8 @@ impl IFolderFilter_Vtbl { GetEnumFlags: GetEnumFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFolderFilterSite_Impl: Sized { @@ -8278,8 +8278,8 @@ impl IFolderFilterSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFilter: SetFilter:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -8435,8 +8435,8 @@ impl IFolderView_Vtbl { SelectAndPositionItems: SelectAndPositionItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -8675,8 +8675,8 @@ impl IFolderView2_Vtbl { DoRename: DoRename::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8696,8 +8696,8 @@ impl IFolderViewHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8717,8 +8717,8 @@ impl IFolderViewOC_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetFolderView: SetFolderView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IFolderViewOptions_Impl: Sized { @@ -8750,8 +8750,8 @@ impl IFolderViewOptions_Vtbl { GetFolderViewOptions: GetFolderViewOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -8834,8 +8834,8 @@ impl IFolderViewSettings_Vtbl { GetGroupSubsetCount: GetGroupSubsetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFrameworkInputPane_Impl: Sized { @@ -8893,8 +8893,8 @@ impl IFrameworkInputPane_Vtbl { Location: Location::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IFrameworkInputPaneHandler_Impl: Sized { @@ -8920,8 +8920,8 @@ impl IFrameworkInputPaneHandler_Vtbl { Hiding: Hiding::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGetServiceIds_Impl: Sized { @@ -8937,8 +8937,8 @@ impl IGetServiceIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetServiceIds: GetServiceIds:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8975,8 +8975,8 @@ impl IHWEventHandler_Vtbl { HandleEventWithContent: HandleEventWithContent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -8996,8 +8996,8 @@ impl IHWEventHandler2_Vtbl { } Self { base__: IHWEventHandler_Vtbl::new::(), HandleEventWithHWND: HandleEventWithHWND:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IHandlerActivationHost_Impl: Sized { @@ -9023,8 +9023,8 @@ impl IHandlerActivationHost_Vtbl { BeforeCreateProcess: BeforeCreateProcess::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHandlerInfo_Impl: Sized { @@ -9075,8 +9075,8 @@ impl IHandlerInfo_Vtbl { GetApplicationIconReference: GetApplicationIconReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHandlerInfo2_Impl: Sized + IHandlerInfo_Impl { @@ -9098,8 +9098,8 @@ impl IHandlerInfo2_Vtbl { } Self { base__: IHandlerInfo_Vtbl::new::(), GetApplicationId: GetApplicationId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9237,8 +9237,8 @@ impl IHlink_Vtbl { GetAdditionalParams: GetAdditionalParams::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9388,8 +9388,8 @@ impl IHlinkBrowseContext_Vtbl { Close: Close::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9446,8 +9446,8 @@ impl IHlinkFrame_Vtbl { UpdateHlink: UpdateHlink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9503,8 +9503,8 @@ impl IHlinkSite_Vtbl { OnNavigationComplete: OnNavigationComplete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9573,8 +9573,8 @@ impl IHlinkTarget_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHomeGroup_Impl: Sized { @@ -9612,8 +9612,8 @@ impl IHomeGroup_Vtbl { ShowSharingWizard: ShowSharingWizard::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IIOCancelInformation_Impl: Sized { @@ -9639,8 +9639,8 @@ impl IIOCancelInformation_Vtbl { GetCancelInformation: GetCancelInformation::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -9653,8 +9653,8 @@ impl IIdentityName_Vtbl { pub const fn new, Impl: IIdentityName_Impl, const OFFSET: isize>() -> IIdentityName_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -9680,8 +9680,8 @@ impl IImageRecompress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RecompressImage: RecompressImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`"] @@ -9701,8 +9701,8 @@ impl IInitializeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -9722,8 +9722,8 @@ impl IInitializeNetworkFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInitializeObject_Impl: Sized { @@ -9739,8 +9739,8 @@ impl IInitializeObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -9760,8 +9760,8 @@ impl IInitializeWithBindCtx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInitializeWithItem_Impl: Sized { @@ -9777,8 +9777,8 @@ impl IInitializeWithItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -9798,8 +9798,8 @@ impl IInitializeWithPropertyStore_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInitializeWithWindow_Impl: Sized { @@ -9815,8 +9815,8 @@ impl IInitializeWithWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -9853,8 +9853,8 @@ impl IInputObject_Vtbl { TranslateAcceleratorIO: TranslateAcceleratorIO::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -9874,8 +9874,8 @@ impl IInputObject2_Vtbl { } Self { base__: IInputObject_Vtbl::new::(), TranslateAcceleratorGlobal: TranslateAcceleratorGlobal:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInputObjectSite_Impl: Sized { @@ -9891,8 +9891,8 @@ impl IInputObjectSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnFocusChangeIS: OnFocusChangeIS:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_DirectComposition\"`"] @@ -9912,8 +9912,8 @@ impl IInputPaneAnimationCoordinator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAnimation: AddAnimation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInputPanelConfiguration_Impl: Sized { @@ -9929,8 +9929,8 @@ impl IInputPanelConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableFocusTracking: EnableFocusTracking:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInputPanelInvocationConfiguration_Impl: Sized { @@ -9946,8 +9946,8 @@ impl IInputPanelInvocationConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequireTouchInEditControl: RequireTouchInEditControl:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -9967,8 +9967,8 @@ impl IInsertItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InsertItem: InsertItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IItemNameLimits_Impl: Sized { @@ -10000,8 +10000,8 @@ impl IItemNameLimits_Vtbl { GetMaxLength: GetMaxLength::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -10116,8 +10116,8 @@ impl IKnownFolder_Vtbl { GetFolderDefinition: GetFolderDefinition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -10239,8 +10239,8 @@ impl IKnownFolderManager_Vtbl { Redirect: Redirect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchSourceAppUserModelId_Impl: Sized { @@ -10262,8 +10262,8 @@ impl ILaunchSourceAppUserModelId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppUserModelId: GetAppUserModelId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchSourceViewSizePreference_Impl: Sized { @@ -10301,8 +10301,8 @@ impl ILaunchSourceViewSizePreference_Vtbl { GetSourceViewSizePreference: GetSourceViewSizePreference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -10328,8 +10328,8 @@ impl ILaunchTargetMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMonitor: GetMonitor:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchTargetViewSizePreference_Impl: Sized { @@ -10354,8 +10354,8 @@ impl ILaunchTargetViewSizePreference_Vtbl { GetTargetViewSizePreference: GetTargetViewSizePreference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchUIContext_Impl: Sized { @@ -10381,8 +10381,8 @@ impl ILaunchUIContext_Vtbl { SetTabGroupingPreference: SetTabGroupingPreference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ILaunchUIContextProvider_Impl: Sized { @@ -10398,8 +10398,8 @@ impl ILaunchUIContextProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateContext: UpdateContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -10429,8 +10429,8 @@ impl IMenuBand_Vtbl { TranslateMenuMessage: TranslateMenuMessage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -10467,8 +10467,8 @@ impl IMenuPopup_Vtbl { SetSubMenu: SetSubMenu::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IModalWindow_Impl: Sized { @@ -10484,8 +10484,8 @@ impl IModalWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -10534,8 +10534,8 @@ impl INameSpaceTreeAccessible_Vtbl { OnGetAccessibilityRole: OnGetAccessibilityRole::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INameSpaceTreeControl_Impl: Sized { @@ -10728,8 +10728,8 @@ impl INameSpaceTreeControl_Vtbl { CollapseAll: CollapseAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INameSpaceTreeControl2_Impl: Sized + INameSpaceTreeControl_Impl { @@ -10781,8 +10781,8 @@ impl INameSpaceTreeControl2_Vtbl { GetControlStyle2: GetControlStyle2::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`"] @@ -10832,8 +10832,8 @@ impl INameSpaceTreeControlCustomDraw_Vtbl { ItemPostPaint: ItemPostPaint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INameSpaceTreeControlDropHandler_Impl: Sized { @@ -10887,8 +10887,8 @@ impl INameSpaceTreeControlDropHandler_Vtbl { OnDragLeave: OnDragLeave::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INameSpaceTreeControlEvents_Impl: Sized { @@ -11026,8 +11026,8 @@ impl INameSpaceTreeControlEvents_Vtbl { OnGetDefaultIconIndex: OnGetDefaultIconIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INameSpaceTreeControlFolderCapabilities_Impl: Sized { @@ -11049,8 +11049,8 @@ impl INameSpaceTreeControlFolderCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFolderCapabilities: GetFolderCapabilities:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`"] @@ -11087,8 +11087,8 @@ impl INamedPropertyBag_Vtbl { RemovePropertyNPB: RemovePropertyNPB::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -11118,8 +11118,8 @@ impl INamespaceWalk_Vtbl { GetIDArrayResult: GetIDArrayResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -11163,8 +11163,8 @@ impl INamespaceWalkCB_Vtbl { InitializeProgressDialog: InitializeProgressDialog::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -11184,8 +11184,8 @@ impl INamespaceWalkCB2_Vtbl { } Self { base__: INamespaceWalkCB_Vtbl::new::(), WalkComplete: WalkComplete:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -11234,8 +11234,8 @@ impl INetworkFolderInternal_Vtbl { GetProvider: GetProvider::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -11271,8 +11271,8 @@ impl INewMenuClient_Vtbl { SelectAndEditItem: SelectAndEditItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INewShortcutHookA_Impl: Sized { @@ -11326,8 +11326,8 @@ impl INewShortcutHookA_Vtbl { GetExtension: GetExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait INewShortcutHookW_Impl: Sized { @@ -11381,8 +11381,8 @@ impl INewShortcutHookW_Vtbl { GetExtension: GetExtension::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -11408,8 +11408,8 @@ impl INewWDEvents_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), PassportAuthenticate: PassportAuthenticate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait INewWindowManager_Impl: Sized { @@ -11425,8 +11425,8 @@ impl INewWindowManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EvaluateNewWindow: EvaluateNewWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -11446,8 +11446,8 @@ impl INotifyReplica_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), YouAreAReplica: YouAreAReplica:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjMgr_Impl: Sized { @@ -11473,8 +11473,8 @@ impl IObjMgr_Vtbl { Remove: Remove::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectProvider_Impl: Sized { @@ -11490,8 +11490,8 @@ impl IObjectProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryObject: QueryObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithAppUserModelID_Impl: Sized { @@ -11523,8 +11523,8 @@ impl IObjectWithAppUserModelID_Vtbl { GetAppID: GetAppID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithBackReferences_Impl: Sized { @@ -11540,8 +11540,8 @@ impl IObjectWithBackReferences_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveBackReferences: RemoveBackReferences:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithCancelEvent_Impl: Sized { @@ -11563,8 +11563,8 @@ impl IObjectWithCancelEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCancelEvent: GetCancelEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithFolderEnumMode_Impl: Sized { @@ -11596,8 +11596,8 @@ impl IObjectWithFolderEnumMode_Vtbl { GetMode: GetMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithProgID_Impl: Sized { @@ -11629,8 +11629,8 @@ impl IObjectWithProgID_Vtbl { GetProgID: GetProgID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IObjectWithSelection_Impl: Sized { @@ -11656,8 +11656,8 @@ impl IObjectWithSelection_Vtbl { GetSelection: GetSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenControlPanel_Impl: Sized { @@ -11696,8 +11696,8 @@ impl IOpenControlPanel_Vtbl { GetCurrentView: GetCurrentView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenSearchSource_Impl: Sized { @@ -11713,8 +11713,8 @@ impl IOpenSearchSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResults: GetResults:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -11813,8 +11813,8 @@ impl IOperationsProgressDialog_Vtbl { GetOperationStatus: GetOperationStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPackageDebugSettings_Impl: Sized { @@ -11943,8 +11943,8 @@ impl IPackageDebugSettings_Vtbl { UnregisterForPackageStateChanges: UnregisterForPackageStateChanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPackageDebugSettings2_Impl: Sized + IPackageDebugSettings_Impl { @@ -11960,8 +11960,8 @@ impl IPackageDebugSettings2_Vtbl { } Self { base__: IPackageDebugSettings_Vtbl::new::(), EnumerateApps: EnumerateApps:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPackageExecutionStateChangeNotification_Impl: Sized { @@ -11977,8 +11977,8 @@ impl IPackageExecutionStateChangeNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStateChanged: OnStateChanged:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -12008,8 +12008,8 @@ impl IParentAndItem_Vtbl { GetParentAndItem: GetParentAndItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IParseAndCreateItem_Impl: Sized { @@ -12035,8 +12035,8 @@ impl IParseAndCreateItem_Vtbl { GetItem: GetItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -12056,8 +12056,8 @@ impl IPersistFolder_Vtbl { } Self { base__: super::super::System::Com::IPersist_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -12083,8 +12083,8 @@ impl IPersistFolder2_Vtbl { } Self { base__: IPersistFolder_Vtbl::new::(), GetCurFolder: GetCurFolder:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -12114,8 +12114,8 @@ impl IPersistFolder3_Vtbl { GetFolderTargetInfo: GetFolderTargetInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -12151,8 +12151,8 @@ impl IPersistIDList_Vtbl { GetIDList: GetIDList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -12223,8 +12223,8 @@ impl IPreviewHandler_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -12260,8 +12260,8 @@ impl IPreviewHandlerFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -12298,8 +12298,8 @@ impl IPreviewHandlerVisuals_Vtbl { SetTextColor: SetTextColor::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -12312,8 +12312,8 @@ impl IPreviewItem_Vtbl { pub const fn new, Impl: IPreviewItem_Impl, const OFFSET: isize>() -> IPreviewItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPreviousVersionsInfo_Impl: Sized { @@ -12335,8 +12335,8 @@ impl IPreviousVersionsInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreSnapshotsAvailable: AreSnapshotsAvailable:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -12372,8 +12372,8 @@ impl IProfferService_Vtbl { RevokeService: RevokeService::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IProgressDialog_Impl: Sized { @@ -12455,8 +12455,8 @@ impl IProgressDialog_Vtbl { Timer: Timer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -12520,8 +12520,8 @@ impl IPropertyKeyStore_Vtbl { RemoveKey: RemoveKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPublishedApp_Impl: Sized + IShellApp_Impl { @@ -12554,8 +12554,8 @@ impl IPublishedApp_Vtbl { Unschedule: Unschedule::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPublishedApp2_Impl: Sized + IPublishedApp_Impl { @@ -12571,8 +12571,8 @@ impl IPublishedApp2_Vtbl { } Self { base__: IPublishedApp_Vtbl::new::(), Install2: Install2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`"] @@ -12602,8 +12602,8 @@ impl IPublishingWizard_Vtbl { GetTransferManifest: GetTransferManifest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`"] @@ -12660,8 +12660,8 @@ impl IQueryAssociations_Vtbl { GetEnum: GetEnum::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IQueryCancelAutoPlay_Impl: Sized { @@ -12677,8 +12677,8 @@ impl IQueryCancelAutoPlay_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowAutoPlay: AllowAutoPlay:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IQueryCodePage_Impl: Sized { @@ -12710,8 +12710,8 @@ impl IQueryCodePage_Vtbl { SetCodePage: SetCodePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IQueryContinue_Impl: Sized { @@ -12727,8 +12727,8 @@ impl IQueryContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IQueryContinueWithStatus_Impl: Sized + IQueryContinue_Impl { @@ -12744,8 +12744,8 @@ impl IQueryContinueWithStatus_Vtbl { } Self { base__: IQueryContinue_Vtbl::new::(), SetStatusMessage: SetStatusMessage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IQueryInfo_Impl: Sized { @@ -12783,8 +12783,8 @@ impl IQueryInfo_Vtbl { GetInfoFlags: GetInfoFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRegTreeItem_Impl: Sized { @@ -12816,8 +12816,8 @@ impl IRegTreeItem_Vtbl { SetCheckState: SetCheckState::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -12859,8 +12859,8 @@ impl IRelatedItem_Vtbl { GetItem: GetItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRemoteComputer_Impl: Sized { @@ -12876,8 +12876,8 @@ impl IRemoteComputer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IResolveShellLink_Impl: Sized { @@ -12893,8 +12893,8 @@ impl IResolveShellLink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveShellLink: ResolveShellLink:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -12945,8 +12945,8 @@ impl IResultsFolder_Vtbl { RemoveAll: RemoveAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRunnableTask_Impl: Sized { @@ -12993,8 +12993,8 @@ impl IRunnableTask_Vtbl { IsRunning: IsRunning::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13168,8 +13168,8 @@ impl IScriptErrorList_Vtbl { setPerErrorDisplay: setPerErrorDisplay::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISearchBoxInfo_Impl: Sized { @@ -13201,8 +13201,8 @@ impl ISearchBoxInfo_Vtbl { GetText: GetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISearchContext_Impl: Sized { @@ -13253,8 +13253,8 @@ impl ISearchContext_Vtbl { GetSearchStyle: GetSearchStyle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Search\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -13360,8 +13360,8 @@ impl ISearchFolderItemFactory_Vtbl { GetIDList: GetIDList::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -13436,8 +13436,8 @@ impl ISharedBitmap_Vtbl { Detach: Detach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISharingConfigurationManager_Impl: Sized { @@ -13504,8 +13504,8 @@ impl ISharingConfigurationManager_Vtbl { ArePrintersShared: ArePrintersShared::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellApp_Impl: Sized { @@ -13558,8 +13558,8 @@ impl IShellApp_Vtbl { IsInstalled: IsInstalled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -13684,8 +13684,8 @@ impl IShellBrowser_Vtbl { SetToolbarItems: SetToolbarItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -13705,8 +13705,8 @@ impl IShellChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -13736,8 +13736,8 @@ impl IShellDetails_Vtbl { ColumnClick: ColumnClick::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -13944,8 +13944,8 @@ impl IShellDispatch_Vtbl { ControlPanelItem: ControlPanelItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14066,8 +14066,8 @@ impl IShellDispatch2_Vtbl { ShowBrowserBar: ShowBrowserBar::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14087,8 +14087,8 @@ impl IShellDispatch3_Vtbl { } Self { base__: IShellDispatch2_Vtbl::new::(), AddToRecent: AddToRecent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14144,8 +14144,8 @@ impl IShellDispatch4_Vtbl { GetSetting: GetSetting::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14165,8 +14165,8 @@ impl IShellDispatch5_Vtbl { } Self { base__: IShellDispatch4_Vtbl::new::(), WindowSwitcher: WindowSwitcher:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14186,8 +14186,8 @@ impl IShellDispatch6_Vtbl { } Self { base__: IShellDispatch5_Vtbl::new::(), SearchCommand: SearchCommand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`"] @@ -14207,8 +14207,8 @@ impl IShellExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14333,8 +14333,8 @@ impl IShellFavoritesNameSpace_Vtbl { SetRoot: SetRoot::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -14420,8 +14420,8 @@ impl IShellFolder_Vtbl { SetNameOf: SetNameOf::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -14510,8 +14510,8 @@ impl IShellFolder2_Vtbl { MapColumnToSCID: MapColumnToSCID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -14548,8 +14548,8 @@ impl IShellFolderBand_Vtbl { GetBandInfoSFB: GetBandInfoSFB::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`"] @@ -14827,8 +14827,8 @@ impl IShellFolderView_Vtbl { SetAutomationObject: SetAutomationObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellFolderViewCB_Impl: Sized { @@ -14844,8 +14844,8 @@ impl IShellFolderViewCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageSFVCB: MessageSFVCB:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -14972,8 +14972,8 @@ impl IShellFolderViewDual_Vtbl { ViewOptions: ViewOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15016,8 +15016,8 @@ impl IShellFolderViewDual2_Vtbl { SelectItemRelative: SelectItemRelative::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -15120,8 +15120,8 @@ impl IShellFolderViewDual3_Vtbl { FilterView: FilterView::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -15147,8 +15147,8 @@ impl IShellIcon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIconOf: GetIconOf:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -15178,8 +15178,8 @@ impl IShellIconOverlay_Vtbl { GetOverlayIconIndex: GetOverlayIconIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellIconOverlayIdentifier_Impl: Sized { @@ -15218,8 +15218,8 @@ impl IShellIconOverlayIdentifier_Vtbl { GetPriority: GetPriority::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellIconOverlayManager_Impl: Sized { @@ -15266,8 +15266,8 @@ impl IShellIconOverlayManager_Vtbl { OverlayIndexFromImageIndex: OverlayIndexFromImageIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Graphics_GdiPlus\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -15505,8 +15505,8 @@ impl IShellImageData_Vtbl { ReplaceFrame: ReplaceFrame::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellImageDataAbort_Impl: Sized { @@ -15522,8 +15522,8 @@ impl IShellImageDataAbort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryAbort: QueryAbort:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -15591,8 +15591,8 @@ impl IShellImageDataFactory_Vtbl { GetDataFormatFromPath: GetDataFormatFromPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`"] @@ -15667,8 +15667,8 @@ impl IShellItem_Vtbl { Compare: Compare::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_SystemServices\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -15823,8 +15823,8 @@ impl IShellItem2_Vtbl { GetBool: GetBool::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -15913,8 +15913,8 @@ impl IShellItemArray_Vtbl { EnumItems: EnumItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellItemFilter_Impl: Sized { @@ -15946,8 +15946,8 @@ impl IShellItemFilter_Vtbl { GetEnumFlagsForItem: GetEnumFlagsForItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -15973,8 +15973,8 @@ impl IShellItemImageFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetImage: GetImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellItemResources_Impl: Sized { @@ -16080,8 +16080,8 @@ impl IShellItemResources_Vtbl { MarkForDelete: MarkForDelete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellLibrary_Impl: Sized { @@ -16242,8 +16242,8 @@ impl IShellLibrary_Vtbl { SaveInKnownFolder: SaveInKnownFolder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -16403,8 +16403,8 @@ impl IShellLinkA_Vtbl { SetPath: SetPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellLinkDataList_Impl: Sized { @@ -16457,8 +16457,8 @@ impl IShellLinkDataList_Vtbl { SetFlags: SetFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16622,8 +16622,8 @@ impl IShellLinkDual_Vtbl { Save: Save::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -16649,8 +16649,8 @@ impl IShellLinkDual2_Vtbl { } Self { base__: IShellLinkDual_Vtbl::new::(), Target: Target:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -16810,8 +16810,8 @@ impl IShellLinkW_Vtbl { SetPath: SetPath::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -16890,8 +16890,8 @@ impl IShellMenu_Vtbl { SetMenuToolbar: SetMenuToolbar::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -16911,8 +16911,8 @@ impl IShellMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallbackSM: CallbackSM:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17135,8 +17135,8 @@ impl IShellNameSpace_Vtbl { UnselectAll: UnselectAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -17166,8 +17166,8 @@ impl IShellPropSheetExt_Vtbl { ReplacePage: ReplacePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellRunDll_Impl: Sized { @@ -17183,8 +17183,8 @@ impl IShellRunDll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellService_Impl: Sized { @@ -17200,8 +17200,8 @@ impl IShellService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetOwner: SetOwner:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IShellTaskScheduler_Impl: Sized { @@ -17241,8 +17241,8 @@ impl IShellTaskScheduler_Vtbl { Status: Status::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17361,8 +17361,8 @@ impl IShellUIHelper_Vtbl { ShowBrowserUI: ShowBrowserUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17538,8 +17538,8 @@ impl IShellUIHelper2_Vtbl { SearchGuideUrl: SearchGuideUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17664,8 +17664,8 @@ impl IShellUIHelper3_Vtbl { ShowInPrivateHelp: ShowInPrivateHelp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17843,8 +17843,8 @@ impl IShellUIHelper4_Vtbl { msActiveXFilteringEnabled: msActiveXFilteringEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -17915,8 +17915,8 @@ impl IShellUIHelper5_Vtbl { msChangeDefaultBrowser: msChangeDefaultBrowser::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18036,8 +18036,8 @@ impl IShellUIHelper6_Vtbl { msLaunchInternetOptions: msLaunchInternetOptions::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18140,8 +18140,8 @@ impl IShellUIHelper7_Vtbl { LaunchIE: LaunchIE::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18230,8 +18230,8 @@ impl IShellUIHelper8_Vtbl { LaunchInHVSI: LaunchInHVSI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18257,8 +18257,8 @@ impl IShellUIHelper9_Vtbl { } Self { base__: IShellUIHelper8_Vtbl::new::(), GetOSSku: GetOSSku:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -18363,8 +18363,8 @@ impl IShellView_Vtbl { GetItemObject: GetItemObject::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -18408,8 +18408,8 @@ impl IShellView2_Vtbl { SelectAndPositionItem: SelectAndPositionItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -18435,8 +18435,8 @@ impl IShellView3_Vtbl { } Self { base__: IShellView2_Vtbl::new::(), CreateViewWindow3: CreateViewWindow3:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -18559,8 +18559,8 @@ impl IShellWindows_Vtbl { ProcessAttachDetach: ProcessAttachDetach::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -18609,8 +18609,8 @@ impl ISortColumnArray_Vtbl { GetSortType: GetSortType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStartMenuPinnedList_Impl: Sized { @@ -18626,8 +18626,8 @@ impl IStartMenuPinnedList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveFromList: RemoveFromList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderBanners_Impl: Sized { @@ -18673,8 +18673,8 @@ impl IStorageProviderBanners_Vtbl { GetBanner: GetBanner::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderCopyHook_Impl: Sized { @@ -18696,8 +18696,8 @@ impl IStorageProviderCopyHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IStorageProviderHandler_Impl: Sized { @@ -18748,8 +18748,8 @@ impl IStorageProviderHandler_Vtbl { GetPropertyHandlerFromFileId: GetPropertyHandlerFromFileId::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -18785,8 +18785,8 @@ impl IStorageProviderPropertyHandler_Vtbl { SaveProperties: SaveProperties::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_IO\"`"] @@ -18830,8 +18830,8 @@ impl IStreamAsync_Vtbl { CancelIo: CancelIo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IStreamUnbufferedInfo_Impl: Sized { @@ -18853,8 +18853,8 @@ impl IStreamUnbufferedInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSectorSize: GetSectorSize:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISuspensionDependencyManager_Impl: Sized { @@ -18887,8 +18887,8 @@ impl ISuspensionDependencyManager_Vtbl { UngroupChildFromParent: UngroupChildFromParent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -18957,8 +18957,8 @@ impl ISyncMgrConflict_Vtbl { GetResolutionHandler: GetResolutionHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -18984,8 +18984,8 @@ impl ISyncMgrConflictFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConflictIDList: GetConflictIDList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrConflictItems_Impl: Sized { @@ -19017,8 +19017,8 @@ impl ISyncMgrConflictItems_Vtbl { GetItem: GetItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrConflictPresenter_Impl: Sized { @@ -19034,8 +19034,8 @@ impl ISyncMgrConflictPresenter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PresentConflict: PresentConflict:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrConflictResolutionItems_Impl: Sized { @@ -19073,8 +19073,8 @@ impl ISyncMgrConflictResolutionItems_Vtbl { GetItem: GetItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrConflictResolveInfo_Impl: Sized { @@ -19160,8 +19160,8 @@ impl ISyncMgrConflictResolveInfo_Vtbl { SetItemChoices: SetItemChoices::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -19217,8 +19217,8 @@ impl ISyncMgrConflictStore_Vtbl { GetCount: GetCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrControl_Impl: Sized { @@ -19335,8 +19335,8 @@ impl ISyncMgrControl_Vtbl { EnableItem: EnableItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -19386,8 +19386,8 @@ impl ISyncMgrEnumItems_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrEvent_Impl: Sized { @@ -19542,8 +19542,8 @@ impl ISyncMgrEvent_Vtbl { GetContext: GetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrEventLinkUIOperation_Impl: Sized + ISyncMgrUIOperation_Impl { @@ -19559,8 +19559,8 @@ impl ISyncMgrEventLinkUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), Init: Init:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncMgrEventStore_Impl: Sized { @@ -19618,8 +19618,8 @@ impl ISyncMgrEventStore_Vtbl { RemoveEvent: RemoveEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrHandler_Impl: Sized { @@ -19711,8 +19711,8 @@ impl ISyncMgrHandler_Vtbl { Synchronize: Synchronize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -19748,8 +19748,8 @@ impl ISyncMgrHandlerCollection_Vtbl { BindToHandler: BindToHandler::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrHandlerInfo_Impl: Sized { @@ -19834,8 +19834,8 @@ impl ISyncMgrHandlerInfo_Vtbl { IsConnected: IsConnected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrRegister_Impl: Sized { @@ -19868,8 +19868,8 @@ impl ISyncMgrRegister_Vtbl { GetHandlerRegistrationInfo: GetHandlerRegistrationInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrResolutionHandler_Impl: Sized { @@ -19946,8 +19946,8 @@ impl ISyncMgrResolutionHandler_Vtbl { KeepItems: KeepItems::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrScheduleWizardUIOperation_Impl: Sized + ISyncMgrUIOperation_Impl { @@ -19963,8 +19963,8 @@ impl ISyncMgrScheduleWizardUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), InitWizard: InitWizard:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ISyncMgrSessionCreator_Impl: Sized { @@ -19986,8 +19986,8 @@ impl ISyncMgrSessionCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -20079,8 +20079,8 @@ impl ISyncMgrSyncCallback_Vtbl { ReportManualSync: ReportManualSync::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSyncItem_Impl: Sized { @@ -20178,8 +20178,8 @@ impl ISyncMgrSyncItem_Vtbl { Delete: Delete::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSyncItemContainer_Impl: Sized { @@ -20230,8 +20230,8 @@ impl ISyncMgrSyncItemContainer_Vtbl { GetSyncItemCount: GetSyncItemCount::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSyncItemInfo_Impl: Sized { @@ -20296,8 +20296,8 @@ impl ISyncMgrSyncItemInfo_Vtbl { IsConnected: IsConnected::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSyncResult_Impl: Sized { @@ -20313,8 +20313,8 @@ impl ISyncMgrSyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Result: Result:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -20412,8 +20412,8 @@ impl ISyncMgrSynchronize_Vtbl { ShowError: ShowError::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSynchronizeCallback_Impl: Sized { @@ -20488,8 +20488,8 @@ impl ISyncMgrSynchronizeCallback_Vtbl { EstablishConnection: EstablishConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrSynchronizeInvoke_Impl: Sized { @@ -20515,8 +20515,8 @@ impl ISyncMgrSynchronizeInvoke_Vtbl { UpdateAll: UpdateAll::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISyncMgrUIOperation_Impl: Sized { @@ -20532,8 +20532,8 @@ impl ISyncMgrUIOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITaskbarList_Impl: Sized { @@ -20580,8 +20580,8 @@ impl ITaskbarList_Vtbl { SetActiveAlt: SetActiveAlt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITaskbarList2_Impl: Sized + ITaskbarList_Impl { @@ -20597,8 +20597,8 @@ impl ITaskbarList2_Vtbl { } Self { base__: ITaskbarList_Vtbl::new::(), MarkFullscreenWindow: MarkFullscreenWindow:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -20698,8 +20698,8 @@ impl ITaskbarList3_Vtbl { SetThumbnailClip: SetThumbnailClip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -20719,8 +20719,8 @@ impl ITaskbarList4_Vtbl { } Self { base__: ITaskbarList3_Vtbl::new::(), SetTabProperties: SetTabProperties:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IThumbnailCache_Impl: Sized { @@ -20746,8 +20746,8 @@ impl IThumbnailCache_Vtbl { GetThumbnailByID: GetThumbnailByID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IThumbnailCachePrimer_Impl: Sized { @@ -20763,8 +20763,8 @@ impl IThumbnailCachePrimer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PageInThumbnail: PageInThumbnail:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -20790,8 +20790,8 @@ impl IThumbnailCapture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CaptureThumbnail: CaptureThumbnail:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -20811,8 +20811,8 @@ impl IThumbnailHandlerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnailHandler: GetThumbnailHandler:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -20832,8 +20832,8 @@ impl IThumbnailProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnail: GetThumbnail:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IThumbnailSettings_Impl: Sized { @@ -20849,8 +20849,8 @@ impl IThumbnailSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetContext: SetContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -20880,8 +20880,8 @@ impl IThumbnailStreamCache_Vtbl { SetThumbnailStream: SetThumbnailStream::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -20911,8 +20911,8 @@ impl ITrackShellMenu_Vtbl { Popup: Popup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -20932,8 +20932,8 @@ impl ITranscodeImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TranscodeImage: TranscodeImage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -20998,8 +20998,8 @@ impl ITransferAdviseSink_Vtbl { PropertyFailure: PropertyFailure::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITransferDestination_Impl: Sized { @@ -21038,8 +21038,8 @@ impl ITransferDestination_Vtbl { CreateItem: CreateItem::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -21052,8 +21052,8 @@ impl ITransferMediumItem_Vtbl { pub const fn new, Impl: ITransferMediumItem_Impl, const OFFSET: isize>() -> ITransferMediumItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_PropertiesSystem\"`"] @@ -21202,8 +21202,8 @@ impl ITransferSource_Vtbl { LeaveFolder: LeaveFolder::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -21246,8 +21246,8 @@ impl ITravelEntry_Vtbl { GetPidl: GetPidl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`"] @@ -21352,8 +21352,8 @@ impl ITravelLog_Vtbl { Revert: Revert::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -21396,8 +21396,8 @@ impl ITravelLogClient_Vtbl { LoadHistoryPosition: LoadHistoryPosition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITravelLogEntry_Impl: Sized { @@ -21435,8 +21435,8 @@ impl ITravelLogEntry_Vtbl { GetURL: GetURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITravelLogStg_Impl: Sized { @@ -21527,8 +21527,8 @@ impl ITravelLogStg_Vtbl { GetRelativeEntry: GetRelativeEntry::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITrayDeskBand_Impl: Sized { @@ -21568,8 +21568,8 @@ impl ITrayDeskBand_Vtbl { DeskBandRegistrationChanged: DeskBandRegistrationChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IURLSearchHook_Impl: Sized { @@ -21585,8 +21585,8 @@ impl IURLSearchHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Translate: Translate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IURLSearchHook2_Impl: Sized + IURLSearchHook_Impl { @@ -21602,8 +21602,8 @@ impl IURLSearchHook2_Vtbl { } Self { base__: IURLSearchHook_Vtbl::new::(), TranslateWithSearchContext: TranslateWithSearchContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUniformResourceLocatorA_Impl: Sized { @@ -21642,8 +21642,8 @@ impl IUniformResourceLocatorA_Vtbl { InvokeCommand: InvokeCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUniformResourceLocatorW_Impl: Sized { @@ -21682,8 +21682,8 @@ impl IUniformResourceLocatorW_Vtbl { InvokeCommand: InvokeCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`"] @@ -21709,8 +21709,8 @@ impl IUpdateIDList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -21723,8 +21723,8 @@ impl IUseToBrowseItem_Vtbl { pub const fn new, Impl: IUseToBrowseItem_Impl, const OFFSET: isize>() -> IUseToBrowseItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUserAccountChangeCallback_Impl: Sized { @@ -21740,8 +21740,8 @@ impl IUserAccountChangeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPictureChange: OnPictureChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -21792,8 +21792,8 @@ impl IUserNotification_Vtbl { PlaySound: PlaySound::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -21844,8 +21844,8 @@ impl IUserNotification2_Vtbl { PlaySound: PlaySound::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUserNotificationCallback_Impl: Sized { @@ -21878,8 +21878,8 @@ impl IUserNotificationCallback_Vtbl { OnContextMenu: OnContextMenu::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Shell_Common\"`"] @@ -21892,8 +21892,8 @@ impl IViewStateIdentityItem_Vtbl { pub const fn new, Impl: IViewStateIdentityItem_Impl, const OFFSET: isize>() -> IViewStateIdentityItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IVirtualDesktopManager_Impl: Sized { @@ -21938,8 +21938,8 @@ impl IVirtualDesktopManager_Vtbl { MoveWindowToDesktop: MoveWindowToDesktop::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -22023,8 +22023,8 @@ impl IVisualProperties_Vtbl { SetTheme: SetTheme::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22293,8 +22293,8 @@ impl IWebBrowser_Vtbl { Busy: Busy::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22497,8 +22497,8 @@ impl IWebBrowser2_Vtbl { SetResizable: SetResizable::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22720,8 +22720,8 @@ impl IWebBrowserApp_Vtbl { SetFullScreen: SetFullScreen::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -22751,8 +22751,8 @@ impl IWebWizardExtension_Vtbl { SetErrorURL: SetErrorURL::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22843,8 +22843,8 @@ impl IWebWizardHost_Vtbl { SetHeaderText: SetHeaderText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -22870,8 +22870,8 @@ impl IWebWizardHost2_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), SignString: SignString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -22920,8 +22920,8 @@ impl IWizardExtension_Vtbl { GetLastPage: GetLastPage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_Controls\"`"] @@ -22976,7 +22976,7 @@ impl IWizardSite_Vtbl { GetCancelledPage: GetCancelledPage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs index 27543b9154..6b15ea9984 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs @@ -152,8 +152,8 @@ impl IDynamicRenderer_Vtbl { Draw: Draw::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IGestureRecognizer_Impl: Sized { @@ -219,8 +219,8 @@ impl IGestureRecognizer_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -250,8 +250,8 @@ impl IHandwrittenTextInsertion_Vtbl { InsertInkRecognitionResult: InsertInkRecognitionResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -264,8 +264,8 @@ impl IInk_Vtbl { pub const fn new, Impl: IInk_Impl, const OFFSET: isize>() -> IInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -675,8 +675,8 @@ impl IInkCollector_Vtbl { SetEventInterest: SetEventInterest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -777,8 +777,8 @@ impl IInkCursor_Vtbl { Buttons: Buttons::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -833,8 +833,8 @@ impl IInkCursorButton_Vtbl { State: State::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -889,8 +889,8 @@ impl IInkCursorButtons_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -945,8 +945,8 @@ impl IInkCursors_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1022,8 +1022,8 @@ impl IInkCustomStrokes_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1316,8 +1316,8 @@ impl IInkDisp_Vtbl { ClipboardPaste: ClipboardPaste::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1406,8 +1406,8 @@ impl IInkDivider_Vtbl { Divide: Divide::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1449,8 +1449,8 @@ impl IInkDivisionResult_Vtbl { ResultByType: ResultByType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1518,8 +1518,8 @@ impl IInkDivisionUnit_Vtbl { RotationTransform: RotationTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1574,8 +1574,8 @@ impl IInkDivisionUnits_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1797,8 +1797,8 @@ impl IInkDrawingAttributes_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2581,8 +2581,8 @@ impl IInkEdit_Vtbl { Refresh: Refresh::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2677,8 +2677,8 @@ impl IInkExtendedProperties_Vtbl { DoesPropertyExist: DoesPropertyExist::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2727,8 +2727,8 @@ impl IInkExtendedProperty_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2777,8 +2777,8 @@ impl IInkGesture_Vtbl { GetHotPoint: GetHotPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInkLineInfo_Impl: Sized { @@ -2832,8 +2832,8 @@ impl IInkLineInfo_Vtbl { Recognize: Recognize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3383,8 +3383,8 @@ impl IInkOverlay_Vtbl { SetEventInterest: SetEventInterest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3987,8 +3987,8 @@ impl IInkPicture_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4187,8 +4187,8 @@ impl IInkRecognitionAlternate_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4256,8 +4256,8 @@ impl IInkRecognitionAlternates_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4352,8 +4352,8 @@ impl IInkRecognitionResult_Vtbl { SetResultOnStrokes: SetResultOnStrokes::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4460,8 +4460,8 @@ impl IInkRecognizer_Vtbl { CreateRecognizerContext: CreateRecognizerContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4503,8 +4503,8 @@ impl IInkRecognizer2_Vtbl { UnicodeRanges: UnicodeRanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4754,8 +4754,8 @@ impl IInkRecognizerContext_Vtbl { IsStringSupported: IsStringSupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4791,8 +4791,8 @@ impl IInkRecognizerContext2_Vtbl { SetEnabledUnicodeRanges: SetEnabledUnicodeRanges::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4922,8 +4922,8 @@ impl IInkRecognizerGuide_Vtbl { SetGuideData: SetGuideData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -4991,8 +4991,8 @@ impl IInkRecognizers_Vtbl { Item: Item::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5122,8 +5122,8 @@ impl IInkRectangle_Vtbl { SetRectangle: SetRectangle::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5256,8 +5256,8 @@ impl IInkRenderer_Vtbl { ScaleTransform: ScaleTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5642,8 +5642,8 @@ impl IInkStrokeDisp_Vtbl { ScaleTransform: ScaleTransform::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5841,8 +5841,8 @@ impl IInkStrokes_Vtbl { RemoveRecognitionResult: RemoveRecognitionResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5930,8 +5930,8 @@ impl IInkTablet_Vtbl { GetPropertyMetrics: GetPropertyMetrics::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -5957,8 +5957,8 @@ impl IInkTablet2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeviceKind: DeviceKind:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6000,8 +6000,8 @@ impl IInkTablet3_Vtbl { MaximumCursors: MaximumCursors::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6082,8 +6082,8 @@ impl IInkTablets_Vtbl { IsPacketPropertySupported: IsPacketPropertySupported::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6289,8 +6289,8 @@ impl IInkTransform_Vtbl { SetData: SetData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6327,8 +6327,8 @@ impl IInkWordList_Vtbl { Merge: Merge::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6348,8 +6348,8 @@ impl IInkWordList2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), AddWords: AddWords:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInputPanelWindowHandle_Impl: Sized { @@ -6401,8 +6401,8 @@ impl IInputPanelWindowHandle_Vtbl { SetAttachedEditWindow64: SetAttachedEditWindow64::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6555,8 +6555,8 @@ impl IMathInputControl_Vtbl { GetHoverIcon: GetHoverIcon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6825,8 +6825,8 @@ impl IPenInputPanel_Vtbl { EnableTsf: EnableTsf::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7137,8 +7137,8 @@ impl IRealTimeStylus_Vtbl { GetPacketDescriptionData: GetPacketDescriptionData::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRealTimeStylus2_Impl: Sized { @@ -7170,8 +7170,8 @@ impl IRealTimeStylus2_Vtbl { SetFlicksEnabled: SetFlicksEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRealTimeStylus3_Impl: Sized { @@ -7203,8 +7203,8 @@ impl IRealTimeStylus3_Vtbl { SetMultiTouchEnabled: SetMultiTouchEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IRealTimeStylusSynchronization_Impl: Sized { @@ -7230,8 +7230,8 @@ impl IRealTimeStylusSynchronization_Vtbl { ReleaseLock: ReleaseLock::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7244,8 +7244,8 @@ impl ISketchInk_Vtbl { pub const fn new, Impl: ISketchInk_Impl, const OFFSET: isize>() -> ISketchInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7309,8 +7309,8 @@ impl IStrokeBuilder_Vtbl { putref_Ink: putref_Ink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7323,8 +7323,8 @@ impl IStylusAsyncPlugin_Vtbl { pub const fn new, Impl: IStylusAsyncPlugin_Impl, const OFFSET: isize>() -> IStylusAsyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7465,8 +7465,8 @@ impl IStylusPlugin_Vtbl { DataInterest: DataInterest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7479,8 +7479,8 @@ impl IStylusSyncPlugin_Vtbl { pub const fn new, Impl: IStylusSyncPlugin_Impl, const OFFSET: isize>() -> IStylusSyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITextInputPanel_Impl: Sized { @@ -7745,8 +7745,8 @@ impl ITextInputPanel_Vtbl { Unadvise: Unadvise::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -7846,8 +7846,8 @@ impl ITextInputPanelEventSink_Vtbl { TextInserted: TextInserted::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextInputPanelRunInfo_Impl: Sized { @@ -7869,8 +7869,8 @@ impl ITextInputPanelRunInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTipRunning: IsTipRunning:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITipAutoCompleteClient_Impl: Sized { @@ -7923,8 +7923,8 @@ impl ITipAutoCompleteClient_Vtbl { RequestShowUI: RequestShowUI::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITipAutoCompleteProvider_Impl: Sized { @@ -7950,8 +7950,8 @@ impl ITipAutoCompleteProvider_Vtbl { Show: Show::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7964,8 +7964,8 @@ impl _IInkCollectorEvents_Vtbl { pub const fn new, Impl: _IInkCollectorEvents_Impl, const OFFSET: isize>() -> _IInkCollectorEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkCollectorEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkCollectorEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7978,8 +7978,8 @@ impl _IInkEditEvents_Vtbl { pub const fn new, Impl: _IInkEditEvents_Impl, const OFFSET: isize>() -> _IInkEditEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkEditEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkEditEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -7992,8 +7992,8 @@ impl _IInkEvents_Vtbl { pub const fn new, Impl: _IInkEvents_Impl, const OFFSET: isize>() -> _IInkEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8006,8 +8006,8 @@ impl _IInkOverlayEvents_Vtbl { pub const fn new, Impl: _IInkOverlayEvents_Impl, const OFFSET: isize>() -> _IInkOverlayEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkOverlayEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkOverlayEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8020,8 +8020,8 @@ impl _IInkPictureEvents_Vtbl { pub const fn new, Impl: _IInkPictureEvents_Impl, const OFFSET: isize>() -> _IInkPictureEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkPictureEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkPictureEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8034,8 +8034,8 @@ impl _IInkRecognitionEvents_Vtbl { pub const fn new, Impl: _IInkRecognitionEvents_Impl, const OFFSET: isize>() -> _IInkRecognitionEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8048,8 +8048,8 @@ impl _IInkStrokesEvents_Vtbl { pub const fn new, Impl: _IInkStrokesEvents_Impl, const OFFSET: isize>() -> _IInkStrokesEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IInkStrokesEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IInkStrokesEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8062,8 +8062,8 @@ impl _IMathInputControlEvents_Vtbl { pub const fn new, Impl: _IMathInputControlEvents_Impl, const OFFSET: isize>() -> _IMathInputControlEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IMathInputControlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IMathInputControlEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -8076,7 +8076,7 @@ impl _IPenInputPanelEvents_Vtbl { pub const fn new, Impl: _IPenInputPanelEvents_Impl, const OFFSET: isize>() -> _IPenInputPanelEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == <_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &<_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs index 977bdf0241..c5ef2e2886 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs @@ -63,8 +63,8 @@ impl IAccClientDocMgr_Vtbl { GetFocused: GetFocused::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -133,8 +133,8 @@ impl IAccDictionary_Vtbl { ConvertValueToString: ConvertValueToString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAccServerDocMgr_Impl: Sized { @@ -167,8 +167,8 @@ impl IAccServerDocMgr_Vtbl { OnDocumentFocus: OnDocumentFocus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -257,8 +257,8 @@ impl IAccStore_Vtbl { GetFocused: GetFocused::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IAnchor_Impl: Sized { @@ -383,8 +383,8 @@ impl IAnchor_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IClonableWrapper_Impl: Sized { @@ -400,8 +400,8 @@ impl IClonableWrapper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CloneNewWrapper: CloneNewWrapper:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -421,8 +421,8 @@ impl ICoCreateLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CoCreateLocally: CoCreateLocally:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -442,8 +442,8 @@ impl ICoCreatedLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LocalInit: LocalInit:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IDocWrap_Impl: Sized { @@ -475,8 +475,8 @@ impl IDocWrap_Vtbl { GetWrappedDoc: GetWrappedDoc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumITfCompositionView_Impl: Sized { @@ -522,8 +522,8 @@ impl IEnumITfCompositionView_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSpeechCommands_Impl: Sized { @@ -569,8 +569,8 @@ impl IEnumSpeechCommands_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfCandidates_Impl: Sized { @@ -616,8 +616,8 @@ impl IEnumTfCandidates_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfContextViews_Impl: Sized { @@ -663,8 +663,8 @@ impl IEnumTfContextViews_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfContexts_Impl: Sized { @@ -710,8 +710,8 @@ impl IEnumTfContexts_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfDisplayAttributeInfo_Impl: Sized { @@ -757,8 +757,8 @@ impl IEnumTfDisplayAttributeInfo_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfDocumentMgrs_Impl: Sized { @@ -804,8 +804,8 @@ impl IEnumTfDocumentMgrs_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfFunctionProviders_Impl: Sized { @@ -851,8 +851,8 @@ impl IEnumTfFunctionProviders_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfInputProcessorProfiles_Impl: Sized { @@ -898,8 +898,8 @@ impl IEnumTfInputProcessorProfiles_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfLangBarItems_Impl: Sized { @@ -945,8 +945,8 @@ impl IEnumTfLangBarItems_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfLanguageProfiles_Impl: Sized { @@ -992,8 +992,8 @@ impl IEnumTfLanguageProfiles_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfLatticeElements_Impl: Sized { @@ -1039,8 +1039,8 @@ impl IEnumTfLatticeElements_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfProperties_Impl: Sized { @@ -1086,8 +1086,8 @@ impl IEnumTfProperties_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1137,8 +1137,8 @@ impl IEnumTfPropertyValue_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfRanges_Impl: Sized { @@ -1184,8 +1184,8 @@ impl IEnumTfRanges_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumTfUIElements_Impl: Sized { @@ -1231,8 +1231,8 @@ impl IEnumTfUIElements_Vtbl { Skip: Skip::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternalDocWrap_Impl: Sized { @@ -1248,8 +1248,8 @@ impl IInternalDocWrap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRevoke: NotifyRevoke:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISpeechCommandProvider_Impl: Sized { @@ -1281,8 +1281,8 @@ impl ISpeechCommandProvider_Vtbl { ProcessCommand: ProcessCommand::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1552,8 +1552,8 @@ impl ITextStoreACP_Vtbl { GetWnd: GetWnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1810,8 +1810,8 @@ impl ITextStoreACP2_Vtbl { GetScreenExt: GetScreenExt::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreACPEx_Impl: Sized { @@ -1827,8 +1827,8 @@ impl ITextStoreACPEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1878,8 +1878,8 @@ impl ITextStoreACPServices_Vtbl { CreateRange: CreateRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreACPSink_Impl: Sized { @@ -1947,8 +1947,8 @@ impl ITextStoreACPSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreACPSinkEx_Impl: Sized + ITextStoreACPSink_Impl { @@ -1964,8 +1964,8 @@ impl ITextStoreACPSinkEx_Vtbl { } Self { base__: ITextStoreACPSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2236,8 +2236,8 @@ impl ITextStoreAnchor_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreAnchorEx_Impl: Sized { @@ -2253,8 +2253,8 @@ impl ITextStoreAnchorEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreAnchorSink_Impl: Sized { @@ -2322,8 +2322,8 @@ impl ITextStoreAnchorSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITextStoreSinkAnchorEx_Impl: Sized + ITextStoreAnchorSink_Impl { @@ -2339,8 +2339,8 @@ impl ITextStoreSinkAnchorEx_Vtbl { } Self { base__: ITextStoreAnchorSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfActiveLanguageProfileNotifySink_Impl: Sized { @@ -2356,8 +2356,8 @@ impl ITfActiveLanguageProfileNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCandidateList_Impl: Sized { @@ -2415,8 +2415,8 @@ impl ITfCandidateList_Vtbl { SetResult: SetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCandidateListUIElement_Impl: Sized + ITfUIElement_Impl { @@ -2520,8 +2520,8 @@ impl ITfCandidateListUIElement_Vtbl { GetCurrentPage: GetCurrentPage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfCandidateListUIElementBehavior_Impl: Sized + ITfCandidateListUIElement_Impl { @@ -2554,8 +2554,8 @@ impl ITfCandidateListUIElementBehavior_Vtbl { Abort: Abort::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITfCandidateString_Impl: Sized { @@ -2593,8 +2593,8 @@ impl ITfCandidateString_Vtbl { GetIndex: GetIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2750,8 +2750,8 @@ impl ITfCategoryMgr_Vtbl { IsEqualTfGuidAtom: IsEqualTfGuidAtom::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCleanupContextDurationSink_Impl: Sized { @@ -2777,8 +2777,8 @@ impl ITfCleanupContextDurationSink_Vtbl { OnEndCleanupContext: OnEndCleanupContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCleanupContextSink_Impl: Sized { @@ -2794,8 +2794,8 @@ impl ITfCleanupContextSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCleanupContext: OnCleanupContext:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfClientId_Impl: Sized { @@ -2817,8 +2817,8 @@ impl ITfClientId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClientId: GetClientId:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -2854,8 +2854,8 @@ impl ITfCompartment_Vtbl { GetValue: GetValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCompartmentEventSink_Impl: Sized { @@ -2871,8 +2871,8 @@ impl ITfCompartmentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2921,8 +2921,8 @@ impl ITfCompartmentMgr_Vtbl { EnumCompartments: EnumCompartments::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfComposition_Impl: Sized { @@ -2968,8 +2968,8 @@ impl ITfComposition_Vtbl { EndComposition: EndComposition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCompositionSink_Impl: Sized { @@ -2985,8 +2985,8 @@ impl ITfCompositionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCompositionTerminated: OnCompositionTerminated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfCompositionView_Impl: Sized { @@ -3024,8 +3024,8 @@ impl ITfCompositionView_Vtbl { GetRange: GetRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfConfigureSystemKeystrokeFeed_Impl: Sized { @@ -3051,8 +3051,8 @@ impl ITfConfigureSystemKeystrokeFeed_Vtbl { EnableSystemKeystrokeFeed: EnableSystemKeystrokeFeed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfContext_Impl: Sized { @@ -3247,8 +3247,8 @@ impl ITfContext_Vtbl { CreateRangeBackup: CreateRangeBackup::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfContextComposition_Impl: Sized { @@ -3312,8 +3312,8 @@ impl ITfContextComposition_Vtbl { TakeOwnership: TakeOwnership::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfContextKeyEventSink_Impl: Sized { @@ -3377,8 +3377,8 @@ impl ITfContextKeyEventSink_Vtbl { OnTestKeyUp: OnTestKeyUp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3466,8 +3466,8 @@ impl ITfContextOwner_Vtbl { GetAttribute: GetAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfContextOwnerCompositionServices_Impl: Sized + ITfContextComposition_Impl { @@ -3483,8 +3483,8 @@ impl ITfContextOwnerCompositionServices_Vtbl { } Self { base__: ITfContextComposition_Vtbl::new::(), TerminateComposition: TerminateComposition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfContextOwnerCompositionSink_Impl: Sized { @@ -3523,8 +3523,8 @@ impl ITfContextOwnerCompositionSink_Vtbl { OnEndComposition: OnEndComposition::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3595,8 +3595,8 @@ impl ITfContextOwnerServices_Vtbl { CreateRange: CreateRange::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfContextView_Impl: Sized { @@ -3654,8 +3654,8 @@ impl ITfContextView_Vtbl { GetWnd: GetWnd::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -3697,8 +3697,8 @@ impl ITfCreatePropertyStore_Vtbl { CreatePropertyStore: CreatePropertyStore::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfDisplayAttributeInfo_Impl: Sized { @@ -3757,8 +3757,8 @@ impl ITfDisplayAttributeInfo_Vtbl { Reset: Reset::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfDisplayAttributeMgr_Impl: Sized { @@ -3797,8 +3797,8 @@ impl ITfDisplayAttributeMgr_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfDisplayAttributeNotifySink_Impl: Sized { @@ -3814,8 +3814,8 @@ impl ITfDisplayAttributeNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdateInfo: OnUpdateInfo:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfDisplayAttributeProvider_Impl: Sized { @@ -3853,8 +3853,8 @@ impl ITfDisplayAttributeProvider_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfDocumentMgr_Impl: Sized { @@ -3926,8 +3926,8 @@ impl ITfDocumentMgr_Vtbl { EnumContexts: EnumContexts::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfEditRecord_Impl: Sized { @@ -3965,8 +3965,8 @@ impl ITfEditRecord_Vtbl { GetTextAndPropertyUpdates: GetTextAndPropertyUpdates::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfEditSession_Impl: Sized { @@ -3982,8 +3982,8 @@ impl ITfEditSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoEditSession: DoEditSession:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfEditTransactionSink_Impl: Sized { @@ -4009,8 +4009,8 @@ impl ITfEditTransactionSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfFnAdviseText_Impl: Sized + ITfFunction_Impl { @@ -4036,8 +4036,8 @@ impl ITfFnAdviseText_Vtbl { OnLatticeUpdate: OnLatticeUpdate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnBalloon_Impl: Sized { @@ -4053,8 +4053,8 @@ impl ITfFnBalloon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateBalloon: UpdateBalloon:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfFnConfigure_Impl: Sized + ITfFunction_Impl { @@ -4070,8 +4070,8 @@ impl ITfFnConfigure_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnConfigureRegisterEudc_Impl: Sized + ITfFunction_Impl { @@ -4087,8 +4087,8 @@ impl ITfFnConfigureRegisterEudc_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnConfigureRegisterWord_Impl: Sized + ITfFunction_Impl { @@ -4104,8 +4104,8 @@ impl ITfFnConfigureRegisterWord_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnCustomSpeechCommand_Impl: Sized + ITfFunction_Impl { @@ -4121,8 +4121,8 @@ impl ITfFnCustomSpeechCommand_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), SetSpeechCommandProvider: SetSpeechCommandProvider:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnGetLinguisticAlternates_Impl: Sized + ITfFunction_Impl { @@ -4144,8 +4144,8 @@ impl ITfFnGetLinguisticAlternates_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetAlternates: GetAlternates:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnGetPreferredTouchKeyboardLayout_Impl: Sized + ITfFunction_Impl { @@ -4161,8 +4161,8 @@ impl ITfFnGetPreferredTouchKeyboardLayout_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetLayout: GetLayout:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnGetSAPIObject_Impl: Sized + ITfFunction_Impl { @@ -4184,8 +4184,8 @@ impl ITfFnGetSAPIObject_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Get: Get:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnLMInternal_Impl: Sized + ITfFnLMProcessor_Impl { @@ -4201,8 +4201,8 @@ impl ITfFnLMInternal_Vtbl { } Self { base__: ITfFnLMProcessor_Vtbl::new::(), ProcessLattice: ProcessLattice:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait ITfFnLMProcessor_Impl: Sized + ITfFunction_Impl { @@ -4281,8 +4281,8 @@ impl ITfFnLMProcessor_Vtbl { InvokeFunc: InvokeFunc::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnLangProfileUtil_Impl: Sized + ITfFunction_Impl { @@ -4314,8 +4314,8 @@ impl ITfFnLangProfileUtil_Vtbl { IsProfileAvailableForLang: IsProfileAvailableForLang::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnPlayBack_Impl: Sized + ITfFunction_Impl { @@ -4341,8 +4341,8 @@ impl ITfFnPlayBack_Vtbl { Play: Play::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnPropertyUIStatus_Impl: Sized + ITfFunction_Impl { @@ -4374,8 +4374,8 @@ impl ITfFnPropertyUIStatus_Vtbl { SetStatus: SetStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnReconversion_Impl: Sized + ITfFunction_Impl { @@ -4414,8 +4414,8 @@ impl ITfFnReconversion_Vtbl { Reconvert: Reconvert::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnSearchCandidateProvider_Impl: Sized + ITfFunction_Impl { @@ -4447,8 +4447,8 @@ impl ITfFnSearchCandidateProvider_Vtbl { SetResult: SetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFnShowHelp_Impl: Sized + ITfFunction_Impl { @@ -4464,8 +4464,8 @@ impl ITfFnShowHelp_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfFunction_Impl: Sized { @@ -4487,8 +4487,8 @@ impl ITfFunction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDisplayName: GetDisplayName:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfFunctionProvider_Impl: Sized { @@ -4539,8 +4539,8 @@ impl ITfFunctionProvider_Vtbl { GetFunction: GetFunction::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfInputProcessorProfileActivationSink_Impl: Sized { @@ -4556,8 +4556,8 @@ impl ITfInputProcessorProfileActivationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfInputProcessorProfileMgr_Impl: Sized { @@ -4645,8 +4645,8 @@ impl ITfInputProcessorProfileMgr_Vtbl { GetActiveProfile: GetActiveProfile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfInputProcessorProfileSubstituteLayout_Impl: Sized { @@ -4671,8 +4671,8 @@ impl ITfInputProcessorProfileSubstituteLayout_Vtbl { GetSubstituteKeyboardLayout: GetSubstituteKeyboardLayout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4844,8 +4844,8 @@ impl ITfInputProcessorProfiles_Vtbl { SubstituteKeyboardLayout: SubstituteKeyboardLayout::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4868,8 +4868,8 @@ impl ITfInputProcessorProfilesEx_Vtbl { SetLanguageProfileDisplayName: SetLanguageProfileDisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfInputScope_Impl: Sized { @@ -4934,8 +4934,8 @@ impl ITfInputScope_Vtbl { GetXML: GetXML::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -4961,8 +4961,8 @@ impl ITfInputScope2_Vtbl { } Self { base__: ITfInputScope_Vtbl::new::(), EnumWordList: EnumWordList:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -5004,8 +5004,8 @@ impl ITfInsertAtSelection_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfIntegratableCandidateListUIElement_Impl: Sized { @@ -5070,8 +5070,8 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { FinalizeExactCompositionString: FinalizeExactCompositionString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfKeyEventSink_Impl: Sized { @@ -5155,8 +5155,8 @@ impl ITfKeyEventSink_Vtbl { OnPreservedKey: OnPreservedKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfKeyTraceEventSink_Impl: Sized { @@ -5182,8 +5182,8 @@ impl ITfKeyTraceEventSink_Vtbl { OnKeyTraceUp: OnKeyTraceUp::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfKeystrokeMgr_Impl: Sized { @@ -5347,8 +5347,8 @@ impl ITfKeystrokeMgr_Vtbl { SimulatePreservedKey: SimulatePreservedKey::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLMLattice_Impl: Sized { @@ -5386,8 +5386,8 @@ impl ITfLMLattice_Vtbl { EnumLatticeElements: EnumLatticeElements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLangBarEventSink_Impl: Sized { @@ -5447,8 +5447,8 @@ impl ITfLangBarEventSink_Vtbl { GetItemFloatingRect: GetItemFloatingRect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLangBarItem_Impl: Sized { @@ -5500,8 +5500,8 @@ impl ITfLangBarItem_Vtbl { GetTooltipString: GetTooltipString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLangBarItemBalloon_Impl: Sized + ITfLangBarItem_Impl { @@ -5546,8 +5546,8 @@ impl ITfLangBarItemBalloon_Vtbl { GetBalloonInfo: GetBalloonInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -5590,8 +5590,8 @@ impl ITfLangBarItemBitmap_Vtbl { DrawBitmap: DrawBitmap::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -5661,8 +5661,8 @@ impl ITfLangBarItemBitmapButton_Vtbl { GetText: GetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -5725,8 +5725,8 @@ impl ITfLangBarItemButton_Vtbl { GetText: GetText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfLangBarItemMgr_Impl: Sized { @@ -5846,8 +5846,8 @@ impl ITfLangBarItemMgr_Vtbl { UnadviseItemsSink: UnadviseItemsSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLangBarItemSink_Impl: Sized { @@ -5863,8 +5863,8 @@ impl ITfLangBarItemSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdate: OnUpdate:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLangBarMgr_Impl: Sized { @@ -5951,8 +5951,8 @@ impl ITfLangBarMgr_Vtbl { GetShowFloatingStatus: GetShowFloatingStatus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfLanguageProfileNotifySink_Impl: Sized { @@ -5984,8 +5984,8 @@ impl ITfLanguageProfileNotifySink_Vtbl { OnLanguageChanged: OnLanguageChanged::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfMSAAControl_Impl: Sized { @@ -6011,8 +6011,8 @@ impl ITfMSAAControl_Vtbl { SystemDisableMSAA: SystemDisableMSAA::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -6032,8 +6032,8 @@ impl ITfMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddMenuItem: AddMenuItem:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -6077,8 +6077,8 @@ impl ITfMessagePump_Vtbl { GetMessageW: GetMessageW::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfMouseSink_Impl: Sized { @@ -6100,8 +6100,8 @@ impl ITfMouseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMouseEvent: OnMouseEvent:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfMouseTracker_Impl: Sized { @@ -6133,8 +6133,8 @@ impl ITfMouseTracker_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfMouseTrackerACP_Impl: Sized { @@ -6166,8 +6166,8 @@ impl ITfMouseTrackerACP_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6193,8 +6193,8 @@ impl ITfPersistentPropertyLoaderACP_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadProperty: LoadProperty:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfPreservedKeyNotifySink_Impl: Sized { @@ -6210,8 +6210,8 @@ impl ITfPreservedKeyNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdated: OnUpdated:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6255,8 +6255,8 @@ impl ITfProperty_Vtbl { Clear: Clear::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6389,8 +6389,8 @@ impl ITfPropertyStore_Vtbl { Serialize: Serialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6416,8 +6416,8 @@ impl ITfQueryEmbedded_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInsertEmbedded: QueryInsertEmbedded:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6659,8 +6659,8 @@ impl ITfRange_Vtbl { GetContext: GetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -6690,8 +6690,8 @@ impl ITfRangeACP_Vtbl { SetExtent: SetExtent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfRangeBackup_Impl: Sized { @@ -6707,8 +6707,8 @@ impl ITfRangeBackup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Restore: Restore:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -6770,8 +6770,8 @@ impl ITfReadOnlyProperty_Vtbl { GetContext: GetContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfReadingInformationUIElement_Impl: Sized + ITfUIElement_Impl { @@ -6861,8 +6861,8 @@ impl ITfReadingInformationUIElement_Vtbl { IsVerticalOrderPreferred: IsVerticalOrderPreferred::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfReverseConversion_Impl: Sized { @@ -6884,8 +6884,8 @@ impl ITfReverseConversion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoReverseConversion: DoReverseConversion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfReverseConversionList_Impl: Sized { @@ -6923,8 +6923,8 @@ impl ITfReverseConversionList_Vtbl { GetString: GetString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfReverseConversionMgr_Impl: Sized { @@ -6946,8 +6946,8 @@ impl ITfReverseConversionMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetReverseConversion: GetReverseConversion:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSource_Impl: Sized { @@ -6979,8 +6979,8 @@ impl ITfSource_Vtbl { UnadviseSink: UnadviseSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSourceSingle_Impl: Sized { @@ -7006,8 +7006,8 @@ impl ITfSourceSingle_Vtbl { UnadviseSingleSink: UnadviseSingleSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSpeechUIServer_Impl: Sized { @@ -7040,8 +7040,8 @@ impl ITfSpeechUIServer_Vtbl { UpdateBalloon: UpdateBalloon::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfStatusSink_Impl: Sized { @@ -7057,8 +7057,8 @@ impl ITfStatusSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatusChange: OnStatusChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSystemDeviceTypeLangBarItem_Impl: Sized { @@ -7090,8 +7090,8 @@ impl ITfSystemDeviceTypeLangBarItem_Vtbl { GetIconMode: GetIconMode::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -7121,8 +7121,8 @@ impl ITfSystemLangBarItem_Vtbl { SetTooltipString: SetTooltipString::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSystemLangBarItemSink_Impl: Sized { @@ -7148,8 +7148,8 @@ impl ITfSystemLangBarItemSink_Vtbl { OnMenuSelect: OnMenuSelect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfSystemLangBarItemText_Impl: Sized { @@ -7181,8 +7181,8 @@ impl ITfSystemLangBarItemText_Vtbl { GetItemText: GetItemText::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfTextEditSink_Impl: Sized { @@ -7198,8 +7198,8 @@ impl ITfTextEditSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEndEdit: OnEndEdit:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfTextInputProcessor_Impl: Sized { @@ -7225,8 +7225,8 @@ impl ITfTextInputProcessor_Vtbl { Deactivate: Deactivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfTextInputProcessorEx_Impl: Sized + ITfTextInputProcessor_Impl { @@ -7242,8 +7242,8 @@ impl ITfTextInputProcessorEx_Vtbl { } Self { base__: ITfTextInputProcessor_Vtbl::new::(), ActivateEx: ActivateEx:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfTextLayoutSink_Impl: Sized { @@ -7259,8 +7259,8 @@ impl ITfTextLayoutSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLayoutChange: OnLayoutChange:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfThreadFocusSink_Impl: Sized { @@ -7286,8 +7286,8 @@ impl ITfThreadFocusSink_Vtbl { OnKillThreadFocus: OnKillThreadFocus::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfThreadMgr_Impl: Sized { @@ -7430,8 +7430,8 @@ impl ITfThreadMgr_Vtbl { GetGlobalCompartment: GetGlobalCompartment::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfThreadMgr2_Impl: Sized { @@ -7595,8 +7595,8 @@ impl ITfThreadMgr2_Vtbl { ResumeKeystrokeHandling: ResumeKeystrokeHandling::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfThreadMgrEventSink_Impl: Sized { @@ -7643,8 +7643,8 @@ impl ITfThreadMgrEventSink_Vtbl { OnPopContext: OnPopContext::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfThreadMgrEx_Impl: Sized + ITfThreadMgr_Impl { @@ -7676,8 +7676,8 @@ impl ITfThreadMgrEx_Vtbl { GetActiveFlags: GetActiveFlags::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfToolTipUIElement_Impl: Sized + ITfUIElement_Impl { @@ -7699,8 +7699,8 @@ impl ITfToolTipUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetString: GetString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfTransitoryExtensionSink_Impl: Sized { @@ -7725,8 +7725,8 @@ impl ITfTransitoryExtensionSink_Vtbl { OnTransitoryExtensionUpdated: OnTransitoryExtensionUpdated::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfTransitoryExtensionUIElement_Impl: Sized + ITfUIElement_Impl { @@ -7748,8 +7748,8 @@ impl ITfTransitoryExtensionUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetDocumentMgr: GetDocumentMgr:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITfUIElement_Impl: Sized { @@ -7807,8 +7807,8 @@ impl ITfUIElement_Vtbl { IsShown: IsShown::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfUIElementMgr_Impl: Sized { @@ -7867,8 +7867,8 @@ impl ITfUIElementMgr_Vtbl { EnumUIElements: EnumUIElements::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITfUIElementSink_Impl: Sized { @@ -7901,8 +7901,8 @@ impl ITfUIElementSink_Vtbl { EndUIElement: EndUIElement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IUIManagerEventSink_Impl: Sized { @@ -7956,8 +7956,8 @@ impl IUIManagerEventSink_Vtbl { OnWindowClosed: OnWindowClosed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IVersionInfo_Impl: Sized { @@ -8028,7 +8028,7 @@ impl IVersionInfo_Vtbl { GetInstanceDescription: GetInstanceDescription::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs index 8a1cbba834..44bebc56e2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs @@ -44,8 +44,8 @@ impl IMILBitmapEffect_Vtbl { SetInputSource: SetInputSource::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectConnections_Impl: Sized { @@ -83,8 +83,8 @@ impl IMILBitmapEffectConnections_Vtbl { GetOutputConnector: GetOutputConnector::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectConnectionsInfo_Impl: Sized { @@ -148,8 +148,8 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { GetOutputConnectorInfo: GetOutputConnectorInfo::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectConnector_Impl: Sized + IMILBitmapEffectConnectorInfo_Impl { @@ -187,8 +187,8 @@ impl IMILBitmapEffectConnector_Vtbl { GetBitmapEffect: GetBitmapEffect::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMILBitmapEffectConnectorInfo_Impl: Sized { @@ -252,8 +252,8 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { GetFormat: GetFormat::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectEvents_Impl: Sized { @@ -279,8 +279,8 @@ impl IMILBitmapEffectEvents_Vtbl { DirtyRegion: DirtyRegion::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectFactory_Impl: Sized { @@ -331,8 +331,8 @@ impl IMILBitmapEffectFactory_Vtbl { CreateEffectOuter: CreateEffectOuter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectGroup_Impl: Sized { @@ -377,8 +377,8 @@ impl IMILBitmapEffectGroup_Vtbl { Add: Add::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectGroupImpl_Impl: Sized { @@ -423,8 +423,8 @@ impl IMILBitmapEffectGroupImpl_Vtbl { GetChildren: GetChildren::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Imaging\"`"] @@ -501,8 +501,8 @@ impl IMILBitmapEffectImpl_Vtbl { Initialize: Initialize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectInputConnector_Impl: Sized + IMILBitmapEffectConnector_Impl { @@ -534,8 +534,8 @@ impl IMILBitmapEffectInputConnector_Vtbl { GetConnection: GetConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMILBitmapEffectInteriorInputConnector_Impl: Sized { @@ -557,8 +557,8 @@ impl IMILBitmapEffectInteriorInputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputConnector: GetInputConnector:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectInteriorOutputConnector_Impl: Sized { @@ -580,8 +580,8 @@ impl IMILBitmapEffectInteriorOutputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOutputConnector: GetOutputConnector:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectOutputConnector_Impl: Sized + IMILBitmapEffectConnector_Impl { @@ -619,8 +619,8 @@ impl IMILBitmapEffectOutputConnector_Vtbl { GetConnection: GetConnection::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } pub trait IMILBitmapEffectOutputConnectorImpl_Impl: Sized { @@ -646,8 +646,8 @@ impl IMILBitmapEffectOutputConnectorImpl_Vtbl { RemoveBackLink: RemoveBackLink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dwm\"`, `\"Win32_Graphics_Imaging\"`"] @@ -717,8 +717,8 @@ impl IMILBitmapEffectPrimitive_Vtbl { GetAffineMatrix: GetAffineMatrix::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectPrimitiveImpl_Impl: Sized { @@ -750,8 +750,8 @@ impl IMILBitmapEffectPrimitiveImpl_Vtbl { IsVolatile: IsVolatile::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectRenderContext_Impl: Sized { @@ -825,8 +825,8 @@ impl IMILBitmapEffectRenderContext_Vtbl { SetRegionOfInterest: SetRegionOfInterest::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffectRenderContextImpl_Impl: Sized { @@ -879,8 +879,8 @@ impl IMILBitmapEffectRenderContextImpl_Vtbl { UpdateOutputBounds: UpdateOutputBounds::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMILBitmapEffects_Impl: Sized { @@ -944,7 +944,7 @@ impl IMILBitmapEffects_Vtbl { Count: Count::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs index 122e25dce0..fad970e1e4 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs @@ -33,8 +33,8 @@ impl IActiveXUIHandlerSite_Vtbl { PickFileAndGetResult: PickFileAndGetResult::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveXUIHandlerSite2_Impl: Sized { @@ -66,8 +66,8 @@ impl IActiveXUIHandlerSite2_Vtbl { RemoveSuspensionExemption: RemoveSuspensionExemption::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IActiveXUIHandlerSite3_Impl: Sized { @@ -89,8 +89,8 @@ impl IActiveXUIHandlerSite3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageBoxW: MessageBoxW:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -110,8 +110,8 @@ impl IAnchorClick_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ProcOnClick: ProcOnClick:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IAudioSessionSite_Impl: Sized { @@ -150,8 +150,8 @@ impl IAudioSessionSite_Vtbl { OnAudioStreamDestroyed: OnAudioStreamDestroyed::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ICaretPositionProvider_Impl: Sized { @@ -167,8 +167,8 @@ impl ICaretPositionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCaretPosition: GetCaretPosition:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -181,8 +181,8 @@ impl IDeviceRect_Vtbl { pub const fn new, Impl: IDeviceRect_Impl, const OFFSET: isize>() -> IDeviceRect_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`"] @@ -212,8 +212,8 @@ impl IDithererImpl_Vtbl { SetEventSink: SetEventSink::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`"] @@ -323,8 +323,8 @@ impl IDocObjectService_Vtbl { IsErrorUrl: IsErrorUrl::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -344,8 +344,8 @@ impl IDownloadBehavior_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), startDownload: startDownload:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`"] @@ -365,8 +365,8 @@ impl IDownloadManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Download: Download:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumManagerFrames_Impl: Sized { @@ -425,8 +425,8 @@ impl IEnumManagerFrames_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumOpenServiceActivity_Impl: Sized { @@ -472,8 +472,8 @@ impl IEnumOpenServiceActivity_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumOpenServiceActivityCategory_Impl: Sized { @@ -519,8 +519,8 @@ impl IEnumOpenServiceActivityCategory_Vtbl { Clone: Clone::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IEnumSTATURL_Impl: Sized { @@ -573,8 +573,8 @@ impl IEnumSTATURL_Vtbl { SetFilter: SetFilter::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`"] @@ -616,8 +616,8 @@ impl IExtensionValidation_Vtbl { DisplayName: DisplayName::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IHTMLPersistData_Impl: Sized { @@ -668,8 +668,8 @@ impl IHTMLPersistData_Vtbl { queryType: queryType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -725,8 +725,8 @@ impl IHTMLPersistDataOM_Vtbl { removeAttribute: removeAttribute::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -816,8 +816,8 @@ impl IHTMLUserDataOM_Vtbl { expires: expires::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1059,8 +1059,8 @@ impl IHeaderFooter_Vtbl { timeLong: timeLong::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1092,8 +1092,8 @@ impl IHeaderFooter2_Vtbl { } Self { base__: IHeaderFooter_Vtbl::new::(), Setfont: Setfont::, font: font:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1136,8 +1136,8 @@ impl IHomePage_Vtbl { isHomePage: isHomePage::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IHomePageSetting_Impl: Sized { @@ -1176,8 +1176,8 @@ impl IHomePageSetting_Vtbl { SetHomePageToBrowserDefault: SetHomePageToBrowserDefault::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1203,8 +1203,8 @@ impl IIEWebDriverManager_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ExecuteCommand: ExecuteCommand:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1247,8 +1247,8 @@ impl IIEWebDriverSite_Vtbl { GetCapabilityValue: GetCapabilityValue::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IImageDecodeEventSink_Impl: Sized { @@ -1308,8 +1308,8 @@ impl IImageDecodeEventSink_Vtbl { OnProgress: OnProgress::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IImageDecodeEventSink2_Impl: Sized + IImageDecodeEventSink_Impl { @@ -1331,8 +1331,8 @@ impl IImageDecodeEventSink2_Vtbl { } Self { base__: IImageDecodeEventSink_Vtbl::new::(), IsAlphaPremultRequired: IsAlphaPremultRequired:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -1369,8 +1369,8 @@ impl IImageDecodeFilter_Vtbl { Terminate: Terminate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1406,8 +1406,8 @@ impl IIntelliForms_Vtbl { Setenabled: Setenabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IInternetExplorerManager_Impl: Sized { @@ -1423,8 +1423,8 @@ impl IInternetExplorerManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IInternetExplorerManager2_Impl: Sized { @@ -1446,8 +1446,8 @@ impl IInternetExplorerManager2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumFrameWindows: EnumFrameWindows:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -1576,8 +1576,8 @@ impl ILayoutRect_Vtbl { contentDocument: contentDocument::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IMapMIMEToCLSID_Impl: Sized { @@ -1610,8 +1610,8 @@ impl IMapMIMEToCLSID_Vtbl { SetMapping: SetMapping::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IMediaActivityNotifySite_Impl: Sized { @@ -1637,8 +1637,8 @@ impl IMediaActivityNotifySite_Vtbl { OnMediaActivityStopped: OnMediaActivityStopped::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenService_Impl: Sized { @@ -1683,8 +1683,8 @@ impl IOpenService_Vtbl { GetID: GetID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_UI_WindowsAndMessaging\"`"] @@ -1916,8 +1916,8 @@ impl IOpenServiceActivity_Vtbl { SetEnabled: SetEnabled::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IOpenServiceActivityCategory_Impl: Sized { @@ -1988,8 +1988,8 @@ impl IOpenServiceActivityCategory_Vtbl { GetActivityEnumerator: GetActivityEnumerator::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenServiceActivityInput_Impl: Sized { @@ -2040,8 +2040,8 @@ impl IOpenServiceActivityInput_Vtbl { GetType: GetType::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenServiceActivityManager_Impl: Sized { @@ -2105,8 +2105,8 @@ impl IOpenServiceActivityManager_Vtbl { GetVersionCookie: GetVersionCookie::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2142,8 +2142,8 @@ impl IOpenServiceActivityOutputContext_Vtbl { CanNavigate: CanNavigate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IOpenServiceManager_Impl: Sized { @@ -2188,8 +2188,8 @@ impl IOpenServiceManager_Vtbl { GetServiceByID: GetServiceByID::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPeerFactory_Impl: Sized {} @@ -2198,8 +2198,8 @@ impl IPeerFactory_Vtbl { pub const fn new, Impl: IPeerFactory_Impl, const OFFSET: isize>() -> IPeerFactory_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2249,8 +2249,8 @@ impl IPersistHistory_Vtbl { GetPositionCookie: GetPositionCookie::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IPrintTaskRequestFactory_Impl: Sized { @@ -2266,8 +2266,8 @@ impl IPrintTaskRequestFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePrintTaskRequest: CreatePrintTaskRequest:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IPrintTaskRequestHandler_Impl: Sized { @@ -2283,8 +2283,8 @@ impl IPrintTaskRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePrintTaskRequest: HandlePrintTaskRequest:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IScrollableContextMenu_Impl: Sized { @@ -2316,8 +2316,8 @@ impl IScrollableContextMenu_Vtbl { ShowModal: ShowModal::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IScrollableContextMenu2_Impl: Sized + IScrollableContextMenu_Impl { @@ -2343,8 +2343,8 @@ impl IScrollableContextMenu2_Vtbl { SetPlacement: SetPlacement::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2370,8 +2370,8 @@ impl ISniffStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Peek: Peek:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISurfacePresenterFlip_Impl: Sized { @@ -2397,8 +2397,8 @@ impl ISurfacePresenterFlip_Vtbl { GetBuffer: GetBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -2418,8 +2418,8 @@ impl ISurfacePresenterFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRotation: SetRotation:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ISurfacePresenterFlipBuffer_Impl: Sized { @@ -2445,8 +2445,8 @@ impl ISurfacePresenterFlipBuffer_Vtbl { EndDraw: EndDraw::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -2488,8 +2488,8 @@ impl ITargetContainer_Vtbl { GetFramesContainer: GetFramesContainer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITargetEmbedding_Impl: Sized { @@ -2511,8 +2511,8 @@ impl ITargetEmbedding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetFrame: GetTargetFrame:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -2662,8 +2662,8 @@ impl ITargetFrame_Vtbl { OnChildFrameDeactivate: OnChildFrameDeactivate::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -2805,8 +2805,8 @@ impl ITargetFrame2_Vtbl { GetTargetAlias: GetTargetAlias::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2882,8 +2882,8 @@ impl ITargetFramePriv_Vtbl { FindBrowserByIndex: FindBrowserByIndex::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`"] @@ -2903,8 +2903,8 @@ impl ITargetFramePriv2_Vtbl { } Self { base__: ITargetFramePriv_Vtbl::new::(), AggregatedNavigation2: AggregatedNavigation2:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITargetNotify_Impl: Sized { @@ -2930,8 +2930,8 @@ impl ITargetNotify_Vtbl { OnReuse: OnReuse::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITargetNotify2_Impl: Sized + ITargetNotify_Impl { @@ -2947,8 +2947,8 @@ impl ITargetNotify2_Vtbl { } Self { base__: ITargetNotify_Vtbl::new::(), GetOptionString: GetOptionString:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3004,8 +3004,8 @@ impl ITimer_Vtbl { GetTime: GetTime::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3025,8 +3025,8 @@ impl ITimerEx_Vtbl { } Self { base__: ITimer_Vtbl::new::(), SetMode: SetMode:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait ITimerService_Impl: Sized { @@ -3071,8 +3071,8 @@ impl ITimerService_Vtbl { SetNamedTimerReference: SetNamedTimerReference::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3092,8 +3092,8 @@ impl ITimerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTimer: OnTimer:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait ITridentTouchInput_Impl: Sized { @@ -3115,8 +3115,8 @@ impl ITridentTouchInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPointerMessage: OnPointerMessage:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Web_MsHtml\"`"] @@ -3146,8 +3146,8 @@ impl ITridentTouchInputSite_Vtbl { ZoomToPoint: ZoomToPoint::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3160,8 +3160,8 @@ impl IUrlHistoryNotify_Vtbl { pub const fn new, Impl: IUrlHistoryNotify_Impl, const OFFSET: isize>() -> IUrlHistoryNotify_Vtbl { Self { base__: super::super::System::Ole::IOleCommandTarget_Vtbl::new::() } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IUrlHistoryStg_Impl: Sized { @@ -3214,8 +3214,8 @@ impl IUrlHistoryStg_Vtbl { EnumUrls: EnumUrls::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Ole\"`"] @@ -3245,8 +3245,8 @@ impl IUrlHistoryStg2_Vtbl { ClearHistory: ClearHistory::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } pub trait IViewObjectPresentFlip_Impl: Sized { @@ -3279,8 +3279,8 @@ impl IViewObjectPresentFlip_Vtbl { RenderObjectToSharedBuffer: RenderObjectToSharedBuffer::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IViewObjectPresentFlip2_Impl: Sized { @@ -3296,8 +3296,8 @@ impl IViewObjectPresentFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyLeavingView: NotifyLeavingView:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Web_MsHtml\"`"] @@ -3399,8 +3399,8 @@ impl IViewObjectPresentFlipSite_Vtbl { GetFullScreenSize: GetFullScreenSize::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_Graphics_Dxgi_Common\"`"] @@ -3429,8 +3429,8 @@ impl IViewObjectPresentFlipSite2_Vtbl { GetRotationForCurrentOutput: GetRotationForCurrentOutput::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebBrowserEventsService_Impl: Sized { @@ -3483,8 +3483,8 @@ impl IWebBrowserEventsService_Vtbl { FireDocumentCompleteEvent: FireDocumentCompleteEvent::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } pub trait IWebBrowserEventsUrlService_Impl: Sized { @@ -3506,8 +3506,8 @@ impl IWebBrowserEventsUrlService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUrlForEvents: GetUrlForEvents:: } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } #[doc = "Required features: `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`"] @@ -3556,7 +3556,7 @@ impl Iwfolders_Vtbl { navigateNoSite: navigateNoSite::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID || *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID || iid == &::IID } } diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 23d0d5c8f7..691c677ff0 100644 --- a/crates/tests/component/src/bindings.rs +++ b/crates/tests/component/src/bindings.rs @@ -73,8 +73,8 @@ pub mod Nested { Method: Method::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } } } @@ -639,7 +639,7 @@ impl IClass_Vtbl { Input: Input::, } } - pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { - *iid == ::IID + pub fn matches(iid: &::windows_core::GUID) -> bool { + iid == &::IID } }