From ca2169f421646ddaabd0b0e7a333815c9ce4381d Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 14 Sep 2023 14:30:23 -0500 Subject: [PATCH 1/3] core --- crates/libs/bindgen/src/rust/delegates.rs | 8 ++++---- crates/libs/bindgen/src/rust/implements.rs | 6 +++--- crates/libs/core/src/com_interface.rs | 5 ++--- crates/libs/core/src/imp/weak_ref_count.rs | 16 ++++++++-------- crates/libs/core/src/unknown.rs | 6 +++--- crates/libs/implement/src/lib.rs | 12 ++++++------ crates/libs/interface/src/lib.rs | 4 ++-- 7 files changed, 28 insertions(+), 29 deletions(-) diff --git a/crates/libs/bindgen/src/rust/delegates.rs b/crates/libs/bindgen/src/rust/delegates.rs index 40d952037e..bcb7bcdf87 100644 --- a/crates/libs/bindgen/src/rust/delegates.rs +++ b/crates/libs/bindgen/src/rust/delegates.rs @@ -102,12 +102,12 @@ fn gen_win_delegate(writer: &Writer, def: TypeDef) -> TokenStream { Invoke: Self::Invoke, #(#named_phantoms)* }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &<#ident as ::windows_core::ComInterface>::IID || - iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || - iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { + *interface = if *iid == <#ident as ::windows_core::ComInterface>::IID || + *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || + *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() diff --git a/crates/libs/bindgen/src/rust/implements.rs b/crates/libs/bindgen/src/rust/implements.rs index 742ae99842..f4a0b4b794 100644 --- a/crates/libs/bindgen/src/rust/implements.rs +++ b/crates/libs/bindgen/src/rust/implements.rs @@ -28,7 +28,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { } } - let mut matches = quote! { iid == &<#type_ident as ::windows_core::ComInterface>::IID }; + let mut matches = quote! { *iid == <#type_ident as ::windows_core::ComInterface>::IID }; if let Some(Type::TypeDef(def, _)) = vtables.last() { requires.combine(&gen_required_trait(writer, *def, &[])) @@ -39,7 +39,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { let name = writer.type_def_name(*def, generics); matches.combine("e! { - || iid == &<#name as ::windows_core::ComInterface>::IID + || *iid == <#name as ::windows_core::ComInterface>::IID }) } } @@ -142,7 +142,7 @@ pub fn writer(writer: &Writer, def: TypeDef) -> TokenStream { #(#named_phantoms)* } } - pub fn matches(iid: &::windows_core::GUID) -> bool { + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { #matches } } diff --git a/crates/libs/core/src/com_interface.rs b/crates/libs/core/src/com_interface.rs index 5eae5a1e9c..5259238b9e 100644 --- a/crates/libs/core/src/com_interface.rs +++ b/crates/libs/core/src/com_interface.rs @@ -43,9 +43,8 @@ pub unsafe trait ComInterface: Interface + Clone { /// /// # Safety /// - /// `interface` must be a non-null, valid pointer for writing an interface pointer - #[doc(hidden)] - unsafe fn query(&self, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + /// `interface` must be a non-null, valid pointer for writing an interface pointer. + unsafe fn query(&self, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT { (self.assume_vtable::().QueryInterface)(self.as_raw(), iid, interface) } } diff --git a/crates/libs/core/src/imp/weak_ref_count.rs b/crates/libs/core/src/imp/weak_ref_count.rs index 2f28e7f97b..ee46a6bc33 100644 --- a/crates/libs/core/src/imp/weak_ref_count.rs +++ b/crates/libs/core/src/imp/weak_ref_count.rs @@ -32,8 +32,8 @@ impl WeakRefCount { } /// # Safety - pub unsafe fn query(&self, iid: &crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { - if iid != &IWeakReferenceSource::IID { + pub unsafe fn query(&self, iid: *const crate::GUID, object: *mut std::ffi::c_void) -> *mut std::ffi::c_void { + if *iid != IWeakReferenceSource::IID { return std::ptr::null_mut(); } @@ -119,16 +119,16 @@ impl TearOff { std::mem::transmute(value << 1) } - unsafe fn query_interface(&self, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe fn query_interface(&self, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { ((*(*(self.object as *mut *mut crate::IUnknown_Vtbl))).QueryInterface)(self.object, iid, interface) } - unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe extern "system" fn StrongQueryInterface(ptr: *mut std::ffi::c_void, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { let this = Self::from_strong_ptr(ptr); // Only directly respond to queries for the the tear-off's strong interface. This is // effectively a self-query. - if iid == &IWeakReferenceSource::IID { + if *iid == IWeakReferenceSource::IID { *interface = ptr; this.strong_count.add_ref(); return crate::HRESULT(0); @@ -139,14 +139,14 @@ impl TearOff { this.query_interface(iid, interface) } - unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: &crate::GUID, interface: *mut *const std::ffi::c_void) -> crate::HRESULT { + unsafe extern "system" fn WeakQueryInterface(ptr: *mut std::ffi::c_void, iid: *const crate::GUID, interface: *mut *mut std::ffi::c_void) -> crate::HRESULT { let this = Self::from_weak_ptr(ptr); // While the weak vtable is packed into the same allocation as the strong vtable and // tear-off, it represents a distinct COM identity and thus does not share or delegate to // the object. - *interface = if iid == &IWeakReference::IID || iid == &crate::IUnknown::IID || iid == &IAgileObject::IID { ptr } else { std::ptr::null_mut() }; + *interface = if *iid == IWeakReference::IID || *iid == crate::IUnknown::IID || *iid == IAgileObject::IID { ptr } else { std::ptr::null_mut() }; // TODO: implement IMarshal @@ -218,7 +218,7 @@ impl TearOff { }) .map(|_| { // Let the object respond to the upgrade query. - let result = this.query_interface(&*iid, interface as *mut _); + let result = this.query_interface(iid, interface); // Decrement the temporary reference account used to stabilize the object. this.strong_count.0.fetch_sub(1, Ordering::Relaxed); // Return the result of the query. diff --git a/crates/libs/core/src/unknown.rs b/crates/libs/core/src/unknown.rs index a9374c830f..3d3e6d92e6 100644 --- a/crates/libs/core/src/unknown.rs +++ b/crates/libs/core/src/unknown.rs @@ -10,7 +10,7 @@ pub struct IUnknown(std::ptr::NonNull); #[doc(hidden)] #[repr(C)] pub struct IUnknown_Vtbl { - pub QueryInterface: unsafe extern "system" fn(this: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT, + pub QueryInterface: unsafe extern "system" fn(this: *mut std::ffi::c_void, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT, pub AddRef: unsafe extern "system" fn(this: *mut std::ffi::c_void) -> u32, pub Release: unsafe extern "system" fn(this: *mut std::ffi::c_void) -> u32, } @@ -71,7 +71,7 @@ pub trait IUnknownImpl { /// /// This function is safe to call as long as the interface pointer is non-null and valid for writes /// of an interface pointer. - unsafe fn QueryInterface(&self, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT; + unsafe fn QueryInterface(&self, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT; /// Increments the reference count of the interface fn AddRef(&self) -> u32; /// Decrements the reference count causing the interface's memory to be freed when the count is 0 @@ -86,7 +86,7 @@ pub trait IUnknownImpl { #[cfg(feature = "implement")] impl IUnknown_Vtbl { pub const fn new() -> Self { - unsafe extern "system" fn QueryInterface(this: *mut std::ffi::c_void, iid: &GUID, interface: *mut *const std::ffi::c_void) -> HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut std::ffi::c_void, iid: *const GUID, interface: *mut *mut std::ffi::c_void) -> HRESULT { let this = (this as *mut *mut std::ffi::c_void).offset(OFFSET) as *mut T; (*this).QueryInterface(iid, interface) } diff --git a/crates/libs/implement/src/lib.rs b/crates/libs/implement/src/lib.rs index e54e573663..e26f8fc5a2 100644 --- a/crates/libs/implement/src/lib.rs +++ b/crates/libs/implement/src/lib.rs @@ -45,7 +45,7 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: let offset = proc_macro2::Literal::usize_unsuffixed(count); quote! { else if #vtbl_ident::matches(iid) { - &self.vtables.#offset as *const _ as *const _ + &self.vtables.#offset as *const _ as *mut _ } } }); @@ -104,12 +104,12 @@ pub fn implement(attributes: proc_macro::TokenStream, original_type: proc_macro: fn get_impl(&self) -> &Self::Impl { &self.this } - unsafe fn QueryInterface(&self, iid: &::windows::core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows::core::HRESULT { + unsafe fn QueryInterface(&self, iid: *const ::windows::core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows::core::HRESULT { unsafe { - *interface = if iid == &<::windows::core::IUnknown as ::windows::core::ComInterface>::IID - || iid == &<::windows::core::IInspectable as ::windows::core::ComInterface>::IID - || iid == &<::windows::core::imp::IAgileObject as ::windows::core::ComInterface>::IID { - &self.identity as *const _ as *const _ + *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 4d1b7f11bf..329740c387 100644 --- a/crates/libs/interface/src/lib.rs +++ b/crates/libs/interface/src/lib.rs @@ -244,8 +244,8 @@ impl Interface { Self { base__: #parent_vtable::new::<#parent_vtable_generics>(), #(#entries),* } } - pub fn matches(iid: &windows::core::GUID) -> bool { - iid == &<#name as ::windows::core::ComInterface>::IID + pub unsafe fn matches(iid: *const windows::core::GUID) -> bool { + *iid == <#name as ::windows::core::ComInterface>::IID } } } From b675223461748a9da6734b6e39279dd7878e64c6 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 14 Sep 2023 14:30:37 -0500 Subject: [PATCH 2/3] code gen --- .../src/Windows/AI/MachineLearning/impl.rs | 16 +- .../ApplicationModel/Activation/impl.rs | 244 +-- .../ApplicationModel/Appointments/impl.rs | 4 +- .../ApplicationModel/Background/impl.rs | 36 +- .../ApplicationModel/Background/mod.rs | 12 +- .../src/Windows/ApplicationModel/Chat/impl.rs | 4 +- .../Windows/ApplicationModel/Contacts/impl.rs | 16 +- .../src/Windows/ApplicationModel/Core/impl.rs | 12 +- .../DataTransfer/DragDrop/Core/impl.rs | 4 +- .../ApplicationModel/DataTransfer/mod.rs | 8 +- .../Windows/ApplicationModel/Payments/mod.rs | 4 +- .../Windows/ApplicationModel/Search/impl.rs | 4 +- .../src/Windows/ApplicationModel/Store/mod.rs | 4 +- .../ApplicationModel/UserActivities/impl.rs | 4 +- .../UserDataAccounts/Provider/impl.rs | 4 +- .../src/Windows/ApplicationModel/impl.rs | 24 +- .../windows/src/Windows/Data/Json/impl.rs | 4 +- .../libs/windows/src/Windows/Data/Text/mod.rs | 8 +- .../windows/src/Windows/Data/Xml/Dom/impl.rs | 20 +- .../src/Windows/Devices/Adc/Provider/impl.rs | 8 +- .../src/Windows/Devices/Custom/impl.rs | 4 +- .../src/Windows/Devices/Enumeration/impl.rs | 4 +- .../src/Windows/Devices/Geolocation/impl.rs | 4 +- .../src/Windows/Devices/Gpio/Provider/impl.rs | 12 +- .../src/Windows/Devices/I2c/Provider/impl.rs | 12 +- .../windows/src/Windows/Devices/I2c/impl.rs | 4 +- .../Windows/Devices/Lights/Effects/impl.rs | 4 +- .../windows/src/Windows/Devices/Midi/impl.rs | 8 +- .../Windows/Devices/PointOfService/impl.rs | 24 +- .../src/Windows/Devices/Pwm/Provider/impl.rs | 8 +- .../src/Windows/Devices/Scanners/impl.rs | 8 +- .../src/Windows/Devices/Sensors/impl.rs | 4 +- .../src/Windows/Devices/SmartCards/mod.rs | 4 +- .../windows/src/Windows/Devices/Sms/impl.rs | 20 +- .../windows/src/Windows/Devices/Sms/mod.rs | 8 +- .../src/Windows/Devices/Spi/Provider/impl.rs | 12 +- .../windows/src/Windows/Devices/Spi/impl.rs | 4 +- .../libs/windows/src/Windows/Devices/impl.rs | 4 +- .../Windows/Foundation/Collections/impl.rs | 48 +- .../src/Windows/Foundation/Collections/mod.rs | 8 +- .../Windows/Foundation/Diagnostics/impl.rs | 20 +- .../windows/src/Windows/Foundation/impl.rs | 56 +- .../windows/src/Windows/Foundation/mod.rs | 36 +- .../src/Windows/Gaming/Input/Custom/impl.rs | 24 +- .../Gaming/Input/ForceFeedback/impl.rs | 4 +- .../windows/src/Windows/Gaming/Input/impl.rs | 8 +- .../Gaming/Preview/GamesEnumeration/impl.rs | 4 +- .../Gaming/Preview/GamesEnumeration/mod.rs | 8 +- .../Globalization/NumberFormatting/impl.rs | 32 +- .../Graphics/DirectX/Direct3D11/impl.rs | 8 +- .../src/Windows/Graphics/Display/mod.rs | 4 +- .../src/Windows/Graphics/Effects/impl.rs | 8 +- .../src/Windows/Graphics/Imaging/impl.rs | 12 +- .../Graphics/Printing/OptionDetails/impl.rs | 20 +- .../src/Windows/Graphics/Printing/impl.rs | 16 +- .../src/Windows/Graphics/Printing/mod.rs | 4 +- .../src/Windows/Graphics/Printing3D/mod.rs | 4 +- .../libs/windows/src/Windows/Graphics/impl.rs | 4 +- .../windows/src/Windows/Media/Audio/impl.rs | 16 +- .../windows/src/Windows/Media/Capture/mod.rs | 8 +- .../windows/src/Windows/Media/Core/impl.rs | 28 +- .../windows/src/Windows/Media/Devices/impl.rs | 8 +- .../windows/src/Windows/Media/Devices/mod.rs | 16 +- .../windows/src/Windows/Media/Effects/impl.rs | 24 +- .../src/Windows/Media/MediaProperties/impl.rs | 4 +- .../src/Windows/Media/Playback/impl.rs | 8 +- .../Media/Protection/PlayReady/impl.rs | 92 +- .../src/Windows/Media/Protection/impl.rs | 4 +- .../src/Windows/Media/Protection/mod.rs | 12 +- .../Windows/Media/SpeechRecognition/impl.rs | 4 +- crates/libs/windows/src/Windows/Media/impl.rs | 16 +- .../Networking/BackgroundTransfer/impl.rs | 16 +- .../Windows/Networking/Connectivity/mod.rs | 4 +- .../src/Windows/Networking/Proximity/mod.rs | 16 +- .../src/Windows/Networking/Sockets/impl.rs | 28 +- .../src/Windows/Networking/Vpn/impl.rs | 44 +- .../Phone/Notification/Management/impl.rs | 4 +- .../Windows/Phone/PersonalInformation/impl.rs | 8 +- .../src/Windows/Phone/StartScreen/impl.rs | 4 +- .../Authentication/Web/Provider/impl.rs | 28 +- .../src/Windows/Security/Credentials/impl.rs | 4 +- .../src/Windows/Security/Isolation/mod.rs | 8 +- .../src/Windows/Storage/AccessCache/impl.rs | 4 +- .../src/Windows/Storage/BulkAccess/impl.rs | 4 +- .../Windows/Storage/FileProperties/impl.rs | 4 +- .../src/Windows/Storage/Provider/impl.rs | 24 +- .../src/Windows/Storage/Search/impl.rs | 12 +- .../src/Windows/Storage/Streams/impl.rs | 44 +- .../libs/windows/src/Windows/Storage/impl.rs | 44 +- .../libs/windows/src/Windows/Storage/mod.rs | 8 +- .../Implementation/FileExplorer/impl.rs | 12 +- .../Windows/System/RemoteDesktop/Input/mod.rs | 4 +- .../src/Windows/System/RemoteSystems/impl.rs | 4 +- .../src/Windows/System/Threading/Core/mod.rs | 4 +- .../src/Windows/System/Threading/mod.rs | 12 +- .../libs/windows/src/Windows/System/impl.rs | 4 +- crates/libs/windows/src/Windows/System/mod.rs | 4 +- .../src/Windows/UI/ApplicationSettings/mod.rs | 12 +- .../UI/Composition/Interactions/impl.rs | 8 +- .../src/Windows/UI/Composition/impl.rs | 28 +- .../Windows/UI/Core/AnimationMetrics/impl.rs | 4 +- .../libs/windows/src/Windows/UI/Core/impl.rs | 32 +- .../libs/windows/src/Windows/UI/Core/mod.rs | 8 +- .../Windows/UI/Input/Inking/Analysis/impl.rs | 8 +- .../src/Windows/UI/Input/Inking/impl.rs | 20 +- .../libs/windows/src/Windows/UI/Input/impl.rs | 4 +- .../src/Windows/UI/Notifications/impl.rs | 4 +- .../windows/src/Windows/UI/Popups/impl.rs | 4 +- .../libs/windows/src/Windows/UI/Popups/mod.rs | 4 +- .../libs/windows/src/Windows/UI/Shell/impl.rs | 8 +- .../libs/windows/src/Windows/UI/Text/impl.rs | 20 +- .../src/Windows/UI/UIAutomation/Core/impl.rs | 8 +- .../windows/src/Windows/UI/WebUI/Core/impl.rs | 8 +- .../windows/src/Windows/UI/WebUI/Core/mod.rs | 12 +- .../libs/windows/src/Windows/UI/WebUI/impl.rs | 12 +- .../libs/windows/src/Windows/UI/WebUI/mod.rs | 28 +- .../src/Windows/Web/Http/Filters/impl.rs | 4 +- .../libs/windows/src/Windows/Web/Http/impl.rs | 4 +- .../src/Windows/Web/Syndication/impl.rs | 12 +- .../libs/windows/src/Windows/Web/UI/impl.rs | 8 +- crates/libs/windows/src/Windows/Web/impl.rs | 4 +- .../Win32/AI/MachineLearning/DirectML/impl.rs | 48 +- .../Win32/AI/MachineLearning/WinML/impl.rs | 64 +- .../src/Windows/Win32/Data/HtmlHelp/impl.rs | 24 +- .../src/Windows/Win32/Data/Xml/MsXml/impl.rs | 344 ++-- .../Windows/Win32/Data/Xml/XmlLite/impl.rs | 16 +- .../Win32/Devices/DeviceAccess/impl.rs | 12 +- .../src/Windows/Win32/Devices/Display/impl.rs | 8 +- .../Win32/Devices/Enumeration/Pnp/impl.rs | 104 +- .../src/Windows/Win32/Devices/Fax/impl.rs | 248 +-- .../Win32/Devices/FunctionDiscovery/impl.rs | 68 +- .../Windows/Win32/Devices/Geolocation/impl.rs | 56 +- .../Devices/HumanInterfaceDevice/impl.rs | 80 +- .../Win32/Devices/ImageAcquisition/impl.rs | 124 +- .../Win32/Devices/PortableDevices/impl.rs | 136 +- .../src/Windows/Win32/Devices/Sensors/impl.rs | 28 +- .../src/Windows/Win32/Devices/Tapi/impl.rs | 476 ++--- .../Devices/WebServicesOnDevices/impl.rs | 124 +- .../windows/src/Windows/Win32/Gaming/impl.rs | 32 +- .../src/Windows/Win32/Globalization/impl.rs | 108 +- .../Graphics/CompositionSwapchain/impl.rs | 36 +- .../src/Windows/Win32/Graphics/DXCore/impl.rs | 12 +- .../Win32/Graphics/Direct2D/Common/impl.rs | 4 +- .../Windows/Win32/Graphics/Direct2D/impl.rs | 444 ++--- .../Win32/Graphics/Direct3D/Dxc/impl.rs | 104 +- .../Windows/Win32/Graphics/Direct3D/impl.rs | 8 +- .../Windows/Win32/Graphics/Direct3D10/impl.rs | 140 +- .../Windows/Win32/Graphics/Direct3D11/impl.rs | 348 ++-- .../Win32/Graphics/Direct3D11on12/impl.rs | 12 +- .../Windows/Win32/Graphics/Direct3D12/impl.rs | 476 ++--- .../Windows/Win32/Graphics/Direct3D9/impl.rs | 80 +- .../Win32/Graphics/Direct3D9on12/impl.rs | 4 +- .../Win32/Graphics/DirectComposition/impl.rs | 180 +- .../Windows/Win32/Graphics/DirectDraw/impl.rs | 72 +- .../Win32/Graphics/DirectManipulation/impl.rs | 72 +- .../Win32/Graphics/DirectWrite/impl.rs | 360 ++-- .../src/Windows/Win32/Graphics/Dxgi/impl.rs | 188 +- .../Win32/Graphics/Imaging/D2D/impl.rs | 8 +- .../Windows/Win32/Graphics/Imaging/impl.rs | 204 +- .../Windows/Win32/Graphics/Printing/impl.rs | 400 ++-- .../src/Windows/Win32/Media/Audio/Apo/impl.rs | 68 +- .../Win32/Media/Audio/DirectMusic/impl.rs | 52 +- .../Win32/Media/Audio/DirectSound/impl.rs | 88 +- .../Win32/Media/Audio/Endpoints/impl.rs | 44 +- .../Windows/Win32/Media/Audio/XAudio2/impl.rs | 20 +- .../src/Windows/Win32/Media/Audio/impl.rs | 304 +-- .../Windows/Win32/Media/DeviceManager/impl.rs | 232 +-- .../Windows/Win32/Media/DirectShow/Tv/impl.rs | 1148 ++++++------ .../Win32/Media/DirectShow/Xml/impl.rs | 4 +- .../Windows/Win32/Media/DirectShow/impl.rs | 1136 +++++------ .../Win32/Media/DxMediaObjects/impl.rs | 24 +- .../Win32/Media/KernelStreaming/impl.rs | 100 +- .../Media/LibrarySharingServices/impl.rs | 20 +- .../Win32/Media/MediaFoundation/impl.rs | 1460 +++++++-------- .../Windows/Win32/Media/MediaPlayer/impl.rs | 428 ++--- .../Windows/Win32/Media/Multimedia/impl.rs | 24 +- .../Win32/Media/PictureAcquisition/impl.rs | 44 +- .../src/Windows/Win32/Media/Speech/impl.rs | 388 ++-- .../Win32/Media/WindowsMediaFormat/impl.rs | 424 ++--- .../windows/src/Windows/Win32/Media/impl.rs | 12 +- .../NetworkManagement/MobileBroadband/impl.rs | 168 +- .../NetworkManagement/NetManagement/impl.rs | 100 +- .../NetworkDiagnosticsFramework/impl.rs | 20 +- .../NetworkPolicyServer/impl.rs | 28 +- .../Win32/NetworkManagement/WiFi/impl.rs | 40 +- .../WindowsConnectNow/impl.rs | 8 +- .../NetworkManagement/WindowsFirewall/impl.rs | 176 +- .../Win32/Networking/ActiveDirectory/impl.rs | 312 ++-- .../impl.rs | 148 +- .../Win32/Networking/Clustering/impl.rs | 228 +-- .../Networking/NetworkListManager/impl.rs | 56 +- .../RemoteDifferentialCompression/impl.rs | 68 +- .../Windows/Win32/Networking/WinInet/impl.rs | 20 +- .../Networking/WindowsWebServices/impl.rs | 4 +- .../Authentication/Identity/Provider/impl.rs | 56 +- .../Security/Authentication/Identity/impl.rs | 4 +- .../Win32/Security/Authorization/UI/impl.rs | 28 +- .../Win32/Security/Authorization/impl.rs | 136 +- .../Security/ConfigurationSnapin/impl.rs | 8 +- .../Cryptography/Certificates/impl.rs | 588 +++--- .../Win32/Security/Cryptography/impl.rs | 24 +- .../Win32/Security/EnterpriseData/impl.rs | 12 +- .../ExtensibleAuthenticationProtocol/impl.rs | 24 +- .../Windows/Win32/Security/Isolation/impl.rs | 4 +- .../src/Windows/Win32/Security/Tpm/impl.rs | 16 +- .../Win32/Storage/DataDeduplication/impl.rs | 24 +- .../Win32/Storage/EnhancedStorage/impl.rs | 24 +- .../Windows/Win32/Storage/FileHistory/impl.rs | 16 +- .../Storage/FileServerResourceManager/impl.rs | 244 +-- .../Windows/Win32/Storage/FileSystem/impl.rs | 20 +- .../src/Windows/Win32/Storage/Imapi/impl.rs | 232 +-- .../Windows/Win32/Storage/IndexServer/impl.rs | 8 +- .../Win32/Storage/OfflineFiles/impl.rs | 140 +- .../Win32/Storage/Packaging/Appx/impl.rs | 344 ++-- .../Win32/Storage/Packaging/Opc/impl.rs | 124 +- .../Win32/Storage/VirtualDiskService/impl.rs | 296 +-- .../src/Windows/Win32/Storage/Vss/impl.rs | 92 +- .../Win32/Storage/Xps/Printing/impl.rs | 24 +- .../src/Windows/Win32/Storage/Xps/impl.rs | 272 +-- .../Windows/Win32/System/AddressBook/impl.rs | 84 +- .../Windows/Win32/System/Antimalware/impl.rs | 24 +- .../impl.rs | 156 +- .../Win32/System/AssessmentTool/impl.rs | 36 +- .../Windows/Win32/System/ClrHosting/impl.rs | 268 +-- .../Windows/Win32/System/Com/CallObj/impl.rs | 28 +- .../System/Com/ChannelCredentials/impl.rs | 4 +- .../Windows/Win32/System/Com/Events/impl.rs | 64 +- .../Windows/Win32/System/Com/Marshal/impl.rs | 12 +- .../System/Com/StructuredStorage/impl.rs | 56 +- .../src/Windows/Win32/System/Com/UI/impl.rs | 8 +- .../Windows/Win32/System/Com/Urlmon/impl.rs | 188 +- .../src/Windows/Win32/System/Com/impl.rs | 460 ++--- .../Win32/System/ComponentServices/impl.rs | 492 ++--- .../src/Windows/Win32/System/Contacts/impl.rs | 64 +- .../Win32/System/DeploymentServices/impl.rs | 100 +- .../Win32/System/DesktopSharing/impl.rs | 112 +- .../System/Diagnostics/ClrProfiling/impl.rs | 204 +- .../Diagnostics/Debug/ActiveScript/impl.rs | 496 ++--- .../Diagnostics/Debug/Extensions/impl.rs | 476 ++--- .../Win32/System/Diagnostics/Debug/impl.rs | 44 +- .../Win32/System/Diagnostics/Etw/impl.rs | 12 +- .../DistributedTransactionCoordinator/impl.rs | 264 +-- .../System/EventNotificationService/impl.rs | 16 +- .../Windows/Win32/System/GroupPolicy/impl.rs | 176 +- .../src/Windows/Win32/System/Iis/impl.rs | 88 +- .../Win32/System/MessageQueuing/impl.rs | 172 +- .../src/Windows/Win32/System/Mmc/impl.rs | 276 +-- .../src/Windows/Win32/System/Ole/impl.rs | 372 ++-- .../Win32/System/ParentalControls/impl.rs | 32 +- .../Windows/Win32/System/Performance/impl.rs | 132 +- .../System/RealTimeCommunications/impl.rs | 264 +-- .../Win32/System/RemoteAssistance/impl.rs | 12 +- .../Win32/System/RemoteDesktop/impl.rs | 404 ++-- .../Win32/System/RemoteManagement/impl.rs | 48 +- .../src/Windows/Win32/System/Search/impl.rs | 700 +++---- .../Win32/System/SecurityCenter/impl.rs | 20 +- .../Windows/Win32/System/ServerBackup/impl.rs | 12 +- .../SettingsManagementInfrastructure/impl.rs | 32 +- .../src/Windows/Win32/System/SideShow/impl.rs | 44 +- .../Win32/System/TaskScheduler/impl.rs | 196 +- .../Windows/Win32/System/Threading/impl.rs | 16 +- .../Win32/System/TransactionServer/impl.rs | 20 +- .../Windows/Win32/System/UpdateAgent/impl.rs | 304 +-- .../Win32/System/UpdateAssessment/impl.rs | 4 +- .../Win32/System/WinRT/AllJoyn/impl.rs | 16 +- .../Win32/System/WinRT/Composition/impl.rs | 32 +- .../Win32/System/WinRT/CoreInputView/impl.rs | 4 +- .../Win32/System/WinRT/Direct3D11/impl.rs | 4 +- .../Win32/System/WinRT/Display/impl.rs | 8 +- .../System/WinRT/Graphics/Capture/impl.rs | 4 +- .../System/WinRT/Graphics/Direct2D/impl.rs | 8 +- .../System/WinRT/Graphics/Imaging/impl.rs | 8 +- .../Win32/System/WinRT/Holographic/impl.rs | 16 +- .../Win32/System/WinRT/Isolation/impl.rs | 4 +- .../src/Windows/Win32/System/WinRT/ML/impl.rs | 24 +- .../Windows/Win32/System/WinRT/Media/impl.rs | 16 +- .../Win32/System/WinRT/Metadata/impl.rs | 72 +- .../Windows/Win32/System/WinRT/Pdf/impl.rs | 4 +- .../Win32/System/WinRT/Printing/impl.rs | 28 +- .../Windows/Win32/System/WinRT/Shell/impl.rs | 4 +- .../Win32/System/WinRT/Storage/impl.rs | 24 +- .../src/Windows/Win32/System/WinRT/impl.rs | 152 +- .../Win32/System/WindowsProgramming/impl.rs | 40 +- .../Windows/Win32/System/WindowsSync/impl.rs | 316 ++-- .../src/Windows/Win32/System/Wmi/impl.rs | 280 +-- .../Windows/Win32/UI/Accessibility/impl.rs | 544 +++--- .../src/Windows/Win32/UI/Animation/impl.rs | 124 +- .../src/Windows/Win32/UI/ColorSystem/impl.rs | 8 +- .../Windows/Win32/UI/Controls/Dialogs/impl.rs | 8 +- .../Win32/UI/Controls/RichEdit/impl.rs | 96 +- .../src/Windows/Win32/UI/Controls/impl.rs | 8 +- .../src/Windows/Win32/UI/Input/Ime/impl.rs | 68 +- .../src/Windows/Win32/UI/Input/Ink/impl.rs | 24 +- .../src/Windows/Win32/UI/Input/Radial/impl.rs | 12 +- .../src/Windows/Win32/UI/Input/Touch/impl.rs | 12 +- .../LegacyWindowsEnvironmentFeatures/impl.rs | 32 +- .../Windows/Win32/UI/Notifications/impl.rs | 4 +- .../src/Windows/Win32/UI/Ribbon/impl.rs | 48 +- .../src/Windows/Win32/UI/Shell/Common/impl.rs | 8 +- .../Win32/UI/Shell/PropertiesSystem/impl.rs | 104 +- .../src/Windows/Win32/UI/Shell/impl.rs | 1664 ++++++++--------- .../src/Windows/Win32/UI/TabletPC/impl.rs | 276 +-- .../src/Windows/Win32/UI/TextServices/impl.rs | 624 +++---- .../windows/src/Windows/Win32/UI/Wpf/impl.rs | 80 +- .../Win32/Web/InternetExplorer/impl.rs | 300 +-- 305 files changed, 14640 insertions(+), 14640 deletions(-) diff --git a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs index c7607c6de3..7f4a985cfa 100644 --- a/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs +++ b/crates/libs/windows/src/Windows/AI/MachineLearning/impl.rs @@ -64,8 +64,8 @@ impl ILearningModelFeatureDescriptor_Vtbl { IsRequired: IsRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl ILearningModelFeatureValue_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl ILearningModelOperatorProvider_Vtbl { pub const fn new, Impl: ILearningModelOperatorProvider_Impl, const OFFSET: isize>() -> ILearningModelOperatorProvider_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"AI_MachineLearning\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -149,7 +149,7 @@ impl ITensor_Vtbl { Shape: Shape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs index 943a192c10..5f5871a351 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Activation/impl.rs @@ -50,8 +50,8 @@ impl IActivatedEventArgs_Vtbl { SplashScreen: SplashScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IActivatedEventArgsWithUser_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IApplicationViewActivatedEventArgs_Vtbl { CurrentlyShownApplicationViewId: CurrentlyShownApplicationViewId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAppointmentsProviderActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -172,8 +172,8 @@ impl IAppointmentsProviderAddAppointmentActivatedEventArgs_Vtbl { AddAppointmentOperation: AddAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -205,8 +205,8 @@ impl IAppointmentsProviderRemoveAppointmentActivatedEventArgs_Vtbl { RemoveAppointmentOperation: RemoveAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Appointments_AppointmentsProvider\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IAppointmentsProviderReplaceAppointmentActivatedEventArgs_Vtbl { ReplaceAppointmentOperation: ReplaceAppointmentOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IAppointmentsProviderShowAppointmentDetailsActivatedEventArgs_Vtbl { RoamingId: RoamingId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IAppointmentsProviderShowTimeFrameActivatedEventArgs_Vtbl { Duration: Duration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IBackgroundActivatedEventArgs_Vtbl { TaskInstance: TaskInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -407,8 +407,8 @@ impl IBarcodeScannerPreviewActivatedEventArgs_Vtbl { ConnectionId: ConnectionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Provider\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl ICachedFileUpdaterActivatedEventArgs_Vtbl { CachedFileUpdaterUI: CachedFileUpdaterUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -484,8 +484,8 @@ impl ICameraSettingsActivatedEventArgs_Vtbl { VideoDeviceExtension: VideoDeviceExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl ICommandLineActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -541,8 +541,8 @@ impl IContactActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IContactCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -649,8 +649,8 @@ impl IContactMapActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IContactMessageActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -757,8 +757,8 @@ impl IContactPanelActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts_Provider\"`, `\"implement\"`*"] @@ -790,8 +790,8 @@ impl IContactPickerActivatedEventArgs_Vtbl { ContactPickerUI: ContactPickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -851,8 +851,8 @@ impl IContactPostActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl IContactVideoCallActivatedEventArgs_Vtbl { Contact: Contact::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -939,8 +939,8 @@ impl IContactsProviderActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Verb: Verb:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IContinuationActivatedEventArgs_Vtbl { ContinuationData: ContinuationData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1016,8 +1016,8 @@ impl IDeviceActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Enumeration\"`, `\"implement\"`*"] @@ -1049,8 +1049,8 @@ impl IDevicePairingActivatedEventArgs_Vtbl { DeviceInformation: DeviceInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1079,8 +1079,8 @@ impl IDialReceiverActivatedEventArgs_Vtbl { AppName: AppName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IFileActivatedEventArgs_Vtbl { Verb: Verb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1156,8 +1156,8 @@ impl IFileActivatedEventArgsWithCallerPackageFamilyName_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage_Search\"`, `\"implement\"`*"] @@ -1189,8 +1189,8 @@ impl IFileActivatedEventArgsWithNeighboringFiles_Vtbl { NeighboringFilesQuery: NeighboringFilesQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`, `\"implement\"`*"] @@ -1222,8 +1222,8 @@ impl IFileOpenPickerActivatedEventArgs_Vtbl { FileOpenPickerUI: FileOpenPickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1252,8 +1252,8 @@ impl IFileOpenPickerActivatedEventArgs2_Vtbl { CallerPackageFamilyName: CallerPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IFileOpenPickerContinuationEventArgs_Vtbl { Files: Files::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Storage_Pickers_Provider\"`, `\"implement\"`*"] @@ -1318,8 +1318,8 @@ impl IFileSavePickerActivatedEventArgs_Vtbl { FileSavePickerUI: FileSavePickerUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IFileSavePickerActivatedEventArgs2_Vtbl { EnterpriseId: EnterpriseId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1392,8 +1392,8 @@ impl IFileSavePickerContinuationEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), File: File:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -1425,8 +1425,8 @@ impl IFolderPickerContinuationEventArgs_Vtbl { Folder: Folder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1469,8 +1469,8 @@ impl ILaunchActivatedEventArgs_Vtbl { TileId: TileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl ILaunchActivatedEventArgs2_Vtbl { TileActivatedInfo: TileActivatedInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1526,8 +1526,8 @@ impl ILockScreenActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Info: Info:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Calls\"`, `\"implement\"`*"] @@ -1559,8 +1559,8 @@ impl ILockScreenCallActivatedEventArgs_Vtbl { CallUI: CallUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1585,8 +1585,8 @@ impl IPhoneCallActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), LineId: LineId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl IPickerReturnedActivatedEventArgs_Vtbl { PickerOperationId: PickerOperationId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1644,8 +1644,8 @@ impl IPrelaunchActivatedEventArgs_Vtbl { PrelaunchActivated: PrelaunchActivated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`, `\"implement\"`*"] @@ -1677,8 +1677,8 @@ impl IPrint3DWorkflowActivatedEventArgs_Vtbl { Workflow: Workflow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Devices_Printers_Extensions\"`, `\"implement\"`*"] @@ -1710,8 +1710,8 @@ impl IPrintTaskSettingsActivatedEventArgs_Vtbl { Configuration: Configuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1740,8 +1740,8 @@ impl IProtocolActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Uri: Uri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IProtocolActivatedEventArgsWithCallerPackageFamilyNameAndData_Vtbl { Data: Data::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"System\"`, `\"implement\"`*"] @@ -1820,8 +1820,8 @@ impl IProtocolForResultsActivatedEventArgs_Vtbl { ProtocolForResultsOperation: ProtocolForResultsOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IRestrictedLaunchActivatedEventArgs_Vtbl { SharedContext: SharedContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1894,8 +1894,8 @@ impl ISearchActivatedEventArgs_Vtbl { Language: Language::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Search\"`, `\"implement\"`*"] @@ -1927,8 +1927,8 @@ impl ISearchActivatedEventArgsWithLinguisticDetails_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_DataTransfer_ShareTarget\"`, `\"implement\"`*"] @@ -1960,8 +1960,8 @@ impl IShareTargetActivatedEventArgs_Vtbl { ShareOperation: ShareOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"implement\"`*"] @@ -1987,8 +1987,8 @@ impl IStartupTaskActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), TaskId: TaskId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -2034,8 +2034,8 @@ impl IToastNotificationActivatedEventArgs_Vtbl { UserInput: UserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_UserDataAccounts_Provider\"`, `\"implement\"`*"] @@ -2067,8 +2067,8 @@ impl IUserDataAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"UI_ViewManagement\"`, `\"implement\"`*"] @@ -2100,8 +2100,8 @@ impl IViewSwitcherProvider_Vtbl { ViewSwitcher: ViewSwitcher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Media_SpeechRecognition\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl IVoiceCommandActivatedEventArgs_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Result: Result:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"ApplicationModel_Wallet\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -2190,8 +2190,8 @@ impl IWalletActionActivatedEventArgs_Vtbl { ActionId: ActionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -2223,8 +2223,8 @@ impl IWebAccountProviderActivatedEventArgs_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Activation\"`, `\"Foundation_Collections\"`, `\"Security_Authentication_Web\"`, `\"implement\"`*"] @@ -2256,7 +2256,7 @@ impl IWebAuthenticationBrokerContinuationEventArgs_Vtbl { WebAuthenticationResult: WebAuthenticationResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs index fe4d9f171a..b27a584512 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Appointments/impl.rs @@ -52,7 +52,7 @@ impl IAppointmentParticipant_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs index 5864e6b29f..45461c4135 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/impl.rs @@ -7,8 +7,8 @@ impl IBackgroundCondition_Vtbl { pub const fn new, Impl: IBackgroundCondition_Impl, const OFFSET: isize>() -> IBackgroundCondition_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -27,8 +27,8 @@ impl IBackgroundTask_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IBackgroundTaskInstance_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl IBackgroundTaskInstance2_Vtbl { GetThrottleCount: GetThrottleCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"System\"`, `\"implement\"`*"] @@ -216,8 +216,8 @@ impl IBackgroundTaskInstance4_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IBackgroundTaskRegistration_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IBackgroundTaskRegistration2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trigger: Trigger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IBackgroundTaskRegistration3_Vtbl { TaskGroup: TaskGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Background\"`, `\"implement\"`*"] @@ -385,7 +385,7 @@ impl IBackgroundTrigger_Vtbl { pub const fn new, Impl: IBackgroundTrigger_Impl, const OFFSET: isize>() -> IBackgroundTrigger_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs index 8a8ad8850d..b9101f746e 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Background/mod.rs @@ -5824,9 +5824,9 @@ impl, BackgroundTaskCa base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5895,9 +5895,9 @@ impl, ::core::optio base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5966,9 +5966,9 @@ impl, ::core::optio base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs index 071741ed2b..e0ec23495c 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Chat/impl.rs @@ -20,7 +20,7 @@ impl IChatItem_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ItemKind: ItemKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs index abb7ac7f7b..cb3010a953 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Contacts/impl.rs @@ -64,8 +64,8 @@ impl IContactField_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl IContactFieldFactory_Vtbl { CreateField_Custom: CreateField_Custom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IContactInstantMessageFieldFactory_Vtbl { CreateInstantMessage_All: CreateInstantMessage_All::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Contacts\"`, `\"implement\"`*"] @@ -241,7 +241,7 @@ impl IContactLocationFieldFactory_Vtbl { CreateLocation_All: CreateLocation_All::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs index 7806ed980f..1798f42868 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Core/impl.rs @@ -33,8 +33,8 @@ impl ICoreApplicationUnhandledError_Vtbl { RemoveUnhandledErrorDetected: RemoveUnhandledErrorDetected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"UI_Core\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IFrameworkView_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel_Core\"`, `\"implement\"`*"] @@ -114,7 +114,7 @@ impl IFrameworkViewSource_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateView: CreateView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs index f27e3688a1..31c130b38f 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/DragDrop/Core/impl.rs @@ -69,7 +69,7 @@ impl ICoreDropOperationTarget_Vtbl { DropAsync: DropAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs index 8089e0b282..60513d3649 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/DataTransfer/mod.rs @@ -3302,9 +3302,9 @@ impl) -> ::windows_core::R base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3372,9 +3372,9 @@ impl) -> ::windows_core base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs index 0d6a5a3348..53f6f257aa 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Payments/mod.rs @@ -2247,9 +2247,9 @@ impl, ::core::option::Option<&P base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs index b0114f3726..e35c94be01 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Search/impl.rs @@ -55,7 +55,7 @@ impl ISearchPaneQueryChangedEventArgs_Vtbl { LinguisticDetails: LinguisticDetails::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs index d2a1f1eaa6..f59d9363a4 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/Store/mod.rs @@ -1494,9 +1494,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs index 4b08ae2720..d4f9b2fb81 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserActivities/impl.rs @@ -21,7 +21,7 @@ impl IUserActivityContentInfo_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs index f6cf090ebd..95572e8cfd 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/UserDataAccounts/Provider/impl.rs @@ -20,7 +20,7 @@ impl IUserDataAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs index db088dba2b..ed24e3fc21 100644 --- a/crates/libs/windows/src/Windows/ApplicationModel/impl.rs +++ b/crates/libs/windows/src/Windows/ApplicationModel/impl.rs @@ -27,8 +27,8 @@ impl IEnteredBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl ILeavingBackgroundEventArgs_Vtbl { GetDeferral: GetDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IPackageCatalogStatics2_Vtbl { OpenForPackage: OpenForPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl ISuspendingDeferral_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Complete: Complete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl ISuspendingEventArgs_Vtbl { SuspendingOperation: SuspendingOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"ApplicationModel\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -186,7 +186,7 @@ impl ISuspendingOperation_Vtbl { Deadline: Deadline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Json/impl.rs b/crates/libs/windows/src/Windows/Data/Json/impl.rs index 624699842a..cbb168eeb7 100644 --- a/crates/libs/windows/src/Windows/Data/Json/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Json/impl.rs @@ -105,7 +105,7 @@ impl IJsonValue_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Data/Text/mod.rs b/crates/libs/windows/src/Windows/Data/Text/mod.rs index 06fb699d19..67138675c1 100644 --- a/crates/libs/windows/src/Windows/Data/Text/mod.rs +++ b/crates/libs/windows/src/Windows/Data/Text/mod.rs @@ -1332,9 +1332,9 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1416,9 +1416,9 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs index 99b0c63876..d3ef157e95 100644 --- a/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs +++ b/crates/libs/windows/src/Windows/Data/Xml/Dom/impl.rs @@ -86,8 +86,8 @@ impl IXmlCharacterData_Vtbl { ReplaceData: ReplaceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -401,8 +401,8 @@ impl IXmlNode_Vtbl { SetPrefix: SetPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IXmlNodeSelector_Vtbl { SelectNodesNS: SelectNodesNS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -524,8 +524,8 @@ impl IXmlNodeSerializer_Vtbl { SetInnerText: SetInnerText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Data_Xml_Dom\"`, `\"implement\"`*"] @@ -551,7 +551,7 @@ impl IXmlText_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SplitText: SplitText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs index 356fd4ec39..daebd33938 100644 --- a/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Adc/Provider/impl.rs @@ -122,8 +122,8 @@ impl IAdcControllerProvider_Vtbl { ReadValue: ReadValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Adc_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -152,7 +152,7 @@ impl IAdcProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs index 203805add0..abb37207f2 100644 --- a/crates/libs/windows/src/Windows/Devices/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Custom/impl.rs @@ -75,7 +75,7 @@ impl IIOControlCode_Vtbl { ControlCode: ControlCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs index 56997434d4..55def3269c 100644 --- a/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Enumeration/impl.rs @@ -7,7 +7,7 @@ impl IDevicePairingSettings_Vtbl { pub const fn new, Impl: IDevicePairingSettings_Impl, const OFFSET: isize>() -> IDevicePairingSettings_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs index 9bd273cbce..a5129fa976 100644 --- a/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Geolocation/impl.rs @@ -49,7 +49,7 @@ impl IGeoshape_Vtbl { AltitudeReferenceSystem: AltitudeReferenceSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs index 1fb127d0fa..6887624323 100644 --- a/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Gpio/Provider/impl.rs @@ -37,8 +37,8 @@ impl IGpioControllerProvider_Vtbl { OpenPinProvider: OpenPinProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IGpioPinProvider_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Gpio_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -205,7 +205,7 @@ impl IGpioProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs index ccd58191ef..e880808251 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/Provider/impl.rs @@ -24,8 +24,8 @@ impl II2cControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_I2c_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl II2cDeviceProvider_Vtbl { WriteReadPartial: WriteReadPartial::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_I2c_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -150,7 +150,7 @@ impl II2cProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs index 179623c5c4..de9a580f84 100644 --- a/crates/libs/windows/src/Windows/Devices/I2c/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/I2c/impl.rs @@ -55,7 +55,7 @@ impl II2cDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs index 9f86661a20..0b74cf86b1 100644 --- a/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Lights/Effects/impl.rs @@ -30,7 +30,7 @@ impl ILampArrayEffect_Vtbl { SetZIndex: SetZIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs index d2978883a8..84344a0d92 100644 --- a/crates/libs/windows/src/Windows/Devices/Midi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Midi/impl.rs @@ -53,8 +53,8 @@ impl IMidiMessage_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Midi\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -100,7 +100,7 @@ impl IMidiOutPort_Vtbl { DeviceId: DeviceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs index 8b0c1935bb..f58cb8e2fa 100644 --- a/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/PointOfService/impl.rs @@ -24,8 +24,8 @@ impl ICashDrawerEventSourceEventArgs_Vtbl { CashDrawer: CashDrawer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl ICommonClaimedPosPrinterStation_Vtbl { ValidateData: ValidateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl ICommonPosPrintStationCapabilities_Vtbl { SupportedCharactersPerLine: SupportedCharactersPerLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl ICommonReceiptSlipCapabilities_Vtbl { SupportedBitmapRotations: SupportedBitmapRotations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl IPosPrinterJob_Vtbl { ExecuteAsync: ExecuteAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_PointOfService\"`, `\"Foundation\"`, `\"Graphics_Imaging\"`, `\"implement\"`*"] @@ -762,7 +762,7 @@ impl IReceiptOrSlipJob_Vtbl { PrintBitmapCustomWidthCustomAlign: PrintBitmapCustomWidthCustomAlign::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs index 99e8dfe0e1..e81b7d14be 100644 --- a/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Pwm/Provider/impl.rs @@ -110,8 +110,8 @@ impl IPwmControllerProvider_Vtbl { SetPulseParameters: SetPulseParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Pwm_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -140,7 +140,7 @@ impl IPwmProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetControllers: GetControllers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs index c005ae1c8e..a4fecc471a 100644 --- a/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Scanners/impl.rs @@ -56,8 +56,8 @@ impl IImageScannerFormatConfiguration_Vtbl { IsFormatSupported: IsFormatSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Scanners\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -416,7 +416,7 @@ impl IImageScannerSourceConfiguration_Vtbl { SetContrast: SetContrast::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs index 739d26a9fa..fa31424326 100644 --- a/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sensors/impl.rs @@ -7,7 +7,7 @@ impl ISensorDataThreshold_Vtbl { pub const fn new, Impl: ISensorDataThreshold_Impl, const OFFSET: isize>() -> ISensorDataThreshold_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs index eefaf817e7..998e2f94e8 100644 --- a/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/SmartCards/mod.rs @@ -4528,9 +4528,9 @@ impl, ::core::option::Op base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs index af9acd1de3..82f868cca2 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/impl.rs @@ -55,8 +55,8 @@ impl ISmsBinaryMessage_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl ISmsDevice_Vtbl { RemoveSmsDeviceStatusChanged: RemoveSmsDeviceStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"implement\"`*"] @@ -237,8 +237,8 @@ impl ISmsMessage_Vtbl { MessageClass: MessageClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl ISmsMessageBase_Vtbl { SimIccId: SimIccId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Sms\"`, `\"Foundation_Collections\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -488,7 +488,7 @@ impl ISmsTextMessage_Vtbl { ToBinaryMessages: ToBinaryMessages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs index 11c980590a..c8d39b624e 100644 --- a/crates/libs/windows/src/Windows/Devices/Sms/mod.rs +++ b/crates/libs/windows/src/Windows/Devices/Sms/mod.rs @@ -4411,9 +4411,9 @@ impl) -> ::windows_core::Result<()> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -4495,9 +4495,9 @@ impl, ::core::option::Option<&SmsMes base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs index 26f7f30469..477d4de53b 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/Provider/impl.rs @@ -24,8 +24,8 @@ impl ISpiControllerProvider_Vtbl { GetDeviceProvider: GetDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Spi_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl ISpiDeviceProvider_Vtbl { TransferFullDuplex: TransferFullDuplex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Devices_Spi_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -132,7 +132,7 @@ impl ISpiProvider_Vtbl { GetControllersAsync: GetControllersAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs index 90888fc1e7..82d0a66e57 100644 --- a/crates/libs/windows/src/Windows/Devices/Spi/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/Spi/impl.rs @@ -69,7 +69,7 @@ impl ISpiDeviceStatics_Vtbl { FromIdAsync: FromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Devices/impl.rs b/crates/libs/windows/src/Windows/Devices/impl.rs index e8edae9c9b..d4ac0d925b 100644 --- a/crates/libs/windows/src/Windows/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Devices/impl.rs @@ -83,7 +83,7 @@ impl ILowLevelDevicesAggregateProvider_Vtbl { SpiControllerProvider: SpiControllerProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs index 45d188f2c3..6a45952ecc 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/impl.rs @@ -28,8 +28,8 @@ impl IIterable_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -101,8 +101,8 @@ impl IIterator_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IMapChangedEventArgs_Vtbl { K: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IObservableVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IPropertySet_Vtbl { pub const fn new, Impl: IPropertySet_Impl, const OFFSET: isize>() -> IPropertySet_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IVector_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl IVectorChangedEventArgs_Vtbl { Index: Index::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IVectorView_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[::windows_implement::implement(IIterable)] diff --git a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs index b5d7cc3aa1..230bccc736 100644 --- a/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/Collections/mod.rs @@ -1486,9 +1486,9 @@ impl, V: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1569,9 +1569,9 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs index 44a6eab65b..9ada3b0f09 100644 --- a/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/Diagnostics/impl.rs @@ -30,8 +30,8 @@ impl IErrorReportingSettings_Vtbl { GetErrorOptions: GetErrorOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"Storage\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IFileLoggingSession_Vtbl { RemoveLogFileGenerated: RemoveLogFileGenerated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl ILoggingChannel_Vtbl { RemoveLoggingEnabled: RemoveLoggingEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"Storage\"`, `\"implement\"`*"] @@ -290,8 +290,8 @@ impl ILoggingSession_Vtbl { RemoveLoggingChannel: RemoveLoggingChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation_Diagnostics\"`, `\"implement\"`*"] @@ -429,7 +429,7 @@ impl ILoggingTarget_Vtbl { StartActivityWithFieldsAndOptions: StartActivityWithFieldsAndOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/impl.rs b/crates/libs/windows/src/Windows/Foundation/impl.rs index 9d327bc945..b9206b6556 100644 --- a/crates/libs/windows/src/Windows/Foundation/impl.rs +++ b/crates/libs/windows/src/Windows/Foundation/impl.rs @@ -38,8 +38,8 @@ impl IAsyncAction_Vtbl { GetResults: GetResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IAsyncActionWithProgress_ TProgress: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl IAsyncInfo_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IAsyncOperation_Vtbl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -329,8 +329,8 @@ impl IClosable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl IGetActivationFactory_Vtbl { GetActivationFactory: GetActivationFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IMemoryBuffer_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateReference: CreateReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -435,8 +435,8 @@ impl IMemoryBufferReference_Vtbl { RemoveClosed: RemoveClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -845,8 +845,8 @@ impl IPropertyValue_Vtbl { GetRectArray: GetRectArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -879,8 +879,8 @@ impl IReference_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IReferenceArray_Vtbl { T: ::core::marker::PhantomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == & as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -941,8 +941,8 @@ impl IStringable_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToString: ToString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Foundation\"`, `\"implement\"`*"] @@ -985,7 +985,7 @@ impl IWwwFormUrlDecoderEntry_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Foundation/mod.rs b/crates/libs/windows/src/Windows/Foundation/mod.rs index 684dba673c..590f5a2830 100644 --- a/crates/libs/windows/src/Windows/Foundation/mod.rs +++ b/crates/libs/windows/src/Windows/Foundation/mod.rs @@ -2799,9 +2799,9 @@ impl, AsyncStatus) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2876,9 +2876,9 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2956,9 +2956,9 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3036,9 +3036,9 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3120,9 +3120,9 @@ impl, TProgress: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3205,9 +3205,9 @@ impl, TProgress: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3278,9 +3278,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3355,9 +3355,9 @@ impl, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -3439,9 +3439,9 @@ impl, TResult: ::core::marker::PhantomData::, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == & as ::windows_core::ComInterface>::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == as ::windows_core::ComInterface>::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs index 3a16d6050b..59878b9e9e 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/Custom/impl.rs @@ -38,8 +38,8 @@ impl ICustomGameControllerFactory_Vtbl { OnGameControllerRemoved: OnGameControllerRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl IGameControllerInputSink_Vtbl { OnInputSuspended: OnInputSuspended::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -149,8 +149,8 @@ impl IGameControllerProvider_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl IGipGameControllerInputSink_Vtbl { OnMessageReceived: OnMessageReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IHidGameControllerInputSink_Vtbl { OnInputReportReceived: OnInputReportReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input_Custom\"`, `\"implement\"`*"] @@ -225,7 +225,7 @@ impl IXusbGameControllerInputSink_Vtbl { OnInputReceived: OnInputReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs index aa84f899a5..4826d8c45f 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/ForceFeedback/impl.rs @@ -57,7 +57,7 @@ impl IForceFeedbackEffect_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs index d3036476fc..9241f97533 100644 --- a/crates/libs/windows/src/Windows/Gaming/Input/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Input/impl.rs @@ -114,8 +114,8 @@ impl IGameController_Vtbl { User: User::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Gaming_Input\"`, `\"Devices_Power\"`, `\"implement\"`*"] @@ -147,7 +147,7 @@ impl IGameControllerBatteryInfo_Vtbl { TryGetBatteryReport: TryGetBatteryReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs index 95a8c6c7ed..bca025588c 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/impl.rs @@ -82,7 +82,7 @@ impl IGameListEntry_Vtbl { SetCategoryAsync: SetCategoryAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs index 17f675f22a..5f44a27f43 100644 --- a/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs +++ b/crates/libs/windows/src/Windows/Gaming/Preview/GamesEnumeration/mod.rs @@ -847,9 +847,9 @@ impl) -> ::windows_core::Result< base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -914,9 +914,9 @@ impl ::windows_core::Result<()> + ::core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs index 38be6826bc..6300676af1 100644 --- a/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs +++ b/crates/libs/windows/src/Windows/Globalization/NumberFormatting/impl.rs @@ -52,8 +52,8 @@ impl INumberFormatter_Vtbl { FormatDouble: FormatDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl INumberFormatter2_Vtbl { FormatDouble: FormatDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl INumberFormatterOptions_Vtbl { ResolvedGeographicRegion: ResolvedGeographicRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -347,8 +347,8 @@ impl INumberParser_Vtbl { ParseDouble: ParseDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -441,8 +441,8 @@ impl INumberRounder_Vtbl { RoundDouble: RoundDouble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl INumberRounderOption_Vtbl { SetNumberRounder: SetNumberRounder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl ISignedZeroOption_Vtbl { SetIsZeroSigned: SetIsZeroSigned::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Globalization_NumberFormatting\"`, `\"implement\"`*"] @@ -550,7 +550,7 @@ impl ISignificantDigitsOption_Vtbl { SetSignificantDigits: SetSignificantDigits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs index c029441505..d4b3c48406 100644 --- a/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/DirectX/Direct3D11/impl.rs @@ -17,8 +17,8 @@ impl IDirect3DDevice_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Trim: Trim:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_DirectX_Direct3D11\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -46,7 +46,7 @@ impl IDirect3DSurface_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Description: Description:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs index be83c3633f..0138aae6fb 100644 --- a/crates/libs/windows/src/Windows/Graphics/Display/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Display/mod.rs @@ -1948,9 +1948,9 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs index eee812e04a..2bc65bc92b 100644 --- a/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Effects/impl.rs @@ -31,8 +31,8 @@ impl IGraphicsEffect_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Effects\"`, `\"implement\"`*"] @@ -44,7 +44,7 @@ impl IGraphicsEffectSource_Vtbl { pub const fn new, Impl: IGraphicsEffectSource_Impl, const OFFSET: isize>() -> IGraphicsEffectSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs index c3b6cbb43a..3abd5ab002 100644 --- a/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Imaging/impl.rs @@ -173,8 +173,8 @@ impl IBitmapFrame_Vtbl { GetPixelDataTransformedAsync: GetPixelDataTransformedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IBitmapFrameWithSoftwareBitmap_Vtbl { GetSoftwareBitmapTransformedAsync: GetSoftwareBitmapTransformedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Imaging\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -267,7 +267,7 @@ impl IBitmapPropertiesView_Vtbl { GetPropertiesAsync: GetPropertiesAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs index 6e00aebd01..dc86687de7 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/OptionDetails/impl.rs @@ -31,8 +31,8 @@ impl IPrintCustomOptionDetails_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -61,8 +61,8 @@ impl IPrintItemListOptionDetails_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Items: Items:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl IPrintNumberOptionDetails_Vtbl { MaxValue: MaxValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl IPrintOptionDetails_Vtbl { TrySetValue: TrySetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing_OptionDetails\"`, `\"implement\"`*"] @@ -243,7 +243,7 @@ impl IPrintTextOptionDetails_Vtbl { MaxCharacters: MaxCharacters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs index ea5913f347..a97f61da4a 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/impl.rs @@ -7,8 +7,8 @@ impl IPrintDocumentSource_Vtbl { pub const fn new, Impl: IPrintDocumentSource_Impl, const OFFSET: isize>() -> IPrintDocumentSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -39,8 +39,8 @@ impl IPrintTaskOptionsCore_Vtbl { GetPageDescription: GetPageDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IPrintTaskOptionsCoreProperties_Vtbl { NumberOfCopies: NumberOfCopies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Graphics_Printing\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -334,7 +334,7 @@ impl IPrintTaskOptionsCoreUIConfiguration_Vtbl { DisplayedOptions: DisplayedOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs index d1f33d75c6..d43953eb37 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing/mod.rs @@ -2390,9 +2390,9 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs index a5ca7fa00f..3c15de37ec 100644 --- a/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs +++ b/crates/libs/windows/src/Windows/Graphics/Printing3D/mod.rs @@ -3066,9 +3066,9 @@ impl) -> ::wind base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Graphics/impl.rs b/crates/libs/windows/src/Windows/Graphics/impl.rs index 318837ae62..d2583fb5b4 100644 --- a/crates/libs/windows/src/Windows/Graphics/impl.rs +++ b/crates/libs/windows/src/Windows/Graphics/impl.rs @@ -7,7 +7,7 @@ impl IGeometrySource2D_Vtbl { pub const fn new, Impl: IGeometrySource2D_Impl, const OFFSET: isize>() -> IGeometrySource2D_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Media/Audio/impl.rs index 842aea52d6..f6227b8b91 100644 --- a/crates/libs/windows/src/Windows/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Audio/impl.rs @@ -48,8 +48,8 @@ impl IAudioInputNode_Vtbl { RemoveOutgoingConnection: RemoveOutgoingConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IAudioInputNode2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Emitter: Emitter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IAudioNode_Vtbl { EnableEffectsByDefinition: EnableEffectsByDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Audio\"`, `\"Foundation_Collections\"`, `\"Media_Effects\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -240,7 +240,7 @@ impl IAudioNodeWithListener_Vtbl { Listener: Listener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Capture/mod.rs b/crates/libs/windows/src/Windows/Media/Capture/mod.rs index 59bba7ea57..6ec87ff165 100644 --- a/crates/libs/windows/src/Windows/Media/Capture/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Capture/mod.rs @@ -10821,9 +10821,9 @@ impl, ::core::option::Option<&Med base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -10891,9 +10891,9 @@ impl) -> ::windows_core::Result<( base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Media/Core/impl.rs b/crates/libs/windows/src/Windows/Media/Core/impl.rs index a55bcc517d..3992477ff9 100644 --- a/crates/libs/windows/src/Windows/Media/Core/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Core/impl.rs @@ -74,8 +74,8 @@ impl IMediaCue_Vtbl { Id: Id::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IMediaSource_Vtbl { pub const fn new, Impl: IMediaSource_Impl, const OFFSET: isize>() -> IMediaSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl IMediaStreamDescriptor_Vtbl { Language: Language::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IMediaStreamDescriptor2_Vtbl { Label: Label::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"implement\"`*"] @@ -273,8 +273,8 @@ impl IMediaTrack_Vtbl { Label: Label::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl ISingleSelectMediaTrackList_Vtbl { SelectedIndex: SelectedIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Core\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -365,7 +365,7 @@ impl ITimedMetadataTrackProvider_Vtbl { TimedMetadataTracks: TimedMetadataTracks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/impl.rs b/crates/libs/windows/src/Windows/Media/Devices/impl.rs index a65aad5c02..47b0ba72c3 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/impl.rs @@ -37,8 +37,8 @@ impl IDefaultAudioDeviceChangedEventArgs_Vtbl { Role: Role::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Devices\"`, `\"Foundation_Collections\"`, `\"Media_Capture\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -98,7 +98,7 @@ impl IMediaDeviceController_Vtbl { SetMediaStreamPropertiesAsync: SetMediaStreamPropertiesAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Devices/mod.rs b/crates/libs/windows/src/Windows/Media/Devices/mod.rs index 689ac3a4be..2996c71c57 100644 --- a/crates/libs/windows/src/Windows/Media/Devices/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Devices/mod.rs @@ -5868,9 +5868,9 @@ impl) -> ::windows_core::Result<() base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5939,9 +5939,9 @@ impl, ::core::option::Option<&Dial base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6010,9 +6010,9 @@ impl, ::core::option::Option<&Keyp base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6081,9 +6081,9 @@ impl, ::core::option::Option<&Redi base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Media/Effects/impl.rs b/crates/libs/windows/src/Windows/Media/Effects/impl.rs index bdb93488b2..cb3a17562d 100644 --- a/crates/libs/windows/src/Windows/Media/Effects/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Effects/impl.rs @@ -41,8 +41,8 @@ impl IAudioEffectDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IBasicAudioEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl IBasicVideoEffect_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"Graphics_DirectX_Direct3D11\"`, `\"Media_MediaProperties\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IVideoCompositor_Vtbl { DiscardQueuedFrames: DiscardQueuedFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl IVideoCompositorDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Effects\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -369,7 +369,7 @@ impl IVideoEffectDefinition_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs index 8e94282bed..3a02069e7f 100644 --- a/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Media/MediaProperties/impl.rs @@ -62,7 +62,7 @@ impl IMediaEncodingProperties_Vtbl { Subtype: Subtype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Playback/impl.rs b/crates/libs/windows/src/Windows/Media/Playback/impl.rs index 7be2712439..9c7bb3e18e 100644 --- a/crates/libs/windows/src/Windows/Media/Playback/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Playback/impl.rs @@ -34,8 +34,8 @@ impl IMediaEnginePlaybackSource_Vtbl { SetPlaybackSource: SetPlaybackSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Playback\"`, `\"implement\"`*"] @@ -47,7 +47,7 @@ impl IMediaPlaybackSource_Vtbl { pub const fn new, Impl: IMediaPlaybackSource_Impl, const OFFSET: isize>() -> IMediaPlaybackSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs index ba0258154f..d85fed4f48 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/PlayReady/impl.rs @@ -54,8 +54,8 @@ impl INDClosedCaptionDataReceivedEventArgs_Vtbl { ClosedCaptionData: ClosedCaptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl INDCustomData_Vtbl { CustomData: CustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl INDDownloadEngine_Vtbl { Notifier: Notifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -271,8 +271,8 @@ impl INDDownloadEngineNotifier_Vtbl { OnNetworkError: OnNetworkError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -304,8 +304,8 @@ impl INDLicenseFetchCompletedEventArgs_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl INDLicenseFetchDescriptor_Vtbl { SetLicenseFetchChallengeCustomData: SetLicenseFetchChallengeCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -405,8 +405,8 @@ impl INDLicenseFetchResult_Vtbl { ResponseCustomData: ResponseCustomData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -480,8 +480,8 @@ impl INDMessenger_Vtbl { SendLicenseFetchRequestAsync: SendLicenseFetchRequestAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -512,8 +512,8 @@ impl INDProximityDetectionCompletedEventArgs_Vtbl { ProximityDetectionRetryCount: ProximityDetectionRetryCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl INDRegistrationCompletedEventArgs_Vtbl { SetTransmitterCertificateAccepted: SetTransmitterCertificateAccepted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl INDSendResult_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Response: Response:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl INDStartResult_Vtbl { MediaStreamSource: MediaStreamSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"Storage\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl INDStorageFileHelper_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetFileURLs: GetFileURLs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -740,8 +740,8 @@ impl INDStreamParser_Vtbl { Notifier: Notifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"Media_Core\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -787,8 +787,8 @@ impl INDStreamParserNotifier_Vtbl { OnBeginSetupDecryptor: OnBeginSetupDecryptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"deprecated\"`, `\"implement\"`*"] @@ -958,8 +958,8 @@ impl INDTransmitterProperties_Vtbl { ModelNumber: ModelNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1044,8 +1044,8 @@ impl IPlayReadyDomain_Vtbl { DomainJoinUrl: DomainJoinUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1155,8 +1155,8 @@ impl IPlayReadyLicense_Vtbl { GetKIDAtChainDepth: GetKIDAtChainDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1215,8 +1215,8 @@ impl IPlayReadyLicenseAcquisitionServiceRequest_Vtbl { SetDomainServiceId: SetDomainServiceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"implement\"`*"] @@ -1252,8 +1252,8 @@ impl IPlayReadyLicenseSession_Vtbl { ConfigureMediaProtectionManager: ConfigureMediaProtectionManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IPlayReadyLicenseSession2_Vtbl { CreateLicenseIterable: CreateLicenseIterable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IPlayReadySecureStopServiceRequest_Vtbl { PublisherCertificate: PublisherCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media_Protection_PlayReady\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1501,7 +1501,7 @@ impl IPlayReadyServiceRequest_Vtbl { ProcessManualEnablingResponse: ProcessManualEnablingResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/impl.rs b/crates/libs/windows/src/Windows/Media/Protection/impl.rs index 4084844b74..53d7d086be 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/impl.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/impl.rs @@ -36,7 +36,7 @@ impl IMediaProtectionServiceRequest_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/Protection/mod.rs b/crates/libs/windows/src/Windows/Media/Protection/mod.rs index ca614ba505..c7334bdfac 100644 --- a/crates/libs/windows/src/Windows/Media/Protection/mod.rs +++ b/crates/libs/windows/src/Windows/Media/Protection/mod.rs @@ -1023,9 +1023,9 @@ impl, ::core::option::O base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1093,9 +1093,9 @@ impl) -> ::windows_core base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1164,9 +1164,9 @@ impl, ::core::option::O base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs index 0a4b97d296..d2ea2a7b73 100644 --- a/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs +++ b/crates/libs/windows/src/Windows/Media/SpeechRecognition/impl.rs @@ -84,7 +84,7 @@ impl ISpeechRecognitionConstraint_Vtbl { SetProbability: SetProbability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Media/impl.rs b/crates/libs/windows/src/Windows/Media/impl.rs index f071c1f5a7..532857c338 100644 --- a/crates/libs/windows/src/Windows/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Media/impl.rs @@ -17,8 +17,8 @@ impl IMediaExtension_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SetProperties: SetProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IMediaFrame_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IMediaMarker_Vtbl { Text: Text::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Media\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl IMediaMarkers_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Markers: Markers:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs index d7131a793f..263178cb06 100644 --- a/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/BackgroundTransfer/impl.rs @@ -124,8 +124,8 @@ impl IBackgroundTransferBase_Vtbl { SetCostPolicy: SetCostPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IBackgroundTransferContentPartFactory_Vtbl { CreateWithNameAndFileName: CreateWithNameAndFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -290,8 +290,8 @@ impl IBackgroundTransferOperation_Vtbl { GetResponseInformation: GetResponseInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_BackgroundTransfer\"`, `\"implement\"`*"] @@ -326,7 +326,7 @@ impl IBackgroundTransferOperationPriority_Vtbl { SetPriority: SetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs index df65a36708..773eac2264 100644 --- a/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Connectivity/mod.rs @@ -3075,9 +3075,9 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs index d5a086155c..41fca96b10 100644 --- a/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs +++ b/crates/libs/windows/src/Windows/Networking/Proximity/mod.rs @@ -1164,9 +1164,9 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1234,9 +1234,9 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1305,9 +1305,9 @@ impl, ::core::option::Option<& base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1375,9 +1375,9 @@ impl, i64) -> ::windows_core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs index f2d8a3e237..4be7e76d16 100644 --- a/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Sockets/impl.rs @@ -24,8 +24,8 @@ impl IControlChannelTriggerEventDetails_Vtbl { ControlChannelTrigger: ControlChannelTrigger::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"implement\"`*"] @@ -79,8 +79,8 @@ impl IControlChannelTriggerResetEventDetails_Vtbl { SoftwareSlotReset: SoftwareSlotReset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IWebSocket_Vtbl { CloseWithStatus: CloseWithStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Credentials\"`, `\"implement\"`*"] @@ -255,8 +255,8 @@ impl IWebSocketControl_Vtbl { SupportedProtocols: SupportedProtocols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IWebSocketControl2_Vtbl { IgnorableServerCertificateErrors: IgnorableServerCertificateErrors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"implement\"`*"] @@ -345,8 +345,8 @@ impl IWebSocketInformation_Vtbl { Protocol: Protocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Sockets\"`, `\"Foundation_Collections\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -419,7 +419,7 @@ impl IWebSocketInformation2_Vtbl { ServerIntermediateCertificates: ServerIntermediateCertificates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs index 28967350e7..e0460fa176 100644 --- a/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs +++ b/crates/libs/windows/src/Windows/Networking/Vpn/impl.rs @@ -17,8 +17,8 @@ impl IVpnChannelStatics_Vtbl { ProcessEventAsync: ProcessEventAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Security_Credentials\"`, `\"Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -92,8 +92,8 @@ impl IVpnCredential_Vtbl { OldPasswordCredential: OldPasswordCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IVpnCustomPrompt_Vtbl { Bordered: Bordered::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IVpnCustomPromptElement_Vtbl { Emphasized: Emphasized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -279,8 +279,8 @@ impl IVpnDomainNameInfoFactory_Vtbl { CreateVpnDomainNameInfo: CreateVpnDomainNameInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IVpnInterfaceIdFactory_Vtbl { CreateVpnInterfaceId: CreateVpnInterfaceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -342,8 +342,8 @@ impl IVpnNamespaceInfoFactory_Vtbl { CreateVpnNamespaceInfo: CreateVpnNamespaceInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IVpnPacketBufferFactory_Vtbl { CreateVpnPacketBuffer: CreateVpnPacketBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl IVpnPlugIn_Vtbl { Decapsulate: Decapsulate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -559,8 +559,8 @@ impl IVpnProfile_Vtbl { SetAlwaysOn: SetAlwaysOn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Networking_Vpn\"`, `\"implement\"`*"] @@ -586,7 +586,7 @@ impl IVpnRouteFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateVpnRoute: CreateVpnRoute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs index 44de0ee3ec..712b331efd 100644 --- a/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/Notification/Management/impl.rs @@ -87,7 +87,7 @@ impl IAccessoryNotificationTriggerDetails_Vtbl { SetStartedProcessing: SetStartedProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs index 2c2d3b128b..7f9aafa59e 100644 --- a/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/PersonalInformation/impl.rs @@ -202,8 +202,8 @@ impl IContactInformation_Vtbl { ToVcardWithOptionsAsync: ToVcardWithOptionsAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Phone_PersonalInformation\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -241,7 +241,7 @@ impl IContactInformation2_Vtbl { SetDisplayPictureDate: SetDisplayPictureDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs index f4a441b3b5..3d92c6fd92 100644 --- a/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs +++ b/crates/libs/windows/src/Windows/Phone/StartScreen/impl.rs @@ -27,7 +27,7 @@ impl IToastNotificationManagerStatics3_Vtbl { CreateToastNotifierForSecondaryTile: CreateToastNotifierForSecondaryTile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs index 38c5a64389..0e132711a3 100644 --- a/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Authentication/Web/Provider/impl.rs @@ -27,8 +27,8 @@ impl IWebAccountProviderBaseReportOperation_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IWebAccountProviderOperation_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Kind: Kind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Security_Authentication_Web_Core\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IWebAccountProviderSilentReportOperation_Vtbl { ReportUserInteractionRequiredWithError: ReportUserInteractionRequiredWithError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IWebAccountProviderTokenObjects_Vtbl { Operation: Operation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"System\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IWebAccountProviderTokenObjects2_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), User: User:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -213,8 +213,8 @@ impl IWebAccountProviderTokenOperation_Vtbl { CacheExpirationTime: CacheExpirationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Security_Authentication_Web_Provider\"`, `\"Security_Authentication_Web_Core\"`, `\"implement\"`*"] @@ -239,7 +239,7 @@ impl IWebAccountProviderUIReportOperation_Vtbl { ReportUserCanceled: ReportUserCanceled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs index 4280b8c658..b9902f6b5b 100644 --- a/crates/libs/windows/src/Windows/Security/Credentials/impl.rs +++ b/crates/libs/windows/src/Windows/Security/Credentials/impl.rs @@ -51,7 +51,7 @@ impl IWebAccount_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs index fd5565c217..9deb9b6741 100644 --- a/crates/libs/windows/src/Windows/Security/Isolation/mod.rs +++ b/crates/libs/windows/src/Windows/Security/Isolation/mod.rs @@ -2400,9 +2400,9 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -2483,9 +2483,9 @@ impl ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs index 26e2fee460..262152d9cf 100644 --- a/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/AccessCache/impl.rs @@ -206,7 +206,7 @@ impl IStorageItemAccessList_Vtbl { MaximumItemsAllowed: MaximumItemsAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs index c695d23350..ac54deb493 100644 --- a/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/BulkAccess/impl.rs @@ -137,7 +137,7 @@ impl IStorageItemInformation_Vtbl { RemovePropertiesUpdated: RemovePropertiesUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs index 58ef27861e..fe5e5851f6 100644 --- a/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/FileProperties/impl.rs @@ -55,7 +55,7 @@ impl IStorageItemExtraProperties_Vtbl { SavePropertiesAsyncOverloadDefault: SavePropertiesAsyncOverloadDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs index 9e62af03ba..f7079113a0 100644 --- a/crates/libs/windows/src/Windows/Storage/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Provider/impl.rs @@ -27,8 +27,8 @@ impl IStorageProviderItemPropertySource_Vtbl { GetItemProperties: GetItemProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl IStorageProviderPropertyCapabilities_Vtbl { IsPropertySupported: IsPropertySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IStorageProviderStatusUISource_Vtbl { RemoveStatusUIChanged: RemoveStatusUIChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IStorageProviderStatusUISourceFactory_Vtbl { GetStatusUISource: GetStatusUISource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IStorageProviderUICommand_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Provider\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl IStorageProviderUriSource_Vtbl { GetContentInfoForPath: GetContentInfoForPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Search/impl.rs b/crates/libs/windows/src/Windows/Storage/Search/impl.rs index 4dfb242901..825b914fc8 100644 --- a/crates/libs/windows/src/Windows/Storage/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Search/impl.rs @@ -90,8 +90,8 @@ impl IIndexableContent_Vtbl { SetStreamContentType: SetStreamContentType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IStorageFolderQueryOperations_Vtbl { IsCommonFileQuerySupported: IsCommonFileQuerySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Search\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -466,7 +466,7 @@ impl IStorageQueryResultBase_Vtbl { ApplyNewQueryOptions: ApplyNewQueryOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs index 1be58bf635..ef9eef69fa 100644 --- a/crates/libs/windows/src/Windows/Storage/Streams/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/Streams/impl.rs @@ -43,8 +43,8 @@ impl IBuffer_Vtbl { SetLength: SetLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IContentTypeProvider_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ContentType: ContentType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IDataReader_Vtbl { DetachStream: DetachStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IDataWriter_Vtbl { DetachStream: DetachStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl IInputStream_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ReadAsync: ReadAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl IInputStreamReference_Vtbl { OpenSequentialReadAsync: OpenSequentialReadAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -784,8 +784,8 @@ impl IOutputStream_Vtbl { FlushAsync: FlushAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -824,8 +824,8 @@ impl IPropertySetSerializer_Vtbl { Deserialize: Deserialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl IRandomAccessStream_Vtbl { CanWrite: CanWrite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -984,8 +984,8 @@ impl IRandomAccessStreamReference_Vtbl { OpenReadAsync: OpenReadAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage_Streams\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -1000,7 +1000,7 @@ impl IRandomAccessStreamWithContentType_Vtbl { pub const fn new, Impl: IRandomAccessStreamWithContentType_Impl, const OFFSET: isize>() -> IRandomAccessStreamWithContentType_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/impl.rs b/crates/libs/windows/src/Windows/Storage/impl.rs index 2061bce074..02d7982630 100644 --- a/crates/libs/windows/src/Windows/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Storage/impl.rs @@ -181,8 +181,8 @@ impl IStorageFile_Vtbl { MoveAndReplaceAsync: MoveAndReplaceAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -228,8 +228,8 @@ impl IStorageFile2_Vtbl { OpenTransactedWriteWithOptionsAsync: OpenTransactedWriteWithOptionsAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IStorageFilePropertiesWithAvailability_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation_Collections\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IStorageFolder_Vtbl { GetItemsAsyncOverloadDefaultStartAndCount: GetItemsAsyncOverloadDefaultStartAndCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl IStorageFolder2_Vtbl { TryGetItemAsync: TryGetItemAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl IStorageItem_Vtbl { IsOfType: IsOfType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"implement\"`*"] @@ -651,8 +651,8 @@ impl IStorageItem2_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IStorageItemProperties_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -829,8 +829,8 @@ impl IStorageItemProperties2_Vtbl { GetScaledImageAsThumbnailAsync: GetScaledImageAsThumbnailAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"Foundation\"`, `\"Storage_FileProperties\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -862,8 +862,8 @@ impl IStorageItemPropertiesWithProvider_Vtbl { Provider: Provider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Storage\"`, `\"implement\"`*"] @@ -885,7 +885,7 @@ impl IStreamedFileDataRequest_Vtbl { FailAndClose: FailAndClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Storage/mod.rs b/crates/libs/windows/src/Windows/Storage/mod.rs index ccc0c34405..183c0e3dbb 100644 --- a/crates/libs/windows/src/Windows/Storage/mod.rs +++ b/crates/libs/windows/src/Windows/Storage/mod.rs @@ -6689,9 +6689,9 @@ impl) -> ::windows_core::Res base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6765,9 +6765,9 @@ impl) -> ::windows_cor base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs index a9fbf2e199..8aa7fc1946 100644 --- a/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/System/Implementation/FileExplorer/impl.rs @@ -33,8 +33,8 @@ impl ISysStorageProviderEventSource_Vtbl { RemoveEventReceived: RemoveEventReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl ISysStorageProviderHandlerFactory_Vtbl { GetEventSource: GetEventSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"System_Implementation_FileExplorer\"`, `\"Foundation\"`, `\"Web_Http\"`, `\"implement\"`*"] @@ -110,7 +110,7 @@ impl ISysStorageProviderHttpRequestProvider_Vtbl { SendRequestAsync: SendRequestAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs index fa37beed14..b7278abd78 100644 --- a/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs +++ b/crates/libs/windows/src/Windows/System/RemoteDesktop/Input/mod.rs @@ -128,9 +128,9 @@ impl ::windows_core::Result + ::core::marker::Send + 's base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs index 1f35b49ea2..588d413131 100644 --- a/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs +++ b/crates/libs/windows/src/Windows/System/RemoteSystems/impl.rs @@ -7,7 +7,7 @@ impl IRemoteSystemFilter_Vtbl { pub const fn new, Impl: IRemoteSystemFilter_Impl, const OFFSET: isize>() -> IRemoteSystemFilter_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs index fbd8153ac0..908a6aeb3a 100644 --- a/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/Core/mod.rs @@ -256,9 +256,9 @@ impl, bool) -> ::windows_core:: base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/System/Threading/mod.rs b/crates/libs/windows/src/Windows/System/Threading/mod.rs index 24470012ae..67749a34d2 100644 --- a/crates/libs/windows/src/Windows/System/Threading/mod.rs +++ b/crates/libs/windows/src/Windows/System/Threading/mod.rs @@ -343,9 +343,9 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -413,9 +413,9 @@ impl) -> ::windows_core::Resul base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -489,9 +489,9 @@ impl) - base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/System/impl.rs b/crates/libs/windows/src/Windows/System/impl.rs index a434710e10..f785918665 100644 --- a/crates/libs/windows/src/Windows/System/impl.rs +++ b/crates/libs/windows/src/Windows/System/impl.rs @@ -33,7 +33,7 @@ impl ILauncherViewOptions_Vtbl { SetDesiredRemainingView: SetDesiredRemainingView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/System/mod.rs b/crates/libs/windows/src/Windows/System/mod.rs index 7963ad24d0..351796e4ad 100644 --- a/crates/libs/windows/src/Windows/System/mod.rs +++ b/crates/libs/windows/src/Windows/System/mod.rs @@ -6138,9 +6138,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs index 8b7696476e..b5ea41c562 100644 --- a/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs +++ b/crates/libs/windows/src/Windows/UI/ApplicationSettings/mod.rs @@ -1253,9 +1253,9 @@ impl) -> ::windows_core::Res base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1324,9 +1324,9 @@ impl, ::core::option::Option base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -1394,9 +1394,9 @@ impl) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs index 5fccdec861..00cd845a6c 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/Interactions/impl.rs @@ -7,8 +7,8 @@ impl ICompositionInteractionSource_Vtbl { pub const fn new, Impl: ICompositionInteractionSource_Impl, const OFFSET: isize>() -> ICompositionInteractionSource_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition_Interactions\"`, `\"implement\"`*"] @@ -65,7 +65,7 @@ impl IInteractionTrackerOwner_Vtbl { ValuesChanged: ValuesChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Composition/impl.rs b/crates/libs/windows/src/Windows/UI/Composition/impl.rs index e460128210..adeec66967 100644 --- a/crates/libs/windows/src/Windows/UI/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Composition/impl.rs @@ -17,8 +17,8 @@ impl IAnimationObject_Vtbl { PopulatePropertyInfo: PopulatePropertyInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl ICompositionAnimationBase_Vtbl { pub const fn new, Impl: ICompositionAnimationBase_Impl, const OFFSET: isize>() -> ICompositionAnimationBase_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl ICompositionSupportsSystemBackdrop_Vtbl { SetSystemBackdrop: SetSystemBackdrop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl ICompositionSurface_Vtbl { pub const fn new, Impl: ICompositionSurface_Impl, const OFFSET: isize>() -> ICompositionSurface_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl ICompositionSurfaceFacade_Vtbl { GetRealSurface: GetRealSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -123,8 +123,8 @@ impl IVisualElement_Vtbl { pub const fn new, Impl: IVisualElement_Impl, const OFFSET: isize>() -> IVisualElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Composition\"`, `\"implement\"`*"] @@ -153,7 +153,7 @@ impl IVisualElement2_Vtbl { GetVisualInternal: GetVisualInternal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs index 8adb66308e..31211fdd60 100644 --- a/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/AnimationMetrics/impl.rs @@ -78,7 +78,7 @@ impl IPropertyAnimation_Vtbl { Control2: Control2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/Core/impl.rs index 60fe869964..2b2f2d3316 100644 --- a/crates/libs/windows/src/Windows/UI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Core/impl.rs @@ -33,8 +33,8 @@ impl ICoreAcceleratorKeys_Vtbl { RemoveAcceleratorKeyActivated: RemoveAcceleratorKeyActivated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -106,8 +106,8 @@ impl ICoreInputSourceBase_Vtbl { RemoveInputEnabled: RemoveInputEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl ICorePointerInputSource_Vtbl { RemovePointerWheelChanged: RemovePointerWheelChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"System\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl ICorePointerInputSource2_Vtbl { DispatcherQueue: DispatcherQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation\"`, `\"implement\"`*"] @@ -438,8 +438,8 @@ impl ICorePointerRedirector_Vtbl { RemovePointerRoutedReleased: RemovePointerRoutedReleased::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"Foundation_Collections\"`, `\"System\"`, `\"implement\"`*"] @@ -993,8 +993,8 @@ impl ICoreWindow_Vtbl { RemoveVisibilityChanged: RemoveVisibilityChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"implement\"`*"] @@ -1029,8 +1029,8 @@ impl ICoreWindowEventArgs_Vtbl { SetHandled: SetHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Core\"`, `\"implement\"`*"] @@ -1052,7 +1052,7 @@ impl IInitializeWithCoreWindow_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/Core/mod.rs index 1048f9d50d..5ef8ce627c 100644 --- a/crates/libs/windows/src/Windows/UI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Core/mod.rs @@ -5577,9 +5577,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -5647,9 +5647,9 @@ impl) -> ::windows_c base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs index 7a91abfeb9..5c22cab48c 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/Analysis/impl.rs @@ -108,8 +108,8 @@ impl IInkAnalysisNode_Vtbl { GetStrokeIds: GetStrokeIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking_Analysis\"`, `\"implement\"`*"] @@ -138,7 +138,7 @@ impl IInkAnalyzerFactory_Vtbl { CreateAnalyzer: CreateAnalyzer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs index 84849fea7e..a304829970 100644 --- a/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/Inking/impl.rs @@ -24,8 +24,8 @@ impl IInkPointFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), CreateInkPoint: CreateInkPoint:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IInkPresenterRulerFactory_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IInkPresenterStencil_Vtbl { SetTransform: SetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IInkRecognizerContainer_Vtbl { GetRecognizers: GetRecognizers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Input_Inking\"`, `\"Foundation_Collections\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -404,7 +404,7 @@ impl IInkStrokeContainer_Vtbl { GetRecognitionResults: GetRecognitionResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Input/impl.rs b/crates/libs/windows/src/Windows/UI/Input/impl.rs index 608bd8d811..36043c2cef 100644 --- a/crates/libs/windows/src/Windows/UI/Input/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Input/impl.rs @@ -53,7 +53,7 @@ impl IPointerPointTransform_Vtbl { TransformBounds: TransformBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs index 7be9706601..9c21a7a6b5 100644 --- a/crates/libs/windows/src/Windows/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Notifications/impl.rs @@ -40,7 +40,7 @@ impl IAdaptiveNotificationContent_Vtbl { Hints: Hints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/impl.rs b/crates/libs/windows/src/Windows/UI/Popups/impl.rs index 733dd35dc7..141ebfc26b 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/impl.rs @@ -73,7 +73,7 @@ impl IUICommand_Vtbl { SetId: SetId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Popups/mod.rs b/crates/libs/windows/src/Windows/UI/Popups/mod.rs index bf5a5d8673..53fe8cd826 100644 --- a/crates/libs/windows/src/Windows/UI/Popups/mod.rs +++ b/crates/libs/windows/src/Windows/UI/Popups/mod.rs @@ -624,9 +624,9 @@ impl) -> ::windows_core::Result<()> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/UI/Shell/impl.rs index 347c10e8aa..eda34ba1ce 100644 --- a/crates/libs/windows/src/Windows/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Shell/impl.rs @@ -21,8 +21,8 @@ impl IAdaptiveCard_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), ToJson: ToJson:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Shell\"`, `\"implement\"`*"] @@ -51,7 +51,7 @@ impl IAdaptiveCardBuilderStatics_Vtbl { CreateAdaptiveCardFromJson: CreateAdaptiveCardFromJson::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/Text/impl.rs b/crates/libs/windows/src/Windows/UI/Text/impl.rs index 3597d0a456..b5e7bf26d3 100644 --- a/crates/libs/windows/src/Windows/UI/Text/impl.rs +++ b/crates/libs/windows/src/Windows/UI/Text/impl.rs @@ -519,8 +519,8 @@ impl ITextCharacterFormat_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -816,8 +816,8 @@ impl ITextDocument_Vtbl { Undo: Undo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl ITextParagraphFormat_Vtbl { SetLineSpacing: SetLineSpacing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -1852,8 +1852,8 @@ impl ITextRange_Vtbl { StartOf: StartOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_Text\"`, `\"Foundation\"`, `\"Storage_Streams\"`, `\"implement\"`*"] @@ -1989,7 +1989,7 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs index 1e935838a4..e0a043e17e 100644 --- a/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/UIAutomation/Core/impl.rs @@ -23,8 +23,8 @@ impl ICoreAutomationConnectionBoundObjectProvider_Vtbl { IsComThreadingRequired: IsComThreadingRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_UIAutomation_Core\"`, `\"implement\"`*"] @@ -59,7 +59,7 @@ impl ICoreAutomationRemoteOperationExtensionProvider_Vtbl { IsExtensionSupported: IsExtensionSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs index bbf016e3b0..ce97073646 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/impl.rs @@ -7,8 +7,8 @@ impl IWebUICommandBarElement_Vtbl { pub const fn new, Impl: IWebUICommandBarElement_Impl, const OFFSET: isize>() -> IWebUICommandBarElement_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI_Core\"`, `\"implement\"`*"] @@ -20,7 +20,7 @@ impl IWebUICommandBarIcon_Vtbl { pub const fn new, Impl: IWebUICommandBarIcon_Impl, const OFFSET: isize>() -> IWebUICommandBarIcon_Vtbl { Self { base__: ::windows_core::IInspectable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs index cdd7d48941..5ea3b9f468 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/Core/mod.rs @@ -855,9 +855,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -922,9 +922,9 @@ impl ::windows_core::Result<()> + ::core::marker::Send + 'static> base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -992,9 +992,9 @@ impl) -> : base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs index a782d37267..94c3bebc4e 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/impl.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/impl.rs @@ -24,8 +24,8 @@ impl IActivatedEventArgsDeferral_Vtbl { ActivatedOperation: ActivatedOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IWebUIBackgroundTaskInstance_Vtbl { SetSucceeded: SetSucceeded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"UI_WebUI\"`, `\"implement\"`*"] @@ -90,7 +90,7 @@ impl IWebUINavigatedEventArgs_Vtbl { NavigatedOperation: NavigatedOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs index c1ae4af271..03f84634dc 100644 --- a/crates/libs/windows/src/Windows/UI/WebUI/mod.rs +++ b/crates/libs/windows/src/Windows/UI/WebUI/mod.rs @@ -6248,9 +6248,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6332,9 +6332,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6416,9 +6416,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6500,9 +6500,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6578,9 +6578,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6648,9 +6648,9 @@ impl) -> ::window base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { @@ -6725,9 +6725,9 @@ impl, ::core::opt base__: ::windows_core::IUnknown_Vtbl { QueryInterface: Self::QueryInterface, AddRef: Self::AddRef, Release: Self::Release }, Invoke: Self::Invoke, }; - unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: &::windows_core::GUID, interface: *mut *const ::core::ffi::c_void) -> ::windows_core::HRESULT { + unsafe extern "system" fn QueryInterface(this: *mut ::core::ffi::c_void, iid: *const ::windows_core::GUID, interface: *mut *mut ::core::ffi::c_void) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; + *interface = if *iid == ::IID || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { ::core::ptr::null_mut() }; if (*interface).is_null() { ::windows_core::HRESULT(-2147467262) } else { diff --git a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs index 09f7d1718d..9094ba6fb5 100644 --- a/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/Filters/impl.rs @@ -24,7 +24,7 @@ impl IHttpFilter_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), SendRequestAsync: SendRequestAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Http/impl.rs b/crates/libs/windows/src/Windows/Web/Http/impl.rs index bff49740a2..a39a93d19a 100644 --- a/crates/libs/windows/src/Windows/Web/Http/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Http/impl.rs @@ -110,7 +110,7 @@ impl IHttpContent_Vtbl { WriteToStreamAsync: WriteToStreamAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs index f827ea9eaf..e4d22c60d7 100644 --- a/crates/libs/windows/src/Windows/Web/Syndication/impl.rs +++ b/crates/libs/windows/src/Windows/Web/Syndication/impl.rs @@ -136,8 +136,8 @@ impl ISyndicationClient_Vtbl { RetrieveFeedAsync: RetrieveFeedAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_Syndication\"`, `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl ISyndicationNode_Vtbl { GetXmlDocument: GetXmlDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_Syndication\"`, `\"Data_Xml_Dom\"`, `\"Foundation_Collections\"`, `\"implement\"`*"] @@ -384,7 +384,7 @@ impl ISyndicationText_Vtbl { SetXml: SetXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/UI/impl.rs b/crates/libs/windows/src/Windows/Web/UI/impl.rs index 2206d4db68..736f2c725c 100644 --- a/crates/libs/windows/src/Windows/Web/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Web/UI/impl.rs @@ -594,8 +594,8 @@ impl IWebViewControl_Vtbl { RemoveWebResourceRequested: RemoveWebResourceRequested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Web_UI\"`, `\"implement\"`*"] @@ -617,7 +617,7 @@ impl IWebViewControl2_Vtbl { AddInitializeScript: AddInitializeScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Web/impl.rs b/crates/libs/windows/src/Windows/Web/impl.rs index d8b0218e37..56638a5341 100644 --- a/crates/libs/windows/src/Windows/Web/impl.rs +++ b/crates/libs/windows/src/Windows/Web/impl.rs @@ -27,7 +27,7 @@ impl IUriToStreamResolver_Vtbl { UriToStreamAsync: UriToStreamAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs index 86cade21e5..2296819b16 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/DirectML/impl.rs @@ -46,8 +46,8 @@ impl IDMLBindingTable_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IDMLCommandRecorder_Vtbl { } Self { base__: IDMLDeviceChild_Vtbl::new::(), RecordDispatch: RecordDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IDMLCompiledOperator_Vtbl { pub const fn new, Impl: IDMLCompiledOperator_Impl, const OFFSET: isize>() -> IDMLCompiledOperator_Vtbl { Self { base__: IDMLDispatchable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IDMLDebugDevice_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetMuteDebugOutput: SetMuteDebugOutput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl IDMLDevice_Vtbl { GetParentDevice: GetParentDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl IDMLDevice1_Vtbl { } Self { base__: IDMLDevice_Vtbl::new::(), CompileGraph: CompileGraph:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl IDMLDeviceChild_Vtbl { } Self { base__: IDMLObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -243,8 +243,8 @@ impl IDMLDispatchable_Vtbl { } Self { base__: IDMLPageable_Vtbl::new::(), GetBindingProperties: GetBindingProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -285,8 +285,8 @@ impl IDMLObject_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -296,8 +296,8 @@ impl IDMLOperator_Vtbl { pub const fn new, Impl: IDMLOperator_Impl, const OFFSET: isize>() -> IDMLOperator_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -314,8 +314,8 @@ impl IDMLOperatorInitializer_Vtbl { } Self { base__: IDMLDispatchable_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_DirectML\"`, `\"implement\"`*"] @@ -325,7 +325,7 @@ impl IDMLPageable_Vtbl { pub const fn new, Impl: IDMLPageable_Impl, const OFFSET: isize>() -> IDMLPageable_Vtbl { Self { base__: IDMLDeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs index 75d9caba80..9fe3348425 100644 --- a/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/AI/MachineLearning/WinML/impl.rs @@ -48,8 +48,8 @@ impl IMLOperatorAttributes_Vtbl { GetStringAttributeElement: GetStringAttributeElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -66,8 +66,8 @@ impl IMLOperatorKernel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compute: Compute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IMLOperatorKernelContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IMLOperatorKernelCreationContext_Vtbl { GetExecutionInterface: GetExecutionInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IMLOperatorKernelFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateKernel: CreateKernel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl IMLOperatorRegistry_Vtbl { RegisterOperatorKernel: RegisterOperatorKernel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IMLOperatorShapeInferenceContext_Vtbl { SetOutputTensorShape: SetOutputTensorShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IMLOperatorShapeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputShapes: InferOutputShapes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl IMLOperatorTensor_Vtbl { GetDataInterface: GetDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IMLOperatorTensorShapeDescription_Vtbl { GetOutputTensorShape: GetOutputTensorShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IMLOperatorTypeInferenceContext_Vtbl { SetOutputEdgeDescription: SetOutputEdgeDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -590,8 +590,8 @@ impl IMLOperatorTypeInferrer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InferOutputTypes: InferOutputTypes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -634,8 +634,8 @@ impl IWinMLEvaluationContext_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -697,8 +697,8 @@ impl IWinMLModel_Vtbl { EnumerateModelOutputs: EnumerateModelOutputs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IWinMLRuntime_Vtbl { EvaluateModel: EvaluateModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -771,7 +771,7 @@ impl IWinMLRuntimeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRuntime: CreateRuntime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs index c56e8388c5..04a5fbc211 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/HtmlHelp/impl.rs @@ -46,8 +46,8 @@ impl IITDatabase_Vtbl { GetObjectPersistence: GetObjectPersistence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IITPropList_Vtbl { SaveToMem: SaveToMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IITResultSet_Vtbl { GetColumnStatus: GetColumnStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"implement\"`*"] @@ -444,8 +444,8 @@ impl IStemSink_Vtbl { PutWord: PutWord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -496,8 +496,8 @@ impl IStemmerConfig_Vtbl { LoadExternalStemmerData: LoadExternalStemmerData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_HtmlHelp\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -582,7 +582,7 @@ impl IWordBreakerConfig_Vtbl { GetWordStemmer: GetWordStemmer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs index b07715f614..bf535cf175 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/MsXml/impl.rs @@ -88,8 +88,8 @@ impl IMXAttributes_Vtbl { setValue: setValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl IMXNamespaceManager_Vtbl { getURI: getURI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -237,8 +237,8 @@ impl IMXNamespacePrefixes_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IMXReaderControl_Vtbl { suspend: suspend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IMXSchemaDeclHandler_Vtbl { schemaElementDecl: schemaElementDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -483,8 +483,8 @@ impl IMXWriter_Vtbl { flush: flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IMXXMLFilter_Vtbl { putref_errorHandler: putref_errorHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl ISAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -834,8 +834,8 @@ impl ISAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -862,8 +862,8 @@ impl ISAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl ISAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -931,8 +931,8 @@ impl ISAXEntityResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), resolveEntity: resolveEntity:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -966,8 +966,8 @@ impl ISAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1029,8 +1029,8 @@ impl ISAXLexicalHandler_Vtbl { comment: comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl ISAXLocator_Vtbl { getSystemId: getSystemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1132,8 +1132,8 @@ impl ISAXXMLFilter_Vtbl { putParent: putParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1323,8 +1323,8 @@ impl ISAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1457,8 +1457,8 @@ impl ISchema_Vtbl { schemaLocations: schemaLocations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1500,8 +1500,8 @@ impl ISchemaAny_Vtbl { processContents: processContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl ISchemaAttribute_Vtbl { isReference: isReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1638,8 +1638,8 @@ impl ISchemaAttributeGroup_Vtbl { attributes: attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1733,8 +1733,8 @@ impl ISchemaComplexType_Vtbl { prohibitedSubstitutions: prohibitedSubstitutions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1893,8 +1893,8 @@ impl ISchemaElement_Vtbl { isReference: isReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl ISchemaIdentityConstraint_Vtbl { referencedKey: referencedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl ISchemaItem_Vtbl { writeAnnotation: writeAnnotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2139,8 +2139,8 @@ impl ISchemaItemCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2166,8 +2166,8 @@ impl ISchemaModelGroup_Vtbl { } Self { base__: ISchemaParticle_Vtbl::new::(), particles: particles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2209,8 +2209,8 @@ impl ISchemaNotation_Vtbl { publicIdentifier: publicIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl ISchemaParticle_Vtbl { maxOccurs: maxOccurs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2308,8 +2308,8 @@ impl ISchemaStringCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl ISchemaType_Vtbl { patterns: patterns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IServerXMLHTTPRequest_Vtbl { setOption: setOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IServerXMLHTTPRequest2_Vtbl { setProxyCredentials: setProxyCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2758,8 +2758,8 @@ impl IVBMXNamespaceManager_Vtbl { getURIFromNode: getURIFromNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2931,8 +2931,8 @@ impl IVBSAXAttributes_Vtbl { getValueFromQName: getValueFromQName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3025,8 +3025,8 @@ impl IVBSAXContentHandler_Vtbl { skippedEntity: skippedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3056,8 +3056,8 @@ impl IVBSAXDTDHandler_Vtbl { unparsedEntityDecl: unparsedEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3101,8 +3101,8 @@ impl IVBSAXDeclHandler_Vtbl { externalEntityDecl: externalEntityDecl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3125,8 +3125,8 @@ impl IVBSAXEntityResolver_Vtbl { resolveEntity: resolveEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3163,8 +3163,8 @@ impl IVBSAXErrorHandler_Vtbl { ignorableWarning: ignorableWarning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3229,8 +3229,8 @@ impl IVBSAXLexicalHandler_Vtbl { comment: comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3298,8 +3298,8 @@ impl IVBSAXLocator_Vtbl { systemId: systemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3335,8 +3335,8 @@ impl IVBSAXXMLFilter_Vtbl { putref_parent: putref_parent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3526,8 +3526,8 @@ impl IVBSAXXMLReader_Vtbl { parseURL: parseURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3569,8 +3569,8 @@ impl IXMLAttribute_Vtbl { value: value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3619,8 +3619,8 @@ impl IXMLDOMAttribute_Vtbl { Setvalue: Setvalue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl IXMLDOMCDATASection_Vtbl { pub const fn new, Impl: IXMLDOMCDATASection_Impl, const OFFSET: isize>() -> IXMLDOMCDATASection_Vtbl { Self { base__: IXMLDOMText_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3724,8 +3724,8 @@ impl IXMLDOMCharacterData_Vtbl { replaceData: replaceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3738,8 +3738,8 @@ impl IXMLDOMComment_Vtbl { pub const fn new, Impl: IXMLDOMComment_Impl, const OFFSET: isize>() -> IXMLDOMComment_Vtbl { Self { base__: IXMLDOMCharacterData_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4124,8 +4124,8 @@ impl IXMLDOMDocument_Vtbl { Setontransformnode: Setontransformnode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4207,8 +4207,8 @@ impl IXMLDOMDocument2_Vtbl { getProperty: getProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl IXMLDOMDocument3_Vtbl { importNode: importNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4264,8 +4264,8 @@ impl IXMLDOMDocumentFragment_Vtbl { pub const fn new, Impl: IXMLDOMDocumentFragment_Impl, const OFFSET: isize>() -> IXMLDOMDocumentFragment_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4320,8 +4320,8 @@ impl IXMLDOMDocumentType_Vtbl { notations: notations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IXMLDOMElement_Vtbl { normalize: normalize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4492,8 +4492,8 @@ impl IXMLDOMEntity_Vtbl { notationName: notationName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4506,8 +4506,8 @@ impl IXMLDOMEntityReference_Vtbl { pub const fn new, Impl: IXMLDOMEntityReference_Impl, const OFFSET: isize>() -> IXMLDOMEntityReference_Vtbl { Self { base__: IXMLDOMNode_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4533,8 +4533,8 @@ impl IXMLDOMImplementation_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), hasFeature: hasFeature:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4674,8 +4674,8 @@ impl IXMLDOMNamedNodeMap_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5129,8 +5129,8 @@ impl IXMLDOMNode_Vtbl { transformNodeToObject: transformNodeToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5205,8 +5205,8 @@ impl IXMLDOMNodeList_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5248,8 +5248,8 @@ impl IXMLDOMNotation_Vtbl { systemId: systemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5356,8 +5356,8 @@ impl IXMLDOMParseError_Vtbl { filepos: filepos::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5425,8 +5425,8 @@ impl IXMLDOMParseError2_Vtbl { errorParametersCount: errorParametersCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5501,8 +5501,8 @@ impl IXMLDOMParseErrorCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5551,8 +5551,8 @@ impl IXMLDOMProcessingInstruction_Vtbl { Setdata: Setdata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5641,8 +5641,8 @@ impl IXMLDOMSchemaCollection_Vtbl { _newEnum: _newEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5711,8 +5711,8 @@ impl IXMLDOMSchemaCollection2_Vtbl { getDeclaration: getDeclaration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5847,8 +5847,8 @@ impl IXMLDOMSelection_Vtbl { setProperty: setProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5874,8 +5874,8 @@ impl IXMLDOMText_Vtbl { } Self { base__: IXMLDOMCharacterData_Vtbl::new::(), splitText: splitText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5944,8 +5944,8 @@ impl IXMLDSOControl_Vtbl { readyState: readyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6131,8 +6131,8 @@ impl IXMLDocument_Vtbl { createElement: createElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6338,8 +6338,8 @@ impl IXMLDocument2_Vtbl { Setasync: Setasync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6475,8 +6475,8 @@ impl IXMLElement_Vtbl { removeChild: removeChild::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6625,8 +6625,8 @@ impl IXMLElement2_Vtbl { attributes: attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6688,8 +6688,8 @@ impl IXMLElementCollection_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -6706,8 +6706,8 @@ impl IXMLError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6875,8 +6875,8 @@ impl IXMLHTTPRequest_Vtbl { Setonreadystatechange: Setonreadystatechange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6980,8 +6980,8 @@ impl IXMLHTTPRequest2_Vtbl { GetResponseHeader: GetResponseHeader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7032,8 +7032,8 @@ impl IXMLHTTPRequest2Callback_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7053,8 +7053,8 @@ impl IXMLHTTPRequest3_Vtbl { } Self { base__: IXMLHTTPRequest2_Vtbl::new::(), SetClientCertificate: SetClientCertificate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7084,8 +7084,8 @@ impl IXMLHTTPRequest3Callback_Vtbl { OnClientCertificateRequested: OnClientCertificateRequested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7247,8 +7247,8 @@ impl IXSLProcessor_Vtbl { stylesheet: stylesheet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7297,8 +7297,8 @@ impl IXSLTemplate_Vtbl { createProcessor: createProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7431,8 +7431,8 @@ impl IXTLRuntime_Vtbl { formatTime: formatTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7445,7 +7445,7 @@ impl XMLDOMDocumentEvents_Vtbl { pub const fn new, Impl: XMLDOMDocumentEvents_Impl, const OFFSET: isize>() -> XMLDOMDocumentEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs index 3e0fbe1cad..35a475af2d 100644 --- a/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Data/Xml/XmlLite/impl.rs @@ -208,8 +208,8 @@ impl IXmlReader_Vtbl { IsEOF: IsEOF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IXmlResolver_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveUri: ResolveUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IXmlWriter_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Data_Xml_XmlLite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -677,7 +677,7 @@ impl IXmlWriterLite_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs index e29b137652..43000c5b81 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/DeviceAccess/impl.rs @@ -36,8 +36,8 @@ impl ICreateDeviceAccessAsync_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IDeviceIoControl_Vtbl { CancelOperation: CancelOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_DeviceAccess\"`, `\"implement\"`*"] @@ -89,7 +89,7 @@ impl IDeviceRequestCompletionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs index f6876b86bf..37b0846426 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Display/impl.rs @@ -39,8 +39,8 @@ impl ICloneViewHelper_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Display\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -104,7 +104,7 @@ impl IViewHelper_Vtbl { GetProceedOnNewConfiguration: GetProceedOnNewConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs index 79695ecbc8..ea725eed6d 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Enumeration/Pnp/impl.rs @@ -28,8 +28,8 @@ impl IUPnPAddressFamilyControl_Vtbl { GetAddressFamily: GetAddressFamily::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IUPnPAsyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -136,8 +136,8 @@ impl IUPnPDescriptionDocument_Vtbl { DeviceByUDN: DeviceByUDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IUPnPDescriptionDocumentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadComplete: LoadComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -418,8 +418,8 @@ impl IUPnPDevice_Vtbl { Services: Services::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IUPnPDeviceControl_Vtbl { GetServiceObject: GetServiceObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IUPnPDeviceControlHttpHeaders_Vtbl { GetAdditionalResponseHeaders: GetAdditionalResponseHeaders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -506,8 +506,8 @@ impl IUPnPDeviceDocumentAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocumentURL: GetDocumentURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IUPnPDeviceDocumentAccessEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDocument: GetDocument:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IUPnPDeviceFinder_Vtbl { FindByUDN: FindByUDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IUPnPDeviceFinderAddCallbackWithInterface_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeviceAddedWithInterface: DeviceAddedWithInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -659,8 +659,8 @@ impl IUPnPDeviceFinderCallback_Vtbl { SearchComplete: SearchComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IUPnPDeviceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl IUPnPDevices_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IUPnPEventSink_Vtbl { OnStateChangedSafe: OnStateChangedSafe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -798,8 +798,8 @@ impl IUPnPEventSource_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -816,8 +816,8 @@ impl IUPnPHttpHeaderControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddRequestHeaders: AddRequestHeaders:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -893,8 +893,8 @@ impl IUPnPRegistrar_Vtbl { UnregisterDeviceProvider: UnregisterDeviceProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IUPnPRemoteEndpointInfo_Vtbl { GetGuidValue: GetGuidValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IUPnPReregistrar_Vtbl { ReregisterRunningDevice: ReregisterRunningDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1057,8 +1057,8 @@ impl IUPnPService_Vtbl { LastTransportStatus: LastTransportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1167,8 +1167,8 @@ impl IUPnPServiceAsync_Vtbl { CancelAsyncOperation: CancelAsyncOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1198,8 +1198,8 @@ impl IUPnPServiceCallback_Vtbl { ServiceInstanceDied: ServiceInstanceDied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IUPnPServiceDocumentAccess_Vtbl { GetDocument: GetDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IUPnPServiceEnumProperty_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetServiceEnumProperty: SetServiceEnumProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Enumeration_Pnp\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1312,7 +1312,7 @@ impl IUPnPServices_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs index e6604ec7b1..0ccc022ec5 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Fax/impl.rs @@ -57,8 +57,8 @@ impl IFaxAccount_Vtbl { RegisteredEvents: RegisteredEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl IFaxAccountFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IFaxAccountIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl IFaxAccountIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IFaxAccountNotify_Vtbl { OnServerShutDown: OnServerShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -415,8 +415,8 @@ impl IFaxAccountOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IFaxAccountOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl IFaxAccountSet_Vtbl { RemoveAccount: RemoveAccount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl IFaxAccounts_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IFaxActivity_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IFaxActivityLogging_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1181,8 +1181,8 @@ impl IFaxConfiguration_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1470,8 +1470,8 @@ impl IFaxDevice_Vtbl { AnswerCall: AnswerCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1547,8 +1547,8 @@ impl IFaxDeviceIds_Vtbl { SetOrder: SetOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1720,8 +1720,8 @@ impl IFaxDeviceProvider_Vtbl { DeviceIds: DeviceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IFaxDeviceProviders_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1845,8 +1845,8 @@ impl IFaxDevices_Vtbl { get_ItemById: get_ItemById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IFaxDocument_Vtbl { SetAttachFaxToReceipt: SetAttachFaxToReceipt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2278,8 +2278,8 @@ impl IFaxDocument2_Vtbl { ConnectedSubmit2: ConnectedSubmit2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl IFaxEventLogging_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2458,8 +2458,8 @@ impl IFaxFolders_Vtbl { OutgoingArchive: OutgoingArchive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2501,8 +2501,8 @@ impl IFaxInboundRouting_Vtbl { GetMethods: GetMethods::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2661,8 +2661,8 @@ impl IFaxInboundRoutingExtension_Vtbl { Methods: Methods::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2717,8 +2717,8 @@ impl IFaxInboundRoutingExtensions_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2833,8 +2833,8 @@ impl IFaxInboundRoutingMethod_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2889,8 +2889,8 @@ impl IFaxInboundRoutingMethods_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3092,8 +3092,8 @@ impl IFaxIncomingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3338,8 +3338,8 @@ impl IFaxIncomingJob_Vtbl { CopyTiff: CopyTiff::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl IFaxIncomingJobs_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3568,8 +3568,8 @@ impl IFaxIncomingMessage_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3739,8 +3739,8 @@ impl IFaxIncomingMessage2_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3816,8 +3816,8 @@ impl IFaxIncomingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3893,8 +3893,8 @@ impl IFaxIncomingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4131,8 +4131,8 @@ impl IFaxJobStatus_Vtbl { RoutingInformation: RoutingInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4174,8 +4174,8 @@ impl IFaxLoggingOptions_Vtbl { ActivityLogging: ActivityLogging::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4217,8 +4217,8 @@ impl IFaxOutboundRouting_Vtbl { GetRules: GetRules::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4273,8 +4273,8 @@ impl IFaxOutboundRoutingGroup_Vtbl { DeviceIds: DeviceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4349,8 +4349,8 @@ impl IFaxOutboundRoutingGroups_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl IFaxOutboundRoutingRule_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4575,8 +4575,8 @@ impl IFaxOutboundRoutingRules_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4778,8 +4778,8 @@ impl IFaxOutgoingArchive_Vtbl { GetMessage: GetMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5162,8 +5162,8 @@ impl IFaxOutgoingJob_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5218,8 +5218,8 @@ impl IFaxOutgoingJob2_Vtbl { ScheduleType: ScheduleType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5274,8 +5274,8 @@ impl IFaxOutgoingJobs_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5526,8 +5526,8 @@ impl IFaxOutgoingMessage_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5616,8 +5616,8 @@ impl IFaxOutgoingMessage2_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5693,8 +5693,8 @@ impl IFaxOutgoingMessageIterator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5950,8 +5950,8 @@ impl IFaxOutgoingQueue_Vtbl { GetJob: GetJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6141,8 +6141,8 @@ impl IFaxReceiptOptions_Vtbl { SetUseForInboundRouting: SetUseForInboundRouting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6198,8 +6198,8 @@ impl IFaxRecipient_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6274,8 +6274,8 @@ impl IFaxRecipients_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6358,8 +6358,8 @@ impl IFaxSecurity_Vtbl { SetInformationType: SetInformationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6442,8 +6442,8 @@ impl IFaxSecurity2_Vtbl { SetInformationType: SetInformationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6793,8 +6793,8 @@ impl IFaxSender_Vtbl { SaveDefaultSender: SaveDefaultSender::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7100,8 +7100,8 @@ impl IFaxServer_Vtbl { APIVersion: APIVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7169,8 +7169,8 @@ impl IFaxServer2_Vtbl { Security2: Security2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7183,8 +7183,8 @@ impl IFaxServerNotify_Vtbl { pub const fn new, Impl: IFaxServerNotify_Impl, const OFFSET: isize>() -> IFaxServerNotify_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7382,8 +7382,8 @@ impl IFaxServerNotify2_Vtbl { OnGeneralServerConfigChanged: OnGeneralServerConfigChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -7524,8 +7524,8 @@ impl IStiDevice_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -7618,8 +7618,8 @@ impl IStiDeviceControl_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -7759,8 +7759,8 @@ impl IStiUSD_Vtbl { GetLastErrorInfo: GetLastErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Fax\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7887,7 +7887,7 @@ impl IStillImageW_Vtbl { WriteToErrorLog: WriteToErrorLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs index b23a5d59e5..138cc53152 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/FunctionDiscovery/impl.rs @@ -71,8 +71,8 @@ impl IFunctionDiscovery_Vtbl { RemoveInstance: RemoveInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl IFunctionDiscoveryNotification_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -206,8 +206,8 @@ impl IFunctionDiscoveryProvider_Vtbl { InstanceReleased: InstanceReleased::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IFunctionDiscoveryProviderFactory_Vtbl { CreateFunctionInstanceCollection: CreateFunctionInstanceCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -319,8 +319,8 @@ impl IFunctionDiscoveryProviderQuery_Vtbl { GetPropertyConstraints: GetPropertyConstraints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl IFunctionDiscoveryServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IFunctionInstance_Vtbl { GetCategory: GetCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -487,8 +487,8 @@ impl IFunctionInstanceCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -531,8 +531,8 @@ impl IFunctionInstanceCollectionQuery_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl IFunctionInstanceQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Execute: Execute:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -593,8 +593,8 @@ impl IPNPXAssociation_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -628,8 +628,8 @@ impl IPNPXDeviceAssociation_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -712,8 +712,8 @@ impl IPropertyStoreCollection_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -769,8 +769,8 @@ impl IProviderProperties_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -834,8 +834,8 @@ impl IProviderPropertyConstraintCollection_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -871,8 +871,8 @@ impl IProviderPublishing_Vtbl { RemoveInstance: RemoveInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_FunctionDiscovery\"`, `\"implement\"`*"] @@ -939,7 +939,7 @@ impl IProviderQueryConstraintCollection_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs index e5f4b0a90b..fdb0ecd657 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Geolocation/impl.rs @@ -102,8 +102,8 @@ impl ICivicAddressReport_Vtbl { GetDetailLevel: GetDetailLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl ICivicAddressReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), CivicAddressReport: CivicAddressReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IDefaultLocation_Vtbl { GetReport: GetReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl IDispCivicAddressReport_Vtbl { Timestamp: Timestamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -379,8 +379,8 @@ impl IDispLatLongReport_Vtbl { Timestamp: Timestamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -461,8 +461,8 @@ impl ILatLongReport_Vtbl { GetAltitudeError: GetAltitudeError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -488,8 +488,8 @@ impl ILatLongReportFactory_Vtbl { } Self { base__: ILocationReportFactory_Vtbl::new::(), LatLongReport: LatLongReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -592,8 +592,8 @@ impl ILocation_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl ILocationEvents_Vtbl { OnStatusChanged: OnStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"implement\"`*"] @@ -648,8 +648,8 @@ impl ILocationPower_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl ILocationReport_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -795,8 +795,8 @@ impl ILocationReportFactory_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -809,8 +809,8 @@ impl _ICivicAddressReportFactoryEvents_Vtbl { pub const fn new, Impl: _ICivicAddressReportFactoryEvents_Impl, const OFFSET: isize>() -> _ICivicAddressReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ICivicAddressReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Geolocation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -823,7 +823,7 @@ impl _ILatLongReportFactoryEvents_Vtbl { pub const fn new, Impl: _ILatLongReportFactoryEvents_Impl, const OFFSET: isize>() -> _ILatLongReportFactoryEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ILatLongReportFactoryEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs index fb8b54ffdd..74f06c9be4 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/HumanInterfaceDevice/impl.rs @@ -15,8 +15,8 @@ impl IDirectInput2A_Vtbl { } Self { base__: IDirectInputA_Vtbl::new::(), FindDevice: FindDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IDirectInput2W_Vtbl { } Self { base__: IDirectInputW_Vtbl::new::(), FindDevice: FindDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl IDirectInput7A_Vtbl { } Self { base__: IDirectInput2A_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IDirectInput7W_Vtbl { } Self { base__: IDirectInput2W_Vtbl::new::(), CreateDeviceEx: CreateDeviceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl IDirectInput8A_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDirectInput8W_Vtbl { ConfigureDevices: ConfigureDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -276,8 +276,8 @@ impl IDirectInputA_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IDirectInputDevice2A_Vtbl { SendDeviceData: SendDeviceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -436,8 +436,8 @@ impl IDirectInputDevice2W_Vtbl { SendDeviceData: SendDeviceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -467,8 +467,8 @@ impl IDirectInputDevice7A_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IDirectInputDevice7W_Vtbl { WriteEffectToFile: WriteEffectToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -718,8 +718,8 @@ impl IDirectInputDevice8A_Vtbl { GetImageInfo: GetImageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -938,8 +938,8 @@ impl IDirectInputDevice8W_Vtbl { GetImageInfo: GetImageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IDirectInputDeviceA_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1182,8 +1182,8 @@ impl IDirectInputDeviceW_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1269,8 +1269,8 @@ impl IDirectInputEffect_Vtbl { Escape: Escape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"implement\"`*"] @@ -1360,8 +1360,8 @@ impl IDirectInputEffectDriver_Vtbl { GetEffectStatus: GetEffectStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -1489,8 +1489,8 @@ impl IDirectInputJoyConfig_Vtbl { OpenConfigKey: OpenConfigKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl IDirectInputJoyConfig8_Vtbl { OpenAppStatusKey: OpenAppStatusKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_HumanInterfaceDevice\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1670,7 +1670,7 @@ impl IDirectInputW_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs index 3ceddaeae3..96dc952c7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/ImageAcquisition/impl.rs @@ -55,8 +55,8 @@ impl IEnumWIA_DEV_CAPS_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IEnumWIA_DEV_INFO_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -177,8 +177,8 @@ impl IEnumWIA_FORMAT_INFO_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IEnumWiaItem_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IEnumWiaItem2_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IWiaAppErrorHandler_Vtbl { ReportStatus: ReportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IWiaDataCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BandedDataCallback: BandedDataCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IWiaDataTransfer_Vtbl { idtGetExtendedTransferInfo: idtGetExtendedTransferInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IWiaDevMgr_Vtbl { AddDeviceDlg: AddDeviceDlg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IWiaDevMgr2_Vtbl { GetImageDlg: GetImageDlg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -766,8 +766,8 @@ impl IWiaDrvItem_Vtbl { DumpItemData: DumpItemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl IWiaErrorHandler_Vtbl { GetStatusDescription: GetStatusDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IWiaEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ImageEventCallback: ImageEventCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IWiaImageFilter_Vtbl { ApplyProperties: ApplyProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IWiaItem_Vtbl { Diagnostic: Diagnostic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1237,8 +1237,8 @@ impl IWiaItem2_Vtbl { Diagnostic: Diagnostic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1278,8 +1278,8 @@ impl IWiaItemExtras_Vtbl { CancelPendingIO: CancelPendingIO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IWiaLog_Vtbl { Log: Log::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IWiaLogEx_Vtbl { LogEx: LogEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl IWiaMiniDrv_Vtbl { drvUnInitializeWia: drvUnInitializeWia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl IWiaMiniDrvCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MiniDrvCallback: MiniDrvCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl IWiaMiniDrvTransferCallback_Vtbl { SendMessage: SendMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IWiaNotifyDevMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewDeviceArrival: NewDeviceArrival:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"implement\"`*"] @@ -1675,8 +1675,8 @@ impl IWiaPreview_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1816,8 +1816,8 @@ impl IWiaPropertyStorage_Vtbl { SetPropertyStream: SetPropertyStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl IWiaSegmentationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DetectRegions: DetectRegions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1888,8 +1888,8 @@ impl IWiaTransfer_Vtbl { EnumWIA_FORMAT_INFO: EnumWIA_FORMAT_INFO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1925,8 +1925,8 @@ impl IWiaTransferCallback_Vtbl { GetNextStream: GetNextStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1963,8 +1963,8 @@ impl IWiaUIExtension_Vtbl { GetDeviceBitmapLogo: GetDeviceBitmapLogo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1994,8 +1994,8 @@ impl IWiaUIExtension2_Vtbl { GetDeviceIcon: GetDeviceIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_ImageAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2126,7 +2126,7 @@ impl IWiaVideo_Vtbl { GetCurrentState: GetCurrentState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs index 21da8ddac6..bb9a894f60 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/PortableDevices/impl.rs @@ -12,8 +12,8 @@ impl IConnectionRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IEnumPortableDeviceConnectors_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IEnumPortableDeviceObjectIDs_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -149,8 +149,8 @@ impl IMediaRadioManager_Vtbl { OnSystemRadioStateChange: OnSystemRadioStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -184,8 +184,8 @@ impl IMediaRadioManagerNotifySink_Vtbl { OnInstanceRadioChange: OnInstanceRadioChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IPortableDevice_Vtbl { GetPnPDeviceID: GetPnPDeviceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -445,8 +445,8 @@ impl IPortableDeviceCapabilities_Vtbl { GetEventOptions: GetEventOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Devices_Properties\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IPortableDeviceConnector_Vtbl { GetPnPID: GetPnPID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IPortableDeviceContent_Vtbl { Copy: Copy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -645,8 +645,8 @@ impl IPortableDeviceContent2_Vtbl { UpdateObjectWithPropertiesAndData: UpdateObjectWithPropertiesAndData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -682,8 +682,8 @@ impl IPortableDeviceDataStream_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl IPortableDeviceDispatchFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceDispatch: GetDeviceDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IPortableDeviceEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -779,8 +779,8 @@ impl IPortableDeviceKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -842,8 +842,8 @@ impl IPortableDeviceManager_Vtbl { GetPrivateDevices: GetPrivateDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IPortableDevicePropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl IPortableDeviceProperties_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1064,8 +1064,8 @@ impl IPortableDevicePropertiesBulk_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1099,8 +1099,8 @@ impl IPortableDevicePropertiesBulkCallback_Vtbl { OnEnd: OnEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl IPortableDeviceResources_Vtbl { CreateResource: CreateResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1303,8 +1303,8 @@ impl IPortableDeviceService_Vtbl { SendCommand: SendCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1331,8 +1331,8 @@ impl IPortableDeviceServiceActivation_Vtbl { CancelOpenAsync: CancelOpenAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1550,8 +1550,8 @@ impl IPortableDeviceServiceCapabilities_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1584,8 +1584,8 @@ impl IPortableDeviceServiceManager_Vtbl { GetDeviceForService: GetDeviceForService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1602,8 +1602,8 @@ impl IPortableDeviceServiceMethodCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1637,8 +1637,8 @@ impl IPortableDeviceServiceMethods_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IPortableDeviceServiceOpenCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -1683,8 +1683,8 @@ impl IPortableDeviceUnitsStream_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2070,8 +2070,8 @@ impl IPortableDeviceValues_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2125,8 +2125,8 @@ impl IPortableDeviceValuesCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IPortableDeviceWebControl_Vtbl { GetDeviceFromIdAsync: GetDeviceFromIdAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl IRadioInstance_Vtbl { IsAssociatingDevice: IsAssociatingDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl IRadioInstanceCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -2346,7 +2346,7 @@ impl IWpdSerializer_Vtbl { GetSerializedSize: GetSerializedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs index ae33fb823a..899df4fc88 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Sensors/impl.rs @@ -31,8 +31,8 @@ impl ILocationPermissions_Vtbl { CheckLocationCapability: CheckLocationCapability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl ISensor_Vtbl { SetEventSink: SetEventSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"implement\"`*"] @@ -293,8 +293,8 @@ impl ISensorCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl ISensorDataReport_Vtbl { GetSensorValues: GetSensorValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl ISensorEvents_Vtbl { OnLeave: OnLeave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -464,8 +464,8 @@ impl ISensorManager_Vtbl { RequestPermissions: RequestPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Sensors\"`, `\"implement\"`*"] @@ -482,7 +482,7 @@ impl ISensorManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSensorEnter: OnSensorEnter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs index 9aa80a7697..a90a2bcbd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/Tapi/impl.rs @@ -45,8 +45,8 @@ impl IEnumACDGroup_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IEnumAddress_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -147,8 +147,8 @@ impl IEnumAgent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -198,8 +198,8 @@ impl IEnumAgentHandler_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl IEnumAgentSession_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -297,8 +297,8 @@ impl IEnumBstr_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -348,8 +348,8 @@ impl IEnumCall_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl IEnumCallHub_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IEnumCallingCard_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IEnumDialableAddrs_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IEnumDirectory_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IEnumDirectoryObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -651,8 +651,8 @@ impl IEnumLocation_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -702,8 +702,8 @@ impl IEnumMcastScope_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -753,8 +753,8 @@ impl IEnumPhone_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IEnumPluggableSuperclassInfo_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IEnumPluggableTerminalClassInfo_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -906,8 +906,8 @@ impl IEnumQueue_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IEnumStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1008,8 +1008,8 @@ impl IEnumSubStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1059,8 +1059,8 @@ impl IEnumTerminal_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -1107,8 +1107,8 @@ impl IEnumTerminalClass_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1209,8 +1209,8 @@ impl IMcastAddressAllocation_Vtbl { CreateLeaseInfoFromVariant: CreateLeaseInfoFromVariant::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1344,8 +1344,8 @@ impl IMcastLeaseInfo_Vtbl { EnumerateAddresses: EnumerateAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl IMcastScope_Vtbl { TTL: TTL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1482,8 +1482,8 @@ impl ITACDGroup_Vtbl { Queues: Queues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1525,8 +1525,8 @@ impl ITACDGroupEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl ITAMMediaFormat_Vtbl { SetMediaFormat: SetMediaFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ITASRTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1812,8 +1812,8 @@ impl ITAddress_Vtbl { DoNotDisturb: DoNotDisturb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1941,8 +1941,8 @@ impl ITAddress2_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2062,8 +2062,8 @@ impl ITAddressCapabilities_Vtbl { EnumerateDeviceClasses: EnumerateDeviceClasses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2144,8 +2144,8 @@ impl ITAddressDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2200,8 +2200,8 @@ impl ITAddressEvent_Vtbl { Terminal: Terminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2289,8 +2289,8 @@ impl ITAddressTranslation_Vtbl { CallingCards: CallingCards::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2371,8 +2371,8 @@ impl ITAddressTranslationInfo_Vtbl { TranslationResults: TranslationResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2597,8 +2597,8 @@ impl ITAgent_Vtbl { AgentSessions: AgentSessions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl ITAgentEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2748,8 +2748,8 @@ impl ITAgentHandler_Vtbl { UsableAddresses: UsableAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2791,8 +2791,8 @@ impl ITAgentHandlerEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3023,8 +3023,8 @@ impl ITAgentSession_Vtbl { AverageTimeToAnswer: AverageTimeToAnswer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3066,8 +3066,8 @@ impl ITAgentSessionEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3143,8 +3143,8 @@ impl ITAllocatorProperties_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3474,8 +3474,8 @@ impl ITAutomatedPhoneControl_Vtbl { SelectedCalls: SelectedCalls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3531,8 +3531,8 @@ impl ITBasicAudioTerminal_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3680,8 +3680,8 @@ impl ITBasicCallControl_Vtbl { RemoveFromConference: RemoveFromConference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3724,8 +3724,8 @@ impl ITBasicCallControl2_Vtbl { UnselectTerminalOnCall: UnselectTerminalOnCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl ITCallHub_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3856,8 +3856,8 @@ impl ITCallHubEvent_Vtbl { Call: Call::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4006,8 +4006,8 @@ impl ITCallInfo_Vtbl { ReleaseUserUserInfo: ReleaseUserUserInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4043,8 +4043,8 @@ impl ITCallInfo2_Vtbl { put_EventFilter: put_EventFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4099,8 +4099,8 @@ impl ITCallInfoChangeEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4194,8 +4194,8 @@ impl ITCallMediaEvent_Vtbl { Cause: Cause::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl ITCallNotificationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4319,8 +4319,8 @@ impl ITCallStateEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4427,8 +4427,8 @@ impl ITCallingCard_Vtbl { InternationalDialingRule: InternationalDialingRule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4483,8 +4483,8 @@ impl ITCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4510,8 +4510,8 @@ impl ITCollection2_Vtbl { } Self { base__: ITCollection_Vtbl::new::(), Add: Add::, Remove: Remove:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4607,8 +4607,8 @@ impl ITCustomTone_Vtbl { SetVolume: SetVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4684,8 +4684,8 @@ impl ITDetectTone_Vtbl { put_Frequency: put_Frequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4766,8 +4766,8 @@ impl ITDigitDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4835,8 +4835,8 @@ impl ITDigitGenerationEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4917,8 +4917,8 @@ impl ITDigitsGatheredEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5068,8 +5068,8 @@ impl ITDirectory_Vtbl { EnumerateDirectoryObjects: EnumerateDirectoryObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5164,8 +5164,8 @@ impl ITDirectoryObject_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5334,8 +5334,8 @@ impl ITDirectoryObjectConference_Vtbl { SetStopTime: SetStopTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5371,8 +5371,8 @@ impl ITDirectoryObjectUser_Vtbl { SetIPPhonePrimary: SetIPPhonePrimary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5401,8 +5401,8 @@ impl ITDispatchMapper_Vtbl { QueryDispatchInterface: QueryDispatchInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5496,8 +5496,8 @@ impl ITFileTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5579,8 +5579,8 @@ impl ITFileTrack_Vtbl { EmptyAudioFormatForScripting: EmptyAudioFormatForScripting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5663,8 +5663,8 @@ impl ITForwardInformation_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5720,8 +5720,8 @@ impl ITForwardInformation2_Vtbl { get_ForwardTypeCallerAddressType: get_ForwardTypeCallerAddressType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5757,8 +5757,8 @@ impl ITILSConfig_Vtbl { SetPort: SetPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -5792,8 +5792,8 @@ impl ITLegacyAddressMediaControl_Vtbl { SetDevConfig: SetDevConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5823,8 +5823,8 @@ impl ITLegacyAddressMediaControl2_Vtbl { ConfigDialogEdit: ConfigDialogEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5875,8 +5875,8 @@ impl ITLegacyCallMediaControl_Vtbl { MonitorMedia: MonitorMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5980,8 +5980,8 @@ impl ITLegacyCallMediaControl2_Vtbl { GetIDAsVariant: GetIDAsVariant::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6007,8 +6007,8 @@ impl ITLegacyWaveSupport_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), IsFullDuplex: IsFullDuplex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6167,8 +6167,8 @@ impl ITLocationInfo_Vtbl { CancelCallWaitingCode: CancelCallWaitingCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -6229,8 +6229,8 @@ impl ITMSPAddress_Vtbl { GetEvent: GetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6280,8 +6280,8 @@ impl ITMediaControl_Vtbl { MediaState: MediaState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6317,8 +6317,8 @@ impl ITMediaPlayback_Vtbl { PlayList: PlayList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6354,8 +6354,8 @@ impl ITMediaRecord_Vtbl { FileName: FileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6397,8 +6397,8 @@ impl ITMediaSupport_Vtbl { QueryMediaType: QueryMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6486,8 +6486,8 @@ impl ITMultiTrackTerminal_Vtbl { RemoveTrackTerminal: RemoveTrackTerminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6854,8 +6854,8 @@ impl ITPhone_Vtbl { NegotiateExtVersion: NegotiateExtVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6923,8 +6923,8 @@ impl ITPhoneDeviceSpecificEvent_Vtbl { lParam3: lParam3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7057,8 +7057,8 @@ impl ITPhoneEvent_Vtbl { Call: Call::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7165,8 +7165,8 @@ impl ITPluggableTerminalClassInfo_Vtbl { MediaTypes: MediaTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7186,8 +7186,8 @@ impl ITPluggableTerminalEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"implement\"`*"] @@ -7214,8 +7214,8 @@ impl ITPluggableTerminalEventSinkRegistration_Vtbl { UnregisterSink: UnregisterSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7257,8 +7257,8 @@ impl ITPluggableTerminalSuperclassInfo_Vtbl { CLSID: CLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7339,8 +7339,8 @@ impl ITPrivateEvent_Vtbl { EventInterface: EventInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7395,8 +7395,8 @@ impl ITQOSEvent_Vtbl { MediaType: MediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7562,8 +7562,8 @@ impl ITQueue_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7605,8 +7605,8 @@ impl ITQueueEvent_Vtbl { Event: Event::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7674,8 +7674,8 @@ impl ITRendezvous_Vtbl { CreateDirectoryObject: CreateDirectoryObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7695,8 +7695,8 @@ impl ITRequest_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), MakeCall: MakeCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7790,8 +7790,8 @@ impl ITRequestEvent_Vtbl { Comment: Comment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7927,8 +7927,8 @@ impl ITScriptableAudioFormat_Vtbl { SetFormatTag: SetFormatTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7954,8 +7954,8 @@ impl ITStaticAudioTerminal_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), WaveId: WaveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8071,8 +8071,8 @@ impl ITStream_Vtbl { Terminals: Terminals::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8134,8 +8134,8 @@ impl ITStreamControl_Vtbl { Streams: Streams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8225,8 +8225,8 @@ impl ITSubStream_Vtbl { Stream: Stream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8288,8 +8288,8 @@ impl ITSubStreamControl_Vtbl { SubStreams: SubStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8465,8 +8465,8 @@ impl ITTAPI_Vtbl { EventFilter: EventFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8521,8 +8521,8 @@ impl ITTAPI2_Vtbl { CreateEmptyCollectionObject: CreateEmptyCollectionObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8564,8 +8564,8 @@ impl ITTAPICallCenter_Vtbl { AgentHandlers: AgentHandlers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8578,8 +8578,8 @@ impl ITTAPIDispatchEventNotification_Vtbl { pub const fn new, Impl: ITTAPIDispatchEventNotification_Impl, const OFFSET: isize>() -> ITTAPIDispatchEventNotification_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8599,8 +8599,8 @@ impl ITTAPIEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8668,8 +8668,8 @@ impl ITTAPIObjectEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8695,8 +8695,8 @@ impl ITTAPIObjectEvent2_Vtbl { } Self { base__: ITTAPIObjectEvent_Vtbl::new::(), Phone: Phone:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8751,8 +8751,8 @@ impl ITTTSTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8846,8 +8846,8 @@ impl ITTerminal_Vtbl { Direction: Direction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8941,8 +8941,8 @@ impl ITTerminalSupport_Vtbl { GetDefaultStaticTerminal: GetDefaultStaticTerminal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9010,8 +9010,8 @@ impl ITTerminalSupport2_Vtbl { EnumeratePluggableTerminalClasses: EnumeratePluggableTerminalClasses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9079,8 +9079,8 @@ impl ITToneDetectionEvent_Vtbl { CallbackInstance: CallbackInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9135,8 +9135,8 @@ impl ITToneTerminalEvent_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_Tapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_AddressBook\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9207,7 +9207,7 @@ impl ITnef_Vtbl { FinishComponent: FinishComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs index a4955c0744..6a7a57cc82 100644 --- a/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Devices/WebServicesOnDevices/impl.rs @@ -25,8 +25,8 @@ impl IWSDAddress_Vtbl { Deserialize: Deserialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -43,8 +43,8 @@ impl IWSDAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncOperationComplete: AsyncOperationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl IWSDAsyncResult_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl IWSDAttachment_Vtbl { pub const fn new, Impl: IWSDAttachment_Impl, const OFFSET: isize>() -> IWSDAttachment_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -233,8 +233,8 @@ impl IWSDDeviceHost_Vtbl { SignalEvent: SignalEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IWSDDeviceHostNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IWSDDeviceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IWSDEndpointProxy_Vtbl { GetFaultInfo: GetFaultInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IWSDEventingStatus_Vtbl { SubscriptionEnded: SubscriptionEnded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -559,8 +559,8 @@ impl IWSDHttpAddress_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IWSDHttpAuthParameters_Vtbl { GetAuthType: GetAuthType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -703,8 +703,8 @@ impl IWSDHttpMessageParameters_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IWSDInboundAttachment_Vtbl { } Self { base__: IWSDAttachment_Vtbl::new::(), Read: Read::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -794,8 +794,8 @@ impl IWSDMessageParameters_Vtbl { GetLowerParameters: GetLowerParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IWSDMetadataExchange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMetadata: GetMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IWSDOutboundAttachment_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"implement\"`*"] @@ -902,8 +902,8 @@ impl IWSDSSLClientCertificate_Vtbl { GetMappedAccessToken: GetMappedAccessToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -945,8 +945,8 @@ impl IWSDScopeMatchingRule_Vtbl { MatchScopes: MatchScopes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -973,8 +973,8 @@ impl IWSDServiceMessaging_Vtbl { FaultRequest: FaultRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IWSDServiceProxy_Vtbl { GetEndpointProxy: GetEndpointProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1185,8 +1185,8 @@ impl IWSDServiceProxyEventing_Vtbl { EndGetStatusForMultipleOperations: EndGetStatusForMultipleOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1249,8 +1249,8 @@ impl IWSDSignatureProperty_Vtbl { GetSignedInfoHash: GetSignedInfoHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1319,8 +1319,8 @@ impl IWSDTransportAddress_Vtbl { SetTransportAddress: SetTransportAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"Win32_Foundation\"`, `\"Win32_Networking_WinSock\"`, `\"implement\"`*"] @@ -1424,8 +1424,8 @@ impl IWSDUdpAddress_Vtbl { GetAlias: GetAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1452,8 +1452,8 @@ impl IWSDUdpMessageParameters_Vtbl { GetRetransmitParams: GetRetransmitParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1494,8 +1494,8 @@ impl IWSDXMLContext_Vtbl { SetTypes: SetTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1645,8 +1645,8 @@ impl IWSDiscoveredService_Vtbl { GetInstanceId: GetInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1714,8 +1714,8 @@ impl IWSDiscoveryProvider_Vtbl { GetXMLContext: GetXMLContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1756,8 +1756,8 @@ impl IWSDiscoveryProviderNotify_Vtbl { SearchComplete: SearchComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1916,8 +1916,8 @@ impl IWSDiscoveryPublisher_Vtbl { GetXMLContext: GetXMLContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Devices_WebServicesOnDevices\"`, `\"implement\"`*"] @@ -1944,7 +1944,7 @@ impl IWSDiscoveryPublisherNotify_Vtbl { ResolveHandler: ResolveHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs index 240dbd4d69..3ca812e508 100644 --- a/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Gaming/impl.rs @@ -45,8 +45,8 @@ impl IGameExplorer_Vtbl { VerifyAccess: VerifyAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IGameExplorer2_Vtbl { CheckAccess: CheckAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IGameStatistics_Vtbl { GetLastPlayedCategory: GetLastPlayedCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -260,8 +260,8 @@ impl IGameStatisticsMgr_Vtbl { RemoveGameStatistics: RemoveGameStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IXblIdpAuthManager_Vtbl { GetTokenAndSignatureWithTokenResult: GetTokenAndSignatureWithTokenResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -367,8 +367,8 @@ impl IXblIdpAuthManager2_Vtbl { GetUserlessTokenAndSignatureWithTokenResult: GetUserlessTokenAndSignatureWithTokenResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -641,8 +641,8 @@ impl IXblIdpAuthTokenResult_Vtbl { GetTitleRestrictions: GetTitleRestrictions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Gaming\"`, `\"implement\"`*"] @@ -694,7 +694,7 @@ impl IXblIdpAuthTokenResult2_Vtbl { GetUniqueModernGamertag: GetUniqueModernGamertag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs index 0a91d4175f..589a67a01c 100644 --- a/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Globalization/impl.rs @@ -18,8 +18,8 @@ impl IComprehensiveSpellCheckProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComprehensiveCheck: ComprehensiveCheck:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -60,8 +60,8 @@ impl IEnumCodePage_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IEnumRfc1766_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -144,8 +144,8 @@ impl IEnumScript_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -162,8 +162,8 @@ impl IEnumSpellingError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IMLangCodePages_Vtbl { CodePagesToCodePage: CodePagesToCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -303,8 +303,8 @@ impl IMLangConvertCharset_Vtbl { DoConversionFromUnicode: DoConversionFromUnicode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -348,8 +348,8 @@ impl IMLangFontLink_Vtbl { ResetFontMapping: ResetFontMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -420,8 +420,8 @@ impl IMLangFontLink2_Vtbl { CodePageToScriptID: CodePageToScriptID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IMLangLineBreakConsole_Vtbl { BreakLineA: BreakLineA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl IMLangString_Vtbl { GetMLStr: GetMLStr::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -573,8 +573,8 @@ impl IMLangStringAStr_Vtbl { GetLocale: GetLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -622,8 +622,8 @@ impl IMLangStringBufA_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IMLangStringBufW_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IMLangStringWStr_Vtbl { GetLocale: GetLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IMultiLanguage_Vtbl { CreateConvertCharset: CreateConvertCharset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1153,8 +1153,8 @@ impl IMultiLanguage2_Vtbl { ValidateCodePageEx: ValidateCodePageEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IMultiLanguage3_Vtbl { DetectOutboundCodePageInIStream: DetectOutboundCodePageInIStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1253,8 +1253,8 @@ impl IOptionDescription_Vtbl { Labels: Labels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1388,8 +1388,8 @@ impl ISpellCheckProvider_Vtbl { InitializeWordlist: InitializeWordlist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1444,8 +1444,8 @@ impl ISpellCheckProviderFactory_Vtbl { CreateSpellCheckProvider: CreateSpellCheckProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1619,8 +1619,8 @@ impl ISpellChecker_Vtbl { ComprehensiveCheck: ComprehensiveCheck::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1640,8 +1640,8 @@ impl ISpellChecker2_Vtbl { } Self { base__: ISpellChecker_Vtbl::new::(), Remove: Remove:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1658,8 +1658,8 @@ impl ISpellCheckerChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1714,8 +1714,8 @@ impl ISpellCheckerFactory_Vtbl { CreateSpellChecker: CreateSpellChecker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1780,8 +1780,8 @@ impl ISpellingError_Vtbl { Replacement: Replacement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1808,7 +1808,7 @@ impl IUserDictionariesRegistrar_Vtbl { UnregisterUserDictionary: UnregisterUserDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs index 613910d23e..4ebc66cd8e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/CompositionSwapchain/impl.rs @@ -32,8 +32,8 @@ impl ICompositionFramePresentStatistics_Vtbl { GetDisplayInstanceArray: GetDisplayInstanceArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IIndependentFlipFramePresentStatistics_Vtbl { GetPresentDuration: GetPresentDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IPresentStatistics_Vtbl { GetKind: GetKind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl IPresentStatusPresentStatistics_Vtbl { GetPresentStatus: GetPresentStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IPresentationBuffer_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl IPresentationContent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTag: SetTag:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IPresentationFactory_Vtbl { CreatePresentationManager: CreatePresentationManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IPresentationManager_Vtbl { GetNextPresentStatistics: GetNextPresentStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_CompositionSwapchain\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -459,7 +459,7 @@ impl IPresentationSurface_Vtbl { SetLetterboxingMargins: SetLetterboxingMargins::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs index 0f06aa6a54..a83d468eda 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DXCore/impl.rs @@ -84,8 +84,8 @@ impl IDXCoreAdapter_Vtbl { GetFactory: GetFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IDXCoreAdapterFactory_Vtbl { UnregisterEventNotification: UnregisterEventNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DXCore\"`, `\"implement\"`*"] @@ -198,7 +198,7 @@ impl IDXCoreAdapterList_Vtbl { IsAdapterPreferenceSupported: IsAdapterPreferenceSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs index 927a8b60a0..a8ed5ec2d1 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/Common/impl.rs @@ -57,7 +57,7 @@ impl ID2D1SimplifiedGeometrySink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs index 671099701b..de66cede7f 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct2D/impl.rs @@ -12,8 +12,8 @@ impl ID2D1AnalysisTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessAnalysisResults: ProcessAnalysisResults:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl ID2D1Bitmap_Vtbl { CopyFromMemory: CopyFromMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl ID2D1Bitmap1_Vtbl { Unmap: Unmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl ID2D1BitmapBrush_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl ID2D1BitmapBrush1_Vtbl { GetInterpolationMode1: GetInterpolationMode1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -273,8 +273,8 @@ impl ID2D1BitmapRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -304,8 +304,8 @@ impl ID2D1BlendTransform_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl ID2D1BorderTransform_Vtbl { GetExtendModeY: GetExtendModeY::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -380,8 +380,8 @@ impl ID2D1BoundsAdjustmentTransform_Vtbl { GetOutputBounds: GetOutputBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -425,8 +425,8 @@ impl ID2D1Brush_Vtbl { GetTransform: GetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -460,8 +460,8 @@ impl ID2D1ColorContext_Vtbl { GetProfile: GetProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl ID2D1ColorContext1_Vtbl { GetSimpleColorProfile: GetSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -522,8 +522,8 @@ impl ID2D1CommandList_Vtbl { } Self { base__: ID2D1Image_Vtbl::new::(), Stream: Stream::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -714,8 +714,8 @@ impl ID2D1CommandSink_Vtbl { PopLayer: PopLayer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -735,8 +735,8 @@ impl ID2D1CommandSink1_Vtbl { } Self { base__: ID2D1CommandSink_Vtbl::new::(), SetPrimitiveBlend1: SetPrimitiveBlend1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -773,8 +773,8 @@ impl ID2D1CommandSink2_Vtbl { DrawGdiMetafile2: DrawGdiMetafile2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -794,8 +794,8 @@ impl ID2D1CommandSink3_Vtbl { } Self { base__: ID2D1CommandSink2_Vtbl::new::(), DrawSpriteBatch: DrawSpriteBatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ID2D1CommandSink4_Vtbl { } Self { base__: ID2D1CommandSink3_Vtbl::new::(), SetPrimitiveBlend2: SetPrimitiveBlend2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl ID2D1CommandSink5_Vtbl { } Self { base__: ID2D1CommandSink4_Vtbl::new::(), BlendImage: BlendImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -874,8 +874,8 @@ impl ID2D1ComputeInfo_Vtbl { SetResourceTexture: SetResourceTexture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl ID2D1ComputeTransform_Vtbl { CalculateThreadgroups: CalculateThreadgroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -936,8 +936,8 @@ impl ID2D1ConcreteTransform_Vtbl { SetCached: SetCached::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl ID2D1DCRenderTarget_Vtbl { } Self { base__: ID2D1RenderTarget_Vtbl::new::(), BindDC: BindDC:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1021,8 +1021,8 @@ impl ID2D1Device_Vtbl { ClearResources: ClearResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1065,8 +1065,8 @@ impl ID2D1Device1_Vtbl { CreateDeviceContext2: CreateDeviceContext2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl ID2D1Device2_Vtbl { GetDxgiDevice: GetDxgiDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1142,8 +1142,8 @@ impl ID2D1Device3_Vtbl { } Self { base__: ID2D1Device2_Vtbl::new::(), CreateDeviceContext4: CreateDeviceContext4:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl ID2D1Device4_Vtbl { GetMaximumColorGlyphCacheMemory: GetMaximumColorGlyphCacheMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl ID2D1Device5_Vtbl { } Self { base__: ID2D1Device4_Vtbl::new::(), CreateDeviceContext6: CreateDeviceContext6:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -1240,8 +1240,8 @@ impl ID2D1Device6_Vtbl { } Self { base__: ID2D1Device5_Vtbl::new::(), CreateDeviceContext7: CreateDeviceContext7:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl ID2D1DeviceContext_Vtbl { FillOpacityMask2: FillOpacityMask2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl ID2D1DeviceContext1_Vtbl { DrawGeometryRealization: DrawGeometryRealization::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1784,8 +1784,8 @@ impl ID2D1DeviceContext2_Vtbl { CreateTransformedImageSource: CreateTransformedImageSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl ID2D1DeviceContext3_Vtbl { DrawSpriteBatch: DrawSpriteBatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1907,8 +1907,8 @@ impl ID2D1DeviceContext4_Vtbl { GetSvgGlyphImage: GetSvgGlyphImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1970,8 +1970,8 @@ impl ID2D1DeviceContext5_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1991,8 +1991,8 @@ impl ID2D1DeviceContext6_Vtbl { } Self { base__: ID2D1DeviceContext5_Vtbl::new::(), BlendImage: BlendImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2043,8 +2043,8 @@ impl ID2D1DrawInfo_Vtbl { SetVertexProcessing: SetVertexProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2064,8 +2064,8 @@ impl ID2D1DrawTransform_Vtbl { } Self { base__: ID2D1Transform_Vtbl::new::(), SetDrawInfo: SetDrawInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2109,8 +2109,8 @@ impl ID2D1DrawingStateBlock_Vtbl { GetTextRenderingParams: GetTextRenderingParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2140,8 +2140,8 @@ impl ID2D1DrawingStateBlock1_Vtbl { SetDescription2: SetDescription2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2192,8 +2192,8 @@ impl ID2D1Effect_Vtbl { GetOutput: GetOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2440,8 +2440,8 @@ impl ID2D1EffectContext_Vtbl { IsBufferPrecisionSupported: IsBufferPrecisionSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2467,8 +2467,8 @@ impl ID2D1EffectContext1_Vtbl { } Self { base__: ID2D1EffectContext_Vtbl::new::(), CreateLookupTable3D: CreateLookupTable3D:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2510,8 +2510,8 @@ impl ID2D1EffectContext2_Vtbl { CreateColorContextFromSimpleColorProfile: CreateColorContextFromSimpleColorProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -2545,8 +2545,8 @@ impl ID2D1EffectImpl_Vtbl { SetGraph: SetGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2566,8 +2566,8 @@ impl ID2D1EllipseGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetEllipse: GetEllipse:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ID2D1Factory_Vtbl { CreateDCRenderTarget: CreateDCRenderTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2876,8 +2876,8 @@ impl ID2D1Factory1_Vtbl { GetEffectProperties: GetEffectProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2903,8 +2903,8 @@ impl ID2D1Factory2_Vtbl { } Self { base__: ID2D1Factory1_Vtbl::new::(), CreateDevice2: CreateDevice2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl ID2D1Factory3_Vtbl { } Self { base__: ID2D1Factory2_Vtbl::new::(), CreateDevice3: CreateDevice3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2957,8 +2957,8 @@ impl ID2D1Factory4_Vtbl { } Self { base__: ID2D1Factory3_Vtbl::new::(), CreateDevice4: CreateDevice4:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2984,8 +2984,8 @@ impl ID2D1Factory5_Vtbl { } Self { base__: ID2D1Factory4_Vtbl::new::(), CreateDevice5: CreateDevice5:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3011,8 +3011,8 @@ impl ID2D1Factory6_Vtbl { } Self { base__: ID2D1Factory5_Vtbl::new::(), CreateDevice6: CreateDevice6:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3038,8 +3038,8 @@ impl ID2D1Factory7_Vtbl { } Self { base__: ID2D1Factory6_Vtbl::new::(), CreateDevice7: CreateDevice7:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3075,8 +3075,8 @@ impl ID2D1GdiInteropRenderTarget_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl ID2D1GdiMetafile_Vtbl { GetBounds: GetBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl ID2D1GdiMetafile1_Vtbl { GetSourceBounds: GetSourceBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3167,8 +3167,8 @@ impl ID2D1GdiMetafileSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProcessRecord: ProcessRecord:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3185,8 +3185,8 @@ impl ID2D1GdiMetafileSink1_Vtbl { } Self { base__: ID2D1GdiMetafileSink_Vtbl::new::(), ProcessRecord2: ProcessRecord2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3335,8 +3335,8 @@ impl ID2D1Geometry_Vtbl { Widen: Widen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3373,8 +3373,8 @@ impl ID2D1GeometryGroup_Vtbl { GetSourceGeometries: GetSourceGeometries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3384,8 +3384,8 @@ impl ID2D1GeometryRealization_Vtbl { pub const fn new, Impl: ID2D1GeometryRealization_Impl, const OFFSET: isize>() -> ID2D1GeometryRealization_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3436,8 +3436,8 @@ impl ID2D1GeometrySink_Vtbl { AddArc: AddArc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3467,8 +3467,8 @@ impl ID2D1GradientMesh_Vtbl { GetPatches: GetPatches::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3512,8 +3512,8 @@ impl ID2D1GradientStopCollection_Vtbl { GetExtendMode: GetExtendMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3564,8 +3564,8 @@ impl ID2D1GradientStopCollection1_Vtbl { GetColorInterpolationMode: GetColorInterpolationMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3602,8 +3602,8 @@ impl ID2D1HwndRenderTarget_Vtbl { GetHwnd: GetHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3613,8 +3613,8 @@ impl ID2D1Image_Vtbl { pub const fn new, Impl: ID2D1Image_Impl, const OFFSET: isize>() -> ID2D1Image_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3700,8 +3700,8 @@ impl ID2D1ImageBrush_Vtbl { GetSourceRectangle: GetSourceRectangle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3737,8 +3737,8 @@ impl ID2D1ImageSource_Vtbl { TryReclaimResources: TryReclaimResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3775,8 +3775,8 @@ impl ID2D1ImageSourceFromWic_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3868,8 +3868,8 @@ impl ID2D1Ink_Vtbl { GetBounds: GetBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -3913,8 +3913,8 @@ impl ID2D1InkStyle_Vtbl { GetNibShape: GetNibShape::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3934,8 +3934,8 @@ impl ID2D1Layer_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), GetSize: GetSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3986,8 +3986,8 @@ impl ID2D1LinearGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -3997,8 +3997,8 @@ impl ID2D1LookupTable3D_Vtbl { pub const fn new, Impl: ID2D1LookupTable3D_Impl, const OFFSET: isize>() -> ID2D1LookupTable3D_Vtbl { Self { base__: ID2D1Resource_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl ID2D1Mesh_Vtbl { } Self { base__: ID2D1Resource_Vtbl::new::(), Open: Open:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4059,8 +4059,8 @@ impl ID2D1Multithread_Vtbl { Leave: Leave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4090,8 +4090,8 @@ impl ID2D1OffsetTransform_Vtbl { GetOffset: GetOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4153,8 +4153,8 @@ impl ID2D1PathGeometry_Vtbl { GetFigureCount: GetFigureCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4177,8 +4177,8 @@ impl ID2D1PathGeometry1_Vtbl { ComputePointAndSegmentAtLength: ComputePointAndSegmentAtLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4208,8 +4208,8 @@ impl ID2D1PrintControl_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4305,8 +4305,8 @@ impl ID2D1Properties_Vtbl { GetSubProperties: GetSubProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4385,8 +4385,8 @@ impl ID2D1RadialGradientBrush_Vtbl { GetGradientStopCollection: GetGradientStopCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4406,8 +4406,8 @@ impl ID2D1RectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRect: GetRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl ID2D1RenderInfo_Vtbl { SetInstructionCountHint: SetInstructionCountHint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -4899,8 +4899,8 @@ impl ID2D1RenderTarget_Vtbl { IsSupported: IsSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4917,8 +4917,8 @@ impl ID2D1Resource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFactory: GetFactory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -4935,8 +4935,8 @@ impl ID2D1ResourceTexture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4956,8 +4956,8 @@ impl ID2D1RoundedRectangleGeometry_Vtbl { } Self { base__: ID2D1Geometry_Vtbl::new::(), GetRoundedRect: GetRoundedRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -4987,8 +4987,8 @@ impl ID2D1SolidColorBrush_Vtbl { GetColor: GetColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5018,8 +5018,8 @@ impl ID2D1SourceTransform_Vtbl { Draw: Draw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5071,8 +5071,8 @@ impl ID2D1SpriteBatch_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5148,8 +5148,8 @@ impl ID2D1StrokeStyle_Vtbl { GetDashes: GetDashes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5166,8 +5166,8 @@ impl ID2D1StrokeStyle1_Vtbl { } Self { base__: ID2D1StrokeStyle_Vtbl::new::(), GetStrokeTransformType: GetStrokeTransformType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5200,8 +5200,8 @@ impl ID2D1SvgAttribute_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5330,8 +5330,8 @@ impl ID2D1SvgDocument_Vtbl { CreatePathData: CreatePathData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5581,8 +5581,8 @@ impl ID2D1SvgElement_Vtbl { GetAttributeValueLength: GetAttributeValueLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5630,8 +5630,8 @@ impl ID2D1SvgGlyphStyle_Vtbl { GetStroke: GetStroke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5696,8 +5696,8 @@ impl ID2D1SvgPaint_Vtbl { GetIdLength: GetIdLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5782,8 +5782,8 @@ impl ID2D1SvgPathData_Vtbl { CreatePathGeometry: CreatePathGeometry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5827,8 +5827,8 @@ impl ID2D1SvgPointCollection_Vtbl { GetPointsCount: GetPointsCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -5883,8 +5883,8 @@ impl ID2D1SvgStrokeDashArray_Vtbl { GetDashesCount: GetDashesCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -5914,8 +5914,8 @@ impl ID2D1TessellationSink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5958,8 +5958,8 @@ impl ID2D1Transform_Vtbl { MapInvalidRect: MapInvalidRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6035,8 +6035,8 @@ impl ID2D1TransformGraph_Vtbl { SetPassthroughGraph: SetPassthroughGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6053,8 +6053,8 @@ impl ID2D1TransformNode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputCount: GetInputCount:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -6084,8 +6084,8 @@ impl ID2D1TransformedGeometry_Vtbl { GetTransform: GetTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6112,8 +6112,8 @@ impl ID2D1TransformedImageSource_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct2D\"`, `\"implement\"`*"] @@ -6136,7 +6136,7 @@ impl ID2D1VertexBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map::, Unmap: Unmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs index f275618e6d..9e3d50094c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/Dxc/impl.rs @@ -18,8 +18,8 @@ impl IDxcAssembler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssembleToContainer: AssembleToContainer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IDxcBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IDxcBlobEncoding_Vtbl { } Self { base__: IDxcBlob_Vtbl::new::(), GetEncoding: GetEncoding:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IDxcBlobUtf16_Vtbl { GetStringLength: GetStringLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IDxcBlobUtf8_Vtbl { GetStringLength: GetStringLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl IDxcCompiler_Vtbl { Disassemble: Disassemble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl IDxcCompiler2_Vtbl { } Self { base__: IDxcCompiler_Vtbl::new::(), CompileWithDebug: CompileWithDebug:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IDxcCompiler3_Vtbl { Disassemble: Disassemble::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IDxcCompilerArgs_Vtbl { AddDefines: AddDefines::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -339,8 +339,8 @@ impl IDxcContainerBuilder_Vtbl { SerializeContainer: SerializeContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IDxcContainerReflection_Vtbl { GetPartReflection: GetPartReflection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -447,8 +447,8 @@ impl IDxcExtraOutputs_Vtbl { GetOutput: GetOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IDxcIncludeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadSource: LoadSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -612,8 +612,8 @@ impl IDxcLibrary_Vtbl { GetBlobAsUtf16: GetBlobAsUtf16::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -646,8 +646,8 @@ impl IDxcLinker_Vtbl { Link: Link::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IDxcOperationResult_Vtbl { GetErrorBuffer: GetErrorBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -746,8 +746,8 @@ impl IDxcOptimizer_Vtbl { RunOptimizer: RunOptimizer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -825,8 +825,8 @@ impl IDxcOptimizerPass_Vtbl { GetOptionArgDescription: GetOptionArgDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1118,8 +1118,8 @@ impl IDxcPdbUtils_Vtbl { OverrideRootSignature: OverrideRootSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl IDxcResult_Vtbl { PrimaryOutput: PrimaryOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1338,8 +1338,8 @@ impl IDxcUtils_Vtbl { GetPDBContents: GetPDBContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1362,8 +1362,8 @@ impl IDxcValidator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Validate: Validate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1386,8 +1386,8 @@ impl IDxcValidator2_Vtbl { } Self { base__: IDxcValidator_Vtbl::new::(), ValidateWithDebug: ValidateWithDebug:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1420,8 +1420,8 @@ impl IDxcVersionInfo_Vtbl { GetFlags: GetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1438,8 +1438,8 @@ impl IDxcVersionInfo2_Vtbl { } Self { base__: IDxcVersionInfo_Vtbl::new::(), GetCommitInfo: GetCommitInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D_Dxc\"`, `\"implement\"`*"] @@ -1462,7 +1462,7 @@ impl IDxcVersionInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCustomVersionString: GetCustomVersionString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs index 8f6269563d..8e5a898c4d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D/impl.rs @@ -22,8 +22,8 @@ impl ID3DBlob_Vtbl { GetBufferSize: GetBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl ID3DDestructionNotifier_Vtbl { UnregisterDestructionCallback: UnregisterDestructionCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs index e4d7d78bb0..db770a2872 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D10/impl.rs @@ -36,8 +36,8 @@ impl ID3D10Asynchronous_Vtbl { GetDataSize: GetDataSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl ID3D10BlendState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl ID3D10BlendState1_Vtbl { } Self { base__: ID3D10BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl ID3D10Buffer_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -131,8 +131,8 @@ impl ID3D10Counter_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl ID3D10Debug_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl ID3D10DepthStencilState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl ID3D10DepthStencilView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl ID3D10Device_Vtbl { GetTextFilterSize: GetTextFilterSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl ID3D10Device1_Vtbl { GetFeatureLevel: GetFeatureLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl ID3D10DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1151,8 +1151,8 @@ impl ID3D10Effect_Vtbl { IsOptimized: IsOptimized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1555,8 +1555,8 @@ impl ID3D10EffectPool_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsEffect: AsEffect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2495,8 +2495,8 @@ impl ID3D10GeometryShader_Vtbl { pub const fn new, Impl: ID3D10GeometryShader_Impl, const OFFSET: isize>() -> ID3D10GeometryShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2757,8 +2757,8 @@ impl ID3D10InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2768,8 +2768,8 @@ impl ID3D10InputLayout_Vtbl { pub const fn new, Impl: ID3D10InputLayout_Impl, const OFFSET: isize>() -> ID3D10InputLayout_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2813,8 +2813,8 @@ impl ID3D10Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2824,8 +2824,8 @@ impl ID3D10PixelShader_Vtbl { pub const fn new, Impl: ID3D10PixelShader_Impl, const OFFSET: isize>() -> ID3D10PixelShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2835,8 +2835,8 @@ impl ID3D10Predicate_Vtbl { pub const fn new, Impl: ID3D10Predicate_Impl, const OFFSET: isize>() -> ID3D10Predicate_Vtbl { Self { base__: ID3D10Query_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2853,8 +2853,8 @@ impl ID3D10Query_Vtbl { } Self { base__: ID3D10Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2874,8 +2874,8 @@ impl ID3D10RasterizerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2895,8 +2895,8 @@ impl ID3D10RenderTargetView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl ID3D10Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -2948,8 +2948,8 @@ impl ID3D10SamplerState_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3007,8 +3007,8 @@ impl ID3D10ShaderReflection_Vtbl { GetOutputParameterDesc: GetOutputParameterDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3171,8 +3171,8 @@ impl ID3D10ShaderReflection1_Vtbl { IsSampleFrequencyShader: IsSampleFrequencyShader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3321,8 +3321,8 @@ impl ID3D10ShaderResourceView_Vtbl { } Self { base__: ID3D10View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3342,8 +3342,8 @@ impl ID3D10ShaderResourceView1_Vtbl { } Self { base__: ID3D10ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3390,8 +3390,8 @@ impl ID3D10StateBlock_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3421,8 +3421,8 @@ impl ID3D10SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3459,8 +3459,8 @@ impl ID3D10Texture1D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3503,8 +3503,8 @@ impl ID3D10Texture2D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3547,8 +3547,8 @@ impl ID3D10Texture3D_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3558,8 +3558,8 @@ impl ID3D10VertexShader_Vtbl { pub const fn new, Impl: ID3D10VertexShader_Impl, const OFFSET: isize>() -> ID3D10VertexShader_Vtbl { Self { base__: ID3D10DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D10\"`, `\"implement\"`*"] @@ -3576,7 +3576,7 @@ impl ID3D10View_Vtbl { } Self { base__: ID3D10DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs index 6c35ded83f..32854e8eb8 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11/impl.rs @@ -12,8 +12,8 @@ impl ID3D11Asynchronous_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDataSize: GetDataSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl ID3D11AuthenticatedChannel_Vtbl { GetChannelHandle: GetChannelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl ID3D11BlendState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl ID3D11BlendState1_Vtbl { } Self { base__: ID3D11BlendState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl ID3D11Buffer_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl ID3D11ClassInstance_Vtbl { GetTypeName: GetTypeName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl ID3D11ClassLinkage_Vtbl { CreateClassInstance: CreateClassInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -219,8 +219,8 @@ impl ID3D11CommandList_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetContextFlags: GetContextFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl ID3D11ComputeShader_Vtbl { pub const fn new, Impl: ID3D11ComputeShader_Impl, const OFFSET: isize>() -> ID3D11ComputeShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl ID3D11Counter_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -306,8 +306,8 @@ impl ID3D11CryptoSession_Vtbl { GetCryptoSessionHandle: GetCryptoSessionHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -392,8 +392,8 @@ impl ID3D11Debug_Vtbl { ValidateContextForDispatch: ValidateContextForDispatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -413,8 +413,8 @@ impl ID3D11DepthStencilState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl ID3D11DepthStencilView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -749,8 +749,8 @@ impl ID3D11Device_Vtbl { GetExceptionMode: GetExceptionMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ID3D11Device1_Vtbl { OpenSharedResourceByName: OpenSharedResourceByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl ID3D11Device2_Vtbl { CheckMultisampleQualityLevels1: CheckMultisampleQualityLevels1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -960,8 +960,8 @@ impl ID3D11Device3_Vtbl { ReadFromSubresource: ReadFromSubresource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl ID3D11Device4_Vtbl { UnregisterDeviceRemoved: UnregisterDeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1028,8 +1028,8 @@ impl ID3D11Device5_Vtbl { CreateFence: CreateFence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -1070,8 +1070,8 @@ impl ID3D11DeviceChild_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1843,8 +1843,8 @@ impl ID3D11DeviceContext_Vtbl { FinishCommandList: FinishCommandList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1993,8 +1993,8 @@ impl ID3D11DeviceContext1_Vtbl { DiscardView1: DiscardView1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2092,8 +2092,8 @@ impl ID3D11DeviceContext2_Vtbl { EndEvent: EndEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl ID3D11DeviceContext3_Vtbl { GetHardwareProtectionState: GetHardwareProtectionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2161,8 +2161,8 @@ impl ID3D11DeviceContext4_Vtbl { Wait: Wait::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2172,8 +2172,8 @@ impl ID3D11DomainShader_Vtbl { pub const fn new, Impl: ID3D11DomainShader_Impl, const OFFSET: isize>() -> ID3D11DomainShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -2216,8 +2216,8 @@ impl ID3D11Fence_Vtbl { SetEventOnCompletion: SetEventOnCompletion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2313,8 +2313,8 @@ impl ID3D11FunctionLinkingGraph_Vtbl { GenerateHlsl: GenerateHlsl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2430,8 +2430,8 @@ impl ID3D11GeometryShader_Vtbl { pub const fn new, Impl: ID3D11GeometryShader_Impl, const OFFSET: isize>() -> ID3D11GeometryShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2441,8 +2441,8 @@ impl ID3D11HullShader_Vtbl { pub const fn new, Impl: ID3D11HullShader_Impl, const OFFSET: isize>() -> ID3D11HullShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2703,8 +2703,8 @@ impl ID3D11InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2714,8 +2714,8 @@ impl ID3D11InputLayout_Vtbl { pub const fn new, Impl: ID3D11InputLayout_Impl, const OFFSET: isize>() -> ID3D11InputLayout_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2748,8 +2748,8 @@ impl ID3D11LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2786,8 +2786,8 @@ impl ID3D11Linker_Vtbl { AddClipPlaneFromCBuffer: AddClipPlaneFromCBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl ID3D11LinkingNode_Vtbl { pub const fn new, Impl: ID3D11LinkingNode_Impl, const OFFSET: isize>() -> ID3D11LinkingNode_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2821,8 +2821,8 @@ impl ID3D11Module_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl ID3D11ModuleInstance_Vtbl { BindResourceAsUnorderedAccessViewByName: BindResourceAsUnorderedAccessViewByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2950,8 +2950,8 @@ impl ID3D11Multithread_Vtbl { GetMultithreadProtected: GetMultithreadProtected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2961,8 +2961,8 @@ impl ID3D11PixelShader_Vtbl { pub const fn new, Impl: ID3D11PixelShader_Impl, const OFFSET: isize>() -> ID3D11PixelShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl ID3D11Predicate_Vtbl { pub const fn new, Impl: ID3D11Predicate_Impl, const OFFSET: isize>() -> ID3D11Predicate_Vtbl { Self { base__: ID3D11Query_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -2990,8 +2990,8 @@ impl ID3D11Query_Vtbl { } Self { base__: ID3D11Asynchronous_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3008,8 +3008,8 @@ impl ID3D11Query1_Vtbl { } Self { base__: ID3D11Query_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3029,8 +3029,8 @@ impl ID3D11RasterizerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3050,8 +3050,8 @@ impl ID3D11RasterizerState1_Vtbl { } Self { base__: ID3D11RasterizerState_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3071,8 +3071,8 @@ impl ID3D11RasterizerState2_Vtbl { } Self { base__: ID3D11RasterizerState1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3089,8 +3089,8 @@ impl ID3D11RefDefaultTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl ID3D11RefTrackingOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetTrackingOptions: SetTrackingOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3128,8 +3128,8 @@ impl ID3D11RenderTargetView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl ID3D11RenderTargetView1_Vtbl { } Self { base__: ID3D11RenderTargetView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3184,8 +3184,8 @@ impl ID3D11Resource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl ID3D11SamplerState_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3358,8 +3358,8 @@ impl ID3D11ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3569,8 +3569,8 @@ impl ID3D11ShaderResourceView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3590,8 +3590,8 @@ impl ID3D11ShaderResourceView1_Vtbl { } Self { base__: ID3D11ShaderResourceView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3663,8 +3663,8 @@ impl ID3D11ShaderTrace_Vtbl { GetReadRegister: GetReadRegister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3687,8 +3687,8 @@ impl ID3D11ShaderTraceFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateShaderTrace: CreateShaderTrace:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3718,8 +3718,8 @@ impl ID3D11SwitchToRef_Vtbl { GetUseRef: GetUseRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3739,8 +3739,8 @@ impl ID3D11Texture1D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3760,8 +3760,8 @@ impl ID3D11Texture2D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3781,8 +3781,8 @@ impl ID3D11Texture2D1_Vtbl { } Self { base__: ID3D11Texture2D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3802,8 +3802,8 @@ impl ID3D11Texture3D_Vtbl { } Self { base__: ID3D11Resource_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3823,8 +3823,8 @@ impl ID3D11Texture3D1_Vtbl { } Self { base__: ID3D11Texture3D_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3851,8 +3851,8 @@ impl ID3D11TracingDevice_Vtbl { SetShaderTrackingOptions: SetShaderTrackingOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3872,8 +3872,8 @@ impl ID3D11UnorderedAccessView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3893,8 +3893,8 @@ impl ID3D11UnorderedAccessView1_Vtbl { } Self { base__: ID3D11UnorderedAccessView_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -3904,8 +3904,8 @@ impl ID3D11VertexShader_Vtbl { pub const fn new, Impl: ID3D11VertexShader_Impl, const OFFSET: isize>() -> ID3D11VertexShader_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4327,8 +4327,8 @@ impl ID3D11VideoContext_Vtbl { VideoProcessorGetStreamRotation: VideoProcessorGetStreamRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4460,8 +4460,8 @@ impl ID3D11VideoContext1_Vtbl { VideoProcessorGetBehaviorHints: VideoProcessorGetBehaviorHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4505,8 +4505,8 @@ impl ID3D11VideoContext2_Vtbl { VideoProcessorGetStreamHDRMetaData: VideoProcessorGetStreamHDRMetaData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4536,8 +4536,8 @@ impl ID3D11VideoContext3_Vtbl { SubmitDecoderBuffers2: SubmitDecoderBuffers2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4573,8 +4573,8 @@ impl ID3D11VideoDecoder_Vtbl { GetDriverHandle: GetDriverHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -4591,8 +4591,8 @@ impl ID3D11VideoDecoderOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4781,8 +4781,8 @@ impl ID3D11VideoDevice_Vtbl { SetPrivateDataInterface: SetPrivateDataInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4838,8 +4838,8 @@ impl ID3D11VideoDevice1_Vtbl { RecommendVideoDecoderDownsampleParameters: RecommendVideoDecoderDownsampleParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4869,8 +4869,8 @@ impl ID3D11VideoDevice2_Vtbl { NegotiateCryptoSessionKeyExchangeMT: NegotiateCryptoSessionKeyExchangeMT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4900,8 +4900,8 @@ impl ID3D11VideoProcessor_Vtbl { GetRateConversionCaps: GetRateConversionCaps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -4971,8 +4971,8 @@ impl ID3D11VideoProcessorEnumerator_Vtbl { GetVideoProcessorFilterRange: GetVideoProcessorFilterRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -5001,8 +5001,8 @@ impl ID3D11VideoProcessorEnumerator1_Vtbl { CheckVideoProcessorFormatConversion: CheckVideoProcessorFormatConversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5019,8 +5019,8 @@ impl ID3D11VideoProcessorInputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5037,8 +5037,8 @@ impl ID3D11VideoProcessorOutputView_Vtbl { } Self { base__: ID3D11View_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5055,8 +5055,8 @@ impl ID3D11View_Vtbl { } Self { base__: ID3D11DeviceChild_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5066,8 +5066,8 @@ impl ID3DDeviceContextState_Vtbl { pub const fn new, Impl: ID3DDeviceContextState_Impl, const OFFSET: isize>() -> ID3DDeviceContextState_Vtbl { Self { base__: ID3D11DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5111,8 +5111,8 @@ impl ID3DUserDefinedAnnotation_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5174,8 +5174,8 @@ impl ID3DX11FFT_Vtbl { InverseTransform: InverseTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5209,8 +5209,8 @@ impl ID3DX11Scan_Vtbl { Multiscan: Multiscan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11\"`, `\"implement\"`*"] @@ -5237,7 +5237,7 @@ impl ID3DX11SegmentedScan_Vtbl { SegScan: SegScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs index fe6fc82dce..8ffec16495 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D11on12/impl.rs @@ -32,8 +32,8 @@ impl ID3D11On12Device_Vtbl { AcquireWrappedResources: AcquireWrappedResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`, `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl ID3D11On12Device1_Vtbl { } Self { base__: ID3D11On12Device_Vtbl::new::(), GetD3D12Device: GetD3D12Device:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D11on12\"`, `\"Win32_Graphics_Direct3D11\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -84,7 +84,7 @@ impl ID3D11On12Device2_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs index 30423c01b8..dbb46b7a97 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D12/impl.rs @@ -12,8 +12,8 @@ impl ID3D12CommandAllocator_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl ID3D12CommandList_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), GetType: GetType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl ID3D12CommandQueue_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -141,8 +141,8 @@ impl ID3D12CommandSignature_Vtbl { pub const fn new, Impl: ID3D12CommandSignature_Impl, const OFFSET: isize>() -> ID3D12CommandSignature_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -159,8 +159,8 @@ impl ID3D12DSRDeviceFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateDSRDevice: CreateDSRDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -177,8 +177,8 @@ impl ID3D12Debug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableDebugLayer: EnableDebugLayer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl ID3D12Debug1_Vtbl { SetEnableSynchronizedCommandQueueValidation: SetEnableSynchronizedCommandQueueValidation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -236,8 +236,8 @@ impl ID3D12Debug2_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -274,8 +274,8 @@ impl ID3D12Debug3_Vtbl { SetGPUBasedValidationFlags: SetGPUBasedValidationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -295,8 +295,8 @@ impl ID3D12Debug4_Vtbl { } Self { base__: ID3D12Debug3_Vtbl::new::(), DisableDebugLayer: DisableDebugLayer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -316,8 +316,8 @@ impl ID3D12Debug5_Vtbl { } Self { base__: ID3D12Debug4_Vtbl::new::(), SetEnableAutoName: SetEnableAutoName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl ID3D12Debug6_Vtbl { SetForceLegacyBarrierValidation: SetForceLegacyBarrierValidation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -378,8 +378,8 @@ impl ID3D12DebugCommandList_Vtbl { GetFeatureMask: GetFeatureMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl ID3D12DebugCommandList1_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -447,8 +447,8 @@ impl ID3D12DebugCommandList2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl ID3D12DebugCommandList3_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl ID3D12DebugCommandQueue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AssertResourceState: AssertResourceState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl ID3D12DebugCommandQueue1_Vtbl { AssertTextureLayout: AssertTextureLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -565,8 +565,8 @@ impl ID3D12DebugDevice_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl ID3D12DebugDevice1_Vtbl { ReportLiveDeviceObjects: ReportLiveDeviceObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -628,8 +628,8 @@ impl ID3D12DebugDevice2_Vtbl { GetDebugParameter: GetDebugParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -663,8 +663,8 @@ impl ID3D12DescriptorHeap_Vtbl { GetGPUDescriptorHandleForHeapStart: GetGPUDescriptorHandleForHeapStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl ID3D12Device_Vtbl { GetAdapterLuid: GetAdapterLuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl ID3D12Device1_Vtbl { SetResidencyPriority: SetResidencyPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1028,8 +1028,8 @@ impl ID3D12Device10_Vtbl { CreateReservedResource2: CreateReservedResource2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1049,20 +1049,20 @@ impl ID3D12Device11_Vtbl { } Self { base__: ID3D12Device10_Vtbl::new::(), CreateSampler2: CreateSampler2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1082,21 +1082,21 @@ impl ID3D12Device12_Vtbl { } Self { base__: ID3D12Device11_Vtbl::new::(), GetResourceAllocationInfo3: GetResourceAllocationInfo3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1116,8 +1116,8 @@ impl ID3D12Device2_Vtbl { } Self { base__: ID3D12Device1_Vtbl::new::(), CreatePipelineState: CreatePipelineState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1154,8 +1154,8 @@ impl ID3D12Device3_Vtbl { EnqueueMakeResident: EnqueueMakeResident::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl ID3D12Device4_Vtbl { GetResourceAllocationInfo1: GetResourceAllocationInfo1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1286,8 +1286,8 @@ impl ID3D12Device5_Vtbl { CheckDriverMatchingIdentifier: CheckDriverMatchingIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1307,8 +1307,8 @@ impl ID3D12Device6_Vtbl { } Self { base__: ID3D12Device5_Vtbl::new::(), SetBackgroundProcessingMode: SetBackgroundProcessingMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1338,8 +1338,8 @@ impl ID3D12Device7_Vtbl { CreateProtectedResourceSession1: CreateProtectedResourceSession1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl ID3D12Device8_Vtbl { GetCopyableFootprints1: GetCopyableFootprints1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1428,8 +1428,8 @@ impl ID3D12Device9_Vtbl { CreateCommandQueue1: CreateCommandQueue1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl ID3D12DeviceChild_Vtbl { } Self { base__: ID3D12Object_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -1491,8 +1491,8 @@ impl ID3D12DeviceConfiguration_Vtbl { CreateVersionedRootSignatureDeserializer: CreateVersionedRootSignatureDeserializer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl ID3D12DeviceFactory_Vtbl { CreateDevice: CreateDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1597,8 +1597,8 @@ impl ID3D12DeviceRemovedExtendedData_Vtbl { GetPageFaultAllocationOutput: GetPageFaultAllocationOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1637,8 +1637,8 @@ impl ID3D12DeviceRemovedExtendedData1_Vtbl { GetPageFaultAllocationOutput1: GetPageFaultAllocationOutput1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1665,8 +1665,8 @@ impl ID3D12DeviceRemovedExtendedData2_Vtbl { GetDeviceState: GetDeviceState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings_Vtbl { SetWatsonDumpEnablement: SetWatsonDumpEnablement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1721,8 +1721,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings1_Vtbl { SetBreadcrumbContextEnablement: SetBreadcrumbContextEnablement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1745,8 +1745,8 @@ impl ID3D12DeviceRemovedExtendedDataSettings2_Vtbl { UseMarkersOnlyAutoBreadcrumbs: UseMarkersOnlyAutoBreadcrumbs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1783,8 +1783,8 @@ impl ID3D12Fence_Vtbl { Signal: Signal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1804,8 +1804,8 @@ impl ID3D12Fence1_Vtbl { } Self { base__: ID3D12Fence_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -2284,8 +2284,8 @@ impl ID3D12GraphicsCommandList_Vtbl { ExecuteIndirect: ExecuteIndirect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2343,8 +2343,8 @@ impl ID3D12GraphicsCommandList1_Vtbl { SetViewInstanceMask: SetViewInstanceMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2364,8 +2364,8 @@ impl ID3D12GraphicsCommandList2_Vtbl { } Self { base__: ID3D12GraphicsCommandList1_Vtbl::new::(), WriteBufferImmediate: WriteBufferImmediate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2388,8 +2388,8 @@ impl ID3D12GraphicsCommandList3_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2468,8 +2468,8 @@ impl ID3D12GraphicsCommandList4_Vtbl { DispatchRays: DispatchRays::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2499,8 +2499,8 @@ impl ID3D12GraphicsCommandList5_Vtbl { RSSetShadingRateImage: RSSetShadingRateImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2520,8 +2520,8 @@ impl ID3D12GraphicsCommandList6_Vtbl { } Self { base__: ID3D12GraphicsCommandList5_Vtbl::new::(), DispatchMesh: DispatchMesh:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2541,18 +2541,18 @@ impl ID3D12GraphicsCommandList7_Vtbl { } Self { base__: ID3D12GraphicsCommandList6_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2575,19 +2575,19 @@ impl ID3D12GraphicsCommandList8_Vtbl { OMSetFrontAndBackStencilRef: OMSetFrontAndBackStencilRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2617,20 +2617,20 @@ impl ID3D12GraphicsCommandList9_Vtbl { IASetIndexBufferStripCutValue: IASetIndexBufferStripCutValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2647,8 +2647,8 @@ impl ID3D12Heap_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2665,8 +2665,8 @@ impl ID3D12Heap1_Vtbl { } Self { base__: ID3D12Heap_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2927,8 +2927,8 @@ impl ID3D12InfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl ID3D12InfoQueue1_Vtbl { UnregisterMessageCallback: UnregisterMessageCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -2992,8 +2992,8 @@ impl ID3D12LibraryReflection_Vtbl { GetFunctionByIndex: GetFunctionByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3010,8 +3010,8 @@ impl ID3D12LifetimeOwner_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LifetimeStateUpdated: LifetimeStateUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3028,8 +3028,8 @@ impl ID3D12LifetimeTracker_Vtbl { } Self { base__: ID3D12DeviceChild_Vtbl::new::(), DestroyOwnedObject: DestroyOwnedObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3046,8 +3046,8 @@ impl ID3D12ManualWriteTrackingResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackWrite: TrackWrite:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl ID3D12MetaCommand_Vtbl { GetRequiredParameterResourceSize: GetRequiredParameterResourceSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3109,8 +3109,8 @@ impl ID3D12Object_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl ID3D12Pageable_Vtbl { pub const fn new, Impl: ID3D12Pageable_Impl, const OFFSET: isize>() -> ID3D12Pageable_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3172,8 +3172,8 @@ impl ID3D12PipelineLibrary_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3193,8 +3193,8 @@ impl ID3D12PipelineLibrary1_Vtbl { } Self { base__: ID3D12PipelineLibrary_Vtbl::new::(), LoadPipeline: LoadPipeline:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3220,8 +3220,8 @@ impl ID3D12PipelineState_Vtbl { } Self { base__: ID3D12Pageable_Vtbl::new::(), GetCachedBlob: GetCachedBlob:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3238,8 +3238,8 @@ impl ID3D12ProtectedResourceSession_Vtbl { } Self { base__: ID3D12ProtectedSession_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3256,8 +3256,8 @@ impl ID3D12ProtectedResourceSession1_Vtbl { } Self { base__: ID3D12ProtectedResourceSession_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3284,8 +3284,8 @@ impl ID3D12ProtectedSession_Vtbl { GetSessionStatus: GetSessionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3295,8 +3295,8 @@ impl ID3D12QueryHeap_Vtbl { pub const fn new, Impl: ID3D12QueryHeap_Impl, const OFFSET: isize>() -> ID3D12QueryHeap_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3361,8 +3361,8 @@ impl ID3D12Resource_Vtbl { GetHeapProperties: GetHeapProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3382,8 +3382,8 @@ impl ID3D12Resource1_Vtbl { } Self { base__: ID3D12Resource_Vtbl::new::(), GetProtectedResourceSession: GetProtectedResourceSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3403,8 +3403,8 @@ impl ID3D12Resource2_Vtbl { } Self { base__: ID3D12Resource1_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3414,8 +3414,8 @@ impl ID3D12RootSignature_Vtbl { pub const fn new, Impl: ID3D12RootSignature_Impl, const OFFSET: isize>() -> ID3D12RootSignature_Vtbl { Self { base__: ID3D12DeviceChild_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3432,8 +3432,8 @@ impl ID3D12RootSignatureDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRootSignatureDesc: GetRootSignatureDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3450,8 +3450,8 @@ impl ID3D12SDKConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSDKVersion: SetSDKVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3478,8 +3478,8 @@ impl ID3D12SDKConfiguration1_Vtbl { FreeUnusedSDKs: FreeUnusedSDKs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3520,8 +3520,8 @@ impl ID3D12ShaderCacheSession_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3676,8 +3676,8 @@ impl ID3D12ShaderReflection_Vtbl { GetRequiresFlags: GetRequiresFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -3911,8 +3911,8 @@ impl ID3D12SharingContract_Vtbl { EndCapturableWork: EndCapturableWork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3922,8 +3922,8 @@ impl ID3D12StateObject_Vtbl { pub const fn new, Impl: ID3D12StateObject_Impl, const OFFSET: isize>() -> ID3D12StateObject_Vtbl { Self { base__: ID3D12Pageable_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -3964,8 +3964,8 @@ impl ID3D12StateObjectProperties_Vtbl { SetPipelineStackSize: SetPipelineStackSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4009,8 +4009,8 @@ impl ID3D12SwapChainAssistant_Vtbl { InsertImplicitSync: InsertImplicitSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4040,8 +4040,8 @@ impl ID3D12Tools_Vtbl { ShaderInstrumentationEnabled: ShaderInstrumentationEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -4074,8 +4074,8 @@ impl ID3D12VersionedRootSignatureDeserializer_Vtbl { GetUnconvertedRootSignatureDesc: GetUnconvertedRootSignatureDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4117,7 +4117,7 @@ impl ID3D12VirtualizationGuestDevice_Vtbl { CreateFenceFd: CreateFenceFd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs index 50ba26d815..e5ac079989 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9/impl.rs @@ -109,8 +109,8 @@ impl IDirect3D9_Vtbl { CreateDevice: CreateDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IDirect3D9Ex_Vtbl { GetAdapterLUID: GetAdapterLUID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IDirect3DBaseTexture9_Vtbl { GenerateMipSubLevels: GenerateMipSubLevels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -275,8 +275,8 @@ impl IDirect3DCubeTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1200,8 +1200,8 @@ impl IDirect3DDevice9_Vtbl { CreateQuery: CreateQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1322,8 +1322,8 @@ impl IDirect3DDevice9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1357,8 +1357,8 @@ impl IDirect3DIndexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1391,8 +1391,8 @@ impl IDirect3DPixelShader9_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl IDirect3DQuery9_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1522,8 +1522,8 @@ impl IDirect3DResource9_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1563,8 +1563,8 @@ impl IDirect3DStateBlock9_Vtbl { Apply: Apply::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1622,8 +1622,8 @@ impl IDirect3DSurface9_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl IDirect3DSwapChain9_Vtbl { GetPresentParameters: GetPresentParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1738,8 +1738,8 @@ impl IDirect3DSwapChain9Ex_Vtbl { GetDisplayModeEx: GetDisplayModeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1796,8 +1796,8 @@ impl IDirect3DTexture9_Vtbl { AddDirtyRect: AddDirtyRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1831,8 +1831,8 @@ impl IDirect3DVertexBuffer9_Vtbl { GetDesc: GetDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1865,8 +1865,8 @@ impl IDirect3DVertexDeclaration9_Vtbl { GetDeclaration: GetDeclaration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1899,8 +1899,8 @@ impl IDirect3DVertexShader9_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1975,8 +1975,8 @@ impl IDirect3DVolume9_Vtbl { UnlockBox: UnlockBox::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2030,7 +2030,7 @@ impl IDirect3DVolumeTexture9_Vtbl { AddDirtyBox: AddDirtyBox::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs index 47d35a4246..2b17c5a1bf 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Direct3D9on12/impl.rs @@ -32,7 +32,7 @@ impl IDirect3DDevice9On12_Vtbl { ReturnUnderlyingResource: ReturnUnderlyingResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs index 2703477f04..1b6ec4713c 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectComposition/impl.rs @@ -60,8 +60,8 @@ impl IDCompositionAffineTransform2DEffect_Vtbl { SetSharpness2: SetSharpness2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IDCompositionAnimation_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl IDCompositionArithmeticCompositeEffect_Vtbl { SetCoefficient42: SetCoefficient42::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDCompositionBlendEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl IDCompositionBrightnessEffect_Vtbl { SetBlackPointY2: SetBlackPointY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl IDCompositionClip_Vtbl { pub const fn new, Impl: IDCompositionClip_Impl, const OFFSET: isize>() -> IDCompositionClip_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IDCompositionColorMatrixEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IDCompositionCompositeEffect_Vtbl { } Self { base__: IDCompositionFilterEffect_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IDCompositionDelegatedInkTrail_Vtbl { StartNewTrail: StartNewTrail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IDCompositionDesktopDevice_Vtbl { CreateSurfaceFromHwnd: CreateSurfaceFromHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -819,8 +819,8 @@ impl IDCompositionDevice_Vtbl { CheckDeviceState: CheckDeviceState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IDCompositionDevice2_Vtbl { CreateAnimation: CreateAnimation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1277,8 +1277,8 @@ impl IDCompositionDevice3_Vtbl { CreateAffineTransform2DEffect: CreateAffineTransform2DEffect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1305,8 +1305,8 @@ impl IDCompositionDeviceDebug_Vtbl { DisableDebugCounters: DisableDebugCounters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IDCompositionEffect_Vtbl { pub const fn new, Impl: IDCompositionEffect_Impl, const OFFSET: isize>() -> IDCompositionEffect_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1351,8 +1351,8 @@ impl IDCompositionEffectGroup_Vtbl { SetTransform3D: SetTransform3D::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1369,8 +1369,8 @@ impl IDCompositionFilterEffect_Vtbl { } Self { base__: IDCompositionEffect_Vtbl::new::(), SetInput: SetInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1407,8 +1407,8 @@ impl IDCompositionGaussianBlurEffect_Vtbl { SetBorderMode: SetBorderMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IDCompositionHueRotationEffect_Vtbl { SetAngle2: SetAngle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1475,8 +1475,8 @@ impl IDCompositionInkTrailDevice_Vtbl { CreateDelegatedInkTrailForSwapChain: CreateDelegatedInkTrailForSwapChain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1639,8 +1639,8 @@ impl IDCompositionLinearTransferEffect_Vtbl { SetClampOutput: SetClampOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -1677,8 +1677,8 @@ impl IDCompositionMatrixTransform_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"implement\"`*"] @@ -1715,8 +1715,8 @@ impl IDCompositionMatrixTransform3D_Vtbl { SetMatrixElement2: SetMatrixElement2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1897,8 +1897,8 @@ impl IDCompositionRectangleClip_Vtbl { SetBottomRightRadiusY2: SetBottomRightRadiusY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -1953,8 +1953,8 @@ impl IDCompositionRotateTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2065,8 +2065,8 @@ impl IDCompositionRotateTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2093,8 +2093,8 @@ impl IDCompositionSaturationEffect_Vtbl { SetSaturation2: SetSaturation2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IDCompositionScaleTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2261,8 +2261,8 @@ impl IDCompositionScaleTransform3D_Vtbl { SetCenterZ2: SetCenterZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2355,8 +2355,8 @@ impl IDCompositionShadowEffect_Vtbl { SetAlpha2: SetAlpha2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IDCompositionSkewTransform_Vtbl { SetCenterY2: SetCenterY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2477,8 +2477,8 @@ impl IDCompositionSurface_Vtbl { Scroll: Scroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2520,8 +2520,8 @@ impl IDCompositionSurfaceFactory_Vtbl { CreateVirtualSurface: CreateVirtualSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IDCompositionTableTransferEffect_Vtbl { SetAlphaTableValue2: SetAlphaTableValue2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2674,8 +2674,8 @@ impl IDCompositionTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRoot: SetRoot:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2685,8 +2685,8 @@ impl IDCompositionTransform_Vtbl { pub const fn new, Impl: IDCompositionTransform_Impl, const OFFSET: isize>() -> IDCompositionTransform_Vtbl { Self { base__: IDCompositionTransform3D_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2696,8 +2696,8 @@ impl IDCompositionTransform3D_Vtbl { pub const fn new, Impl: IDCompositionTransform3D_Impl, const OFFSET: isize>() -> IDCompositionTransform3D_Vtbl { Self { base__: IDCompositionEffect_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2738,8 +2738,8 @@ impl IDCompositionTranslateTransform_Vtbl { SetOffsetY2: SetOffsetY2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2794,8 +2794,8 @@ impl IDCompositionTranslateTransform3D_Vtbl { SetOffsetZ2: SetOffsetZ2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2860,8 +2860,8 @@ impl IDCompositionTurbulenceEffect_Vtbl { SetStitchable: SetStitchable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2891,8 +2891,8 @@ impl IDCompositionVirtualSurface_Vtbl { Trim: Trim::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3027,8 +3027,8 @@ impl IDCompositionVisual_Vtbl { SetCompositeMode: SetCompositeMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3058,8 +3058,8 @@ impl IDCompositionVisual2_Vtbl { SetBackFaceVisibility: SetBackFaceVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3131,8 +3131,8 @@ impl IDCompositionVisual3_Vtbl { SetVisible: SetVisible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectComposition\"`, `\"Foundation_Numerics\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -3176,7 +3176,7 @@ impl IDCompositionVisualDebug_Vtbl { DisableRedrawRegions: DisableRedrawRegions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs index b353331514..bea71e438e 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectDraw/impl.rs @@ -39,8 +39,8 @@ impl IDDVideoPortContainer_Vtbl { QueryVideoPortStatus: QueryVideoPortStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IDirectDraw_Vtbl { WaitForVerticalBlank: WaitForVerticalBlank::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -384,8 +384,8 @@ impl IDirectDraw2_Vtbl { GetAvailableVidMem: GetAvailableVidMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -594,8 +594,8 @@ impl IDirectDraw4_Vtbl { GetDeviceIdentifier: GetDeviceIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IDirectDraw7_Vtbl { EvaluateMode: EvaluateMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -877,8 +877,8 @@ impl IDirectDrawClipper_Vtbl { SetHWnd: SetHWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl IDirectDrawColorControl_Vtbl { SetColorControls: SetColorControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IDirectDrawGammaControl_Vtbl { SetGammaRamp: SetGammaRamp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -968,8 +968,8 @@ impl IDirectDrawKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IDirectDrawPalette_Vtbl { SetEntries: SetEntries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1273,8 +1273,8 @@ impl IDirectDrawSurface_Vtbl { UpdateOverlayZOrder: UpdateOverlayZOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IDirectDrawSurface2_Vtbl { PageUnlock: PageUnlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1842,8 +1842,8 @@ impl IDirectDrawSurface3_Vtbl { SetSurfaceDesc: SetSurfaceDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IDirectDrawSurface4_Vtbl { ChangeUniquenessValue: ChangeUniquenessValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2516,8 +2516,8 @@ impl IDirectDrawSurface7_Vtbl { GetLOD: GetLOD::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -2544,8 +2544,8 @@ impl IDirectDrawSurfaceKernel_Vtbl { ReleaseKernelHandle: ReleaseKernelHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2659,8 +2659,8 @@ impl IDirectDrawVideoPort_Vtbl { WaitForSync: WaitForSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2690,7 +2690,7 @@ impl IDirectDrawVideoPortNotify_Vtbl { ReleaseNotification: ReleaseNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs index 1794cbcb94..102df3370d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectManipulation/impl.rs @@ -12,8 +12,8 @@ impl IDirectManipulationAutoScrollBehavior_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetConfiguration: SetConfiguration:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -54,8 +54,8 @@ impl IDirectManipulationCompositor_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -75,8 +75,8 @@ impl IDirectManipulationCompositor2_Vtbl { AddContentWithCrossProcessChaining: AddContentWithCrossProcessChaining::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -154,8 +154,8 @@ impl IDirectManipulationContent_Vtbl { SyncContentTransform: SyncContentTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IDirectManipulationDeferContactService_Vtbl { CancelDeferral: CancelDeferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl IDirectManipulationDragDropBehavior_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IDirectManipulationDragDropEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnDragDropStatusChange: OnDragDropStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IDirectManipulationFrameInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextFrameInfo: GetNextFrameInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -277,8 +277,8 @@ impl IDirectManipulationInteractionEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnInteraction: OnInteraction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -349,8 +349,8 @@ impl IDirectManipulationManager_Vtbl { CreateContent: CreateContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IDirectManipulationManager2_Vtbl { } Self { base__: IDirectManipulationManager_Vtbl::new::(), CreateBehavior: CreateBehavior:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -391,8 +391,8 @@ impl IDirectManipulationManager3_Vtbl { } Self { base__: IDirectManipulationManager2_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -468,8 +468,8 @@ impl IDirectManipulationPrimaryContent_Vtbl { GetCenterPoint: GetCenterPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IDirectManipulationUpdateHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IDirectManipulationUpdateManager_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl IDirectManipulationViewport_Vtbl { Abandon: Abandon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -805,8 +805,8 @@ impl IDirectManipulationViewport2_Vtbl { RemoveAllBehaviors: RemoveAllBehaviors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectManipulation\"`, `\"implement\"`*"] @@ -840,7 +840,7 @@ impl IDirectManipulationViewportEventHandler_Vtbl { OnContentUpdated: OnContentUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs index 13010cf968..01e6cb5ba7 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/DirectWrite/impl.rs @@ -25,8 +25,8 @@ impl IDWriteAsyncResult_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IDWriteBitmapRenderTarget_Vtbl { Resize: Resize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -135,8 +135,8 @@ impl IDWriteBitmapRenderTarget1_Vtbl { SetTextAntialiasMode: SetTextAntialiasMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IDWriteColorGlyphRunEnumerator_Vtbl { GetCurrentRun: GetCurrentRun::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -205,8 +205,8 @@ impl IDWriteColorGlyphRunEnumerator1_Vtbl { } Self { base__: IDWriteColorGlyphRunEnumerator_Vtbl::new::(), GetCurrentRun2: GetCurrentRun2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IDWriteFactory_Vtbl { CreateGlyphRunAnalysis: CreateGlyphRunAnalysis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -502,8 +502,8 @@ impl IDWriteFactory1_Vtbl { CreateCustomRenderingParams2: CreateCustomRenderingParams2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl IDWriteFactory2_Vtbl { CreateGlyphRunAnalysis2: CreateGlyphRunAnalysis2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -712,8 +712,8 @@ impl IDWriteFactory3_Vtbl { GetFontDownloadQueue: GetFontDownloadQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IDWriteFactory4_Vtbl { ComputeGlyphOrigins2: ComputeGlyphOrigins2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IDWriteFactory5_Vtbl { UnpackFontFile: UnpackFontFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -952,8 +952,8 @@ impl IDWriteFactory6_Vtbl { CreateTextFormat2: CreateTextFormat2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl IDWriteFactory7_Vtbl { GetSystemFontCollection4: GetSystemFontCollection4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1113,8 +1113,8 @@ impl IDWriteFont_Vtbl { CreateFontFace: CreateFontFace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1158,8 +1158,8 @@ impl IDWriteFont1_Vtbl { IsMonospacedFont: IsMonospacedFont::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1179,8 +1179,8 @@ impl IDWriteFont2_Vtbl { } Self { base__: IDWriteFont1_Vtbl::new::(), IsColorFont: IsColorFont:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IDWriteFont3_Vtbl { GetLocality: GetLocality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1300,8 +1300,8 @@ impl IDWriteFontCollection_Vtbl { GetFontFromFontFace: GetFontFromFontFace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1343,8 +1343,8 @@ impl IDWriteFontCollection1_Vtbl { GetFontFamily2: GetFontFamily2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1406,8 +1406,8 @@ impl IDWriteFontCollection2_Vtbl { GetFontSet2: GetFontSet2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1427,8 +1427,8 @@ impl IDWriteFontCollection3_Vtbl { } Self { base__: IDWriteFontCollection2_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -1451,8 +1451,8 @@ impl IDWriteFontCollectionLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateEnumeratorFromKey: CreateEnumeratorFromKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -1469,8 +1469,8 @@ impl IDWriteFontDownloadListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DownloadCompleted: DownloadCompleted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IDWriteFontDownloadQueue_Vtbl { GetGenerationCount: GetGenerationCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1662,8 +1662,8 @@ impl IDWriteFontFace_Vtbl { GetGdiCompatibleGlyphMetrics: GetGdiCompatibleGlyphMetrics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1769,8 +1769,8 @@ impl IDWriteFontFace1_Vtbl { HasVerticalGlyphVariants: HasVerticalGlyphVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl IDWriteFontFace2_Vtbl { GetRecommendedRenderingMode3: GetRecommendedRenderingMode3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -1966,8 +1966,8 @@ impl IDWriteFontFace3_Vtbl { AreGlyphsLocal: AreGlyphsLocal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IDWriteFontFace4_Vtbl { ReleaseGlyphImageData: ReleaseGlyphImageData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl IDWriteFontFace5_Vtbl { Equals: Equals::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D_Common\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IDWriteFontFace6_Vtbl { GetFaceNames2: GetFaceNames2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2257,8 +2257,8 @@ impl IDWriteFontFaceReference_Vtbl { EnqueueFileFragmentDownloadRequest: EnqueueFileFragmentDownloadRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2301,8 +2301,8 @@ impl IDWriteFontFaceReference1_Vtbl { GetFontAxisValues: GetFontAxisValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2332,8 +2332,8 @@ impl IDWriteFontFallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapCharacters: MapCharacters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IDWriteFontFallback1_Vtbl { } Self { base__: IDWriteFontFallback_Vtbl::new::(), MapCharacters2: MapCharacters2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2392,8 +2392,8 @@ impl IDWriteFontFallbackBuilder_Vtbl { CreateFontFallback: CreateFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2445,8 +2445,8 @@ impl IDWriteFontFamily_Vtbl { GetMatchingFonts: GetMatchingFonts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2492,8 +2492,8 @@ impl IDWriteFontFamily1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2532,8 +2532,8 @@ impl IDWriteFontFamily2_Vtbl { GetFontSet: GetFontSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2576,8 +2576,8 @@ impl IDWriteFontFile_Vtbl { Analyze: Analyze::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2619,8 +2619,8 @@ impl IDWriteFontFileEnumerator_Vtbl { GetCurrentFontFile: GetCurrentFontFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2643,8 +2643,8 @@ impl IDWriteFontFileLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateStreamFromKey: CreateStreamFromKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2697,8 +2697,8 @@ impl IDWriteFontFileStream_Vtbl { GetLastWriteTime: GetLastWriteTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2744,8 +2744,8 @@ impl IDWriteFontList_Vtbl { GetFont: GetFont::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2791,8 +2791,8 @@ impl IDWriteFontList1_Vtbl { GetFontFaceReference: GetFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -2815,8 +2815,8 @@ impl IDWriteFontList2_Vtbl { } Self { base__: IDWriteFontList1_Vtbl::new::(), GetFontSet: GetFontSet:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2940,8 +2940,8 @@ impl IDWriteFontResource_Vtbl { CreateFontFaceReference: CreateFontFaceReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3063,8 +3063,8 @@ impl IDWriteFontSet_Vtbl { GetMatchingFonts2: GetMatchingFonts2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3219,8 +3219,8 @@ impl IDWriteFontSet1_Vtbl { GetFontLocality: GetFontLocality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3240,8 +3240,8 @@ impl IDWriteFontSet2_Vtbl { } Self { base__: IDWriteFontSet1_Vtbl::new::(), GetExpirationEvent: GetExpirationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3278,8 +3278,8 @@ impl IDWriteFontSet3_Vtbl { GetFontSourceName: GetFontSourceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3315,8 +3315,8 @@ impl IDWriteFontSet4_Vtbl { GetMatchingFonts4: GetMatchingFonts4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3363,8 +3363,8 @@ impl IDWriteFontSetBuilder_Vtbl { CreateFontSet: CreateFontSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3381,8 +3381,8 @@ impl IDWriteFontSetBuilder1_Vtbl { } Self { base__: IDWriteFontSetBuilder_Vtbl::new::(), AddFontFile: AddFontFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3409,8 +3409,8 @@ impl IDWriteFontSetBuilder2_Vtbl { AddFontFile2: AddFontFile2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3479,8 +3479,8 @@ impl IDWriteGdiInterop_Vtbl { CreateBitmapRenderTarget: CreateBitmapRenderTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl IDWriteGdiInterop1_Vtbl { GetMatchingFontsByLOGFONT: GetMatchingFontsByLOGFONT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3580,8 +3580,8 @@ impl IDWriteGlyphRunAnalysis_Vtbl { GetAlphaBlendParams: GetAlphaBlendParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3614,8 +3614,8 @@ impl IDWriteInMemoryFontFileLoader_Vtbl { GetFileCount: GetFileCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IDWriteInlineObject_Vtbl { GetBreakConditions: GetBreakConditions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3721,8 +3721,8 @@ impl IDWriteLocalFontFileLoader_Vtbl { GetLastWriteTimeFromKey: GetLastWriteTimeFromKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3792,8 +3792,8 @@ impl IDWriteLocalizedStrings_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3803,8 +3803,8 @@ impl IDWriteNumberSubstitution_Vtbl { pub const fn new, Impl: IDWriteNumberSubstitution_Impl, const OFFSET: isize>() -> IDWriteNumberSubstitution_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3853,8 +3853,8 @@ impl IDWritePixelSnapping_Vtbl { GetPixelsPerDip: GetPixelsPerDip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -3906,8 +3906,8 @@ impl IDWriteRemoteFontFileLoader_Vtbl { CreateFontFileReferenceFromUrl: CreateFontFileReferenceFromUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3963,8 +3963,8 @@ impl IDWriteRemoteFontFileStream_Vtbl { BeginDownload: BeginDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4012,8 +4012,8 @@ impl IDWriteRenderingParams_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4033,8 +4033,8 @@ impl IDWriteRenderingParams1_Vtbl { GetGrayscaleEnhancedContrast: GetGrayscaleEnhancedContrast::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4051,8 +4051,8 @@ impl IDWriteRenderingParams2_Vtbl { } Self { base__: IDWriteRenderingParams1_Vtbl::new::(), GetGridFitMode: GetGridFitMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4069,8 +4069,8 @@ impl IDWriteRenderingParams3_Vtbl { } Self { base__: IDWriteRenderingParams2_Vtbl::new::(), GetRenderingMode1: GetRenderingMode1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4130,8 +4130,8 @@ impl IDWriteStringList_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4172,8 +4172,8 @@ impl IDWriteTextAnalysisSink_Vtbl { SetNumberSubstitution: SetNumberSubstitution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4193,8 +4193,8 @@ impl IDWriteTextAnalysisSink1_Vtbl { } Self { base__: IDWriteTextAnalysisSink_Vtbl::new::(), SetGlyphOrientation: SetGlyphOrientation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4242,8 +4242,8 @@ impl IDWriteTextAnalysisSource_Vtbl { GetNumberSubstitution: GetNumberSubstitution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4263,8 +4263,8 @@ impl IDWriteTextAnalysisSource1_Vtbl { GetVerticalGlyphOrientation: GetVerticalGlyphOrientation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4476,8 +4476,8 @@ impl IDWriteTextAnalyzer_Vtbl { GetGdiCompatibleGlyphPlacements: GetGdiCompatibleGlyphPlacements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4588,8 +4588,8 @@ impl IDWriteTextAnalyzer1_Vtbl { GetJustifiedGlyphs: GetJustifiedGlyphs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4626,8 +4626,8 @@ impl IDWriteTextAnalyzer2_Vtbl { CheckTypographicFeature: CheckTypographicFeature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -4821,8 +4821,8 @@ impl IDWriteTextFormat_Vtbl { GetLocaleName: GetLocaleName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4900,8 +4900,8 @@ impl IDWriteTextFormat1_Vtbl { GetFontFallback: GetFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4931,8 +4931,8 @@ impl IDWriteTextFormat2_Vtbl { GetLineSpacing2: GetLineSpacing2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4983,8 +4983,8 @@ impl IDWriteTextFormat3_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5285,8 +5285,8 @@ impl IDWriteTextLayout_Vtbl { HitTestTextRange: HitTestTextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5330,8 +5330,8 @@ impl IDWriteTextLayout1_Vtbl { GetCharacterSpacing: GetCharacterSpacing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5416,8 +5416,8 @@ impl IDWriteTextLayout2_Vtbl { GetFontFallback: GetFontFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5461,8 +5461,8 @@ impl IDWriteTextLayout3_Vtbl { GetLineMetrics2: GetLineMetrics2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5513,8 +5513,8 @@ impl IDWriteTextLayout4_Vtbl { SetAutomaticFontAxes: SetAutomaticFontAxes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5558,8 +5558,8 @@ impl IDWriteTextRenderer_Vtbl { DrawInlineObject: DrawInlineObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5603,8 +5603,8 @@ impl IDWriteTextRenderer1_Vtbl { DrawInlineObject2: DrawInlineObject2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_DirectWrite\"`, `\"implement\"`*"] @@ -5644,7 +5644,7 @@ impl IDWriteTypography_Vtbl { GetFontFeature: GetFontFeature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs index b329b091a6..88022ee9fd 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Dxgi/impl.rs @@ -44,8 +44,8 @@ impl IDXGIAdapter_Vtbl { CheckInterfaceSupport: CheckInterfaceSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IDXGIAdapter1_Vtbl { } Self { base__: IDXGIAdapter_Vtbl::new::(), GetDesc1: GetDesc1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IDXGIAdapter2_Vtbl { } Self { base__: IDXGIAdapter1_Vtbl::new::(), GetDesc2: GetDesc2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -157,8 +157,8 @@ impl IDXGIAdapter3_Vtbl { UnregisterVideoMemoryBudgetChangeNotification: UnregisterVideoMemoryBudgetChangeNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IDXGIAdapter4_Vtbl { } Self { base__: IDXGIAdapter3_Vtbl::new::(), GetDesc3: GetDesc3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -196,8 +196,8 @@ impl IDXGIDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportLiveObjects: ReportLiveObjects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IDXGIDebug1_Vtbl { IsLeakTrackingEnabledForThread: IsLeakTrackingEnabledForThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl IDXGIDecodeSwapChain_Vtbl { GetColorSpace: GetColorSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -390,8 +390,8 @@ impl IDXGIDevice_Vtbl { GetGPUThreadPriority: GetGPUThreadPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl IDXGIDevice1_Vtbl { GetMaximumFrameLatency: GetMaximumFrameLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IDXGIDevice2_Vtbl { EnqueueSetEvent: EnqueueSetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IDXGIDevice3_Vtbl { } Self { base__: IDXGIDevice2_Vtbl::new::(), Trim: Trim:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -517,8 +517,8 @@ impl IDXGIDevice4_Vtbl { ReclaimResources1: ReclaimResources1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -535,8 +535,8 @@ impl IDXGIDeviceSubObject_Vtbl { } Self { base__: IDXGIObject_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -566,8 +566,8 @@ impl IDXGIDisplayControl_Vtbl { SetStereoEnabled: SetStereoEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -636,8 +636,8 @@ impl IDXGIFactory_Vtbl { CreateSoftwareAdapter: CreateSoftwareAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IDXGIFactory1_Vtbl { IsCurrent: IsCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl IDXGIFactory2_Vtbl { CreateSwapChainForComposition: CreateSwapChainForComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IDXGIFactory3_Vtbl { } Self { base__: IDXGIFactory2_Vtbl::new::(), GetCreationFlags: GetCreationFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -867,8 +867,8 @@ impl IDXGIFactory4_Vtbl { EnumWarpAdapter: EnumWarpAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -888,8 +888,8 @@ impl IDXGIFactory5_Vtbl { } Self { base__: IDXGIFactory4_Vtbl::new::(), CheckFeatureSupport: CheckFeatureSupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IDXGIFactory6_Vtbl { } Self { base__: IDXGIFactory5_Vtbl::new::(), EnumAdapterByGpuPreference: EnumAdapterByGpuPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IDXGIFactory7_Vtbl { UnregisterAdaptersChangedEvent: UnregisterAdaptersChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl IDXGIFactoryMedia_Vtbl { CreateDecodeSwapChainForCompositionSurfaceHandle: CreateDecodeSwapChainForCompositionSurfaceHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1265,8 +1265,8 @@ impl IDXGIInfoQueue_Vtbl { GetMuteDebugOutput: GetMuteDebugOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1293,8 +1293,8 @@ impl IDXGIKeyedMutex_Vtbl { ReleaseSync: ReleaseSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1335,8 +1335,8 @@ impl IDXGIObject_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1436,8 +1436,8 @@ impl IDXGIOutput_Vtbl { GetFrameStatistics: GetFrameStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl IDXGIOutput1_Vtbl { DuplicateOutput: DuplicateOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1508,8 +1508,8 @@ impl IDXGIOutput2_Vtbl { } Self { base__: IDXGIOutput1_Vtbl::new::(), SupportsOverlays: SupportsOverlays:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1535,8 +1535,8 @@ impl IDXGIOutput3_Vtbl { } Self { base__: IDXGIOutput2_Vtbl::new::(), CheckOverlaySupport: CheckOverlaySupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1565,8 +1565,8 @@ impl IDXGIOutput4_Vtbl { CheckOverlayColorSpaceSupport: CheckOverlayColorSpaceSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl IDXGIOutput5_Vtbl { } Self { base__: IDXGIOutput4_Vtbl::new::(), DuplicateOutput1: DuplicateOutput1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1629,8 +1629,8 @@ impl IDXGIOutput6_Vtbl { CheckHardwareCompositionSupport: CheckHardwareCompositionSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1708,8 +1708,8 @@ impl IDXGIOutputDuplication_Vtbl { ReleaseFrame: ReleaseFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1771,8 +1771,8 @@ impl IDXGIResource_Vtbl { GetEvictionPriority: GetEvictionPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -1814,8 +1814,8 @@ impl IDXGIResource1_Vtbl { CreateSharedHandle: CreateSharedHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1852,8 +1852,8 @@ impl IDXGISurface_Vtbl { Unmap: Unmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IDXGISurface1_Vtbl { ReleaseDC: ReleaseDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1910,8 +1910,8 @@ impl IDXGISurface2_Vtbl { } Self { base__: IDXGISurface1_Vtbl::new::(), GetResource: GetResource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2009,8 +2009,8 @@ impl IDXGISwapChain_Vtbl { GetLastPresentCount: GetLastPresentCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2127,8 +2127,8 @@ impl IDXGISwapChain1_Vtbl { GetRotation: GetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2199,8 +2199,8 @@ impl IDXGISwapChain2_Vtbl { GetMatrixTransform: GetMatrixTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2250,8 +2250,8 @@ impl IDXGISwapChain3_Vtbl { ResizeBuffers1: ResizeBuffers1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2271,8 +2271,8 @@ impl IDXGISwapChain4_Vtbl { } Self { base__: IDXGISwapChain3_Vtbl::new::(), SetHDRMetaData: SetHDRMetaData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -2306,8 +2306,8 @@ impl IDXGISwapChainMedia_Vtbl { CheckPresentDurationSupport: CheckPresentDurationSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -2334,7 +2334,7 @@ impl IDXGraphicsAnalysis_Vtbl { EndCapture: EndCapture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs index 7587bd85af..9cf5a468de 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/D2D/impl.rs @@ -32,8 +32,8 @@ impl IWICImageEncoder_Vtbl { WriteThumbnail: WriteThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging_D2D\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -59,7 +59,7 @@ impl IWICImagingFactory2_Vtbl { } Self { base__: super::IWICImagingFactory_Vtbl::new::(), CreateImageEncoder: CreateImageEncoder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs index 3cdacbb5f7..d0696d59a6 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Imaging/impl.rs @@ -35,8 +35,8 @@ impl IWICBitmap_Vtbl { SetResolution: SetResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IWICBitmapClipper_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl IWICBitmapCodecInfo_Vtbl { MatchesMimeType: MatchesMimeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -211,8 +211,8 @@ impl IWICBitmapCodecProgressNotification_Vtbl { RegisterProgressNotification: RegisterProgressNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl IWICBitmapDecoder_Vtbl { GetFrame: GetFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IWICBitmapDecoderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IWICBitmapEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -535,8 +535,8 @@ impl IWICBitmapEncoderInfo_Vtbl { } Self { base__: IWICBitmapCodecInfo_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IWICBitmapFlipRotator_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IWICBitmapFrameDecode_Vtbl { GetThumbnail: GetThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -700,8 +700,8 @@ impl IWICBitmapFrameEncode_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IWICBitmapLock_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IWICBitmapScaler_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -827,8 +827,8 @@ impl IWICBitmapSource_Vtbl { CopyPixels: CopyPixels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -878,8 +878,8 @@ impl IWICBitmapSourceTransform_Vtbl { DoesSupportTransform: DoesSupportTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IWICColorContext_Vtbl { GetExifColorSpace: GetExifColorSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IWICColorTransform_Vtbl { } Self { base__: IWICBitmapSource_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IWICComponentFactory_Vtbl { CreateEncoderPropertyBag: CreateEncoderPropertyBag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1166,8 +1166,8 @@ impl IWICComponentInfo_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1203,8 +1203,8 @@ impl IWICDdsDecoder_Vtbl { GetFrame: GetFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl IWICDdsEncoder_Vtbl { CreateNewFrame: CreateNewFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IWICDdsFrameDecode_Vtbl { CopyBlocks: CopyBlocks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1598,8 +1598,8 @@ impl IWICDevelopRaw_Vtbl { SetNotificationCallback: SetNotificationCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1616,8 +1616,8 @@ impl IWICDevelopRawNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IWICEnumMetadataItem_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1701,8 +1701,8 @@ impl IWICFastMetadataEncoder_Vtbl { GetMetadataQueryWriter: GetMetadataQueryWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1738,8 +1738,8 @@ impl IWICFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -1772,8 +1772,8 @@ impl IWICFormatConverterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2114,8 +2114,8 @@ impl IWICImagingFactory_Vtbl { CreateQueryWriterFromReader: CreateQueryWriterFromReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2207,8 +2207,8 @@ impl IWICJpegFrameDecode_Vtbl { CopyMinimalStream: CopyMinimalStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2252,8 +2252,8 @@ impl IWICJpegFrameEncode_Vtbl { WriteScan: WriteScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2321,8 +2321,8 @@ impl IWICMetadataBlockReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2379,8 +2379,8 @@ impl IWICMetadataBlockWriter_Vtbl { RemoveWriterByIndex: RemoveWriterByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2469,8 +2469,8 @@ impl IWICMetadataHandlerInfo_Vtbl { DoesRequireFixedSize: DoesRequireFixedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2526,8 +2526,8 @@ impl IWICMetadataQueryReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2557,8 +2557,8 @@ impl IWICMetadataQueryWriter_Vtbl { RemoveMetadataByName: RemoveMetadataByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl IWICMetadataReader_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2690,8 +2690,8 @@ impl IWICMetadataReaderInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2735,8 +2735,8 @@ impl IWICMetadataWriter_Vtbl { RemoveValueByIndex: RemoveValueByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2772,8 +2772,8 @@ impl IWICMetadataWriterInfo_Vtbl { CreateInstance: CreateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2889,8 +2889,8 @@ impl IWICPalette_Vtbl { HasAlpha: HasAlpha::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2920,8 +2920,8 @@ impl IWICPersistStream_Vtbl { SaveEx: SaveEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -2993,8 +2993,8 @@ impl IWICPixelFormatInfo_Vtbl { GetChannelMask: GetChannelMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl IWICPixelFormatInfo2_Vtbl { GetNumericRepresentation: GetNumericRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3064,8 +3064,8 @@ impl IWICPlanarBitmapFrameEncode_Vtbl { WriteSource: WriteSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3095,8 +3095,8 @@ impl IWICPlanarBitmapSourceTransform_Vtbl { CopyPixels: CopyPixels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3132,8 +3132,8 @@ impl IWICPlanarFormatConverter_Vtbl { CanConvert: CanConvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3150,8 +3150,8 @@ impl IWICProgressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -3197,8 +3197,8 @@ impl IWICProgressiveLevelControl_Vtbl { SetCurrentLevel: SetCurrentLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3242,8 +3242,8 @@ impl IWICStream_Vtbl { InitializeFromIStreamRegion: InitializeFromIStreamRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Imaging\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3305,7 +3305,7 @@ impl IWICStreamProvider_Vtbl { RefreshStream: RefreshStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs index fe22efb216..8a01c30d3d 100644 --- a/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Graphics/Printing/impl.rs @@ -15,8 +15,8 @@ impl IAsyncGetSendNotificationCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl IAsyncGetSrvReferralCookie_Vtbl { FinishAsyncCallWithData: FinishAsyncCallWithData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IBidiAsyncNotifyChannel_Vtbl { AsyncCloseChannel: AsyncCloseChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IBidiRequest_Vtbl { GetEnumCount: GetEnumCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl IBidiRequestContainer_Vtbl { GetRequestCount: GetRequestCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -252,8 +252,8 @@ impl IBidiSpl_Vtbl { MultiSendRecv: MultiSendRecv::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IBidiSpl2_Vtbl { SendRecvXMLStream: SendRecvXMLStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IFixedDocument_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IFixedDocumentSequence_Vtbl { SetPrintTicket: SetPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -490,8 +490,8 @@ impl IFixedPage_Vtbl { GetXpsPartIterator: GetXpsPartIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IImgCreateErrorInfo_Vtbl { AttachToErrorInfo: AttachToErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -616,8 +616,8 @@ impl IImgErrorInfo_Vtbl { DetachErrorInfo: DetachErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -644,8 +644,8 @@ impl IInterFilterCommunicator_Vtbl { RequestWriter: RequestWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl IPartBase_Vtbl { SetPartCompression: SetPartCompression::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -715,8 +715,8 @@ impl IPartColorProfile_Vtbl { pub const fn new, Impl: IPartColorProfile_Impl, const OFFSET: isize>() -> IPartColorProfile_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -733,8 +733,8 @@ impl IPartDiscardControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiscardProperties: GetDiscardProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -768,8 +768,8 @@ impl IPartFont_Vtbl { SetFontOptions: SetFontOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl IPartFont2_Vtbl { } Self { base__: IPartFont_Vtbl::new::(), GetFontRestriction: GetFontRestriction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl IPartImage_Vtbl { SetImageContent: SetImageContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IPartPrintTicket_Vtbl { pub const fn new, Impl: IPartPrintTicket_Impl, const OFFSET: isize>() -> IPartPrintTicket_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -848,8 +848,8 @@ impl IPartResourceDictionary_Vtbl { pub const fn new, Impl: IPartResourceDictionary_Impl, const OFFSET: isize>() -> IPartResourceDictionary_Vtbl { Self { base__: IPartBase_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -882,8 +882,8 @@ impl IPartThumbnail_Vtbl { SetThumbnailContent: SetThumbnailContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IPrintAsyncCookie_Vtbl { CancelAsyncCall: CancelAsyncCall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -928,8 +928,8 @@ impl IPrintAsyncNewChannelCookie_Vtbl { } Self { base__: IPrintAsyncCookie_Vtbl::new::(), FinishAsyncCallWithData: FinishAsyncCallWithData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -968,8 +968,8 @@ impl IPrintAsyncNotify_Vtbl { CreatePrintAsyncNotifyRegistration: CreatePrintAsyncNotifyRegistration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -996,8 +996,8 @@ impl IPrintAsyncNotifyCallback_Vtbl { ChannelClosed: ChannelClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1024,8 +1024,8 @@ impl IPrintAsyncNotifyChannel_Vtbl { CloseChannel: CloseChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1052,8 +1052,8 @@ impl IPrintAsyncNotifyDataObject_Vtbl { ReleaseData: ReleaseData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1080,8 +1080,8 @@ impl IPrintAsyncNotifyRegistration_Vtbl { UnregisterForNotifications: UnregisterForNotifications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1121,8 +1121,8 @@ impl IPrintAsyncNotifyServerReferral_Vtbl { SetServerReferral: SetServerReferral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1139,8 +1139,8 @@ impl IPrintBidiAsyncNotifyRegistration_Vtbl { } Self { base__: IPrintAsyncNotifyRegistration_Vtbl::new::(), AsyncGetNewChannel: AsyncGetNewChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1157,8 +1157,8 @@ impl IPrintClassObjectFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPrintClassObject: GetPrintClassObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IPrintCoreHelper_Vtbl { CreateInstanceOfMSXMLObject: CreateInstanceOfMSXMLObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1281,8 +1281,8 @@ impl IPrintCoreHelperPS_Vtbl { GetOptionAttribute: GetOptionAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1318,8 +1318,8 @@ impl IPrintCoreHelperUni_Vtbl { CreateDefaultGDLSnapshot: CreateDefaultGDLSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1339,8 +1339,8 @@ impl IPrintCoreHelperUni2_Vtbl { } Self { base__: IPrintCoreHelperUni_Vtbl::new::(), GetNamedCommand: GetNamedCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IPrintCoreUI2_Vtbl { QuerySimulationSupport: QuerySimulationSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1531,8 +1531,8 @@ impl IPrintJob_Vtbl { RequestCancel: RequestCancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1587,8 +1587,8 @@ impl IPrintJobCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl IPrintOemCommon_Vtbl { DevMode: DevMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IPrintOemDriverUI_Vtbl { DrvUpdateUISetting: DrvUpdateUISetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1757,8 +1757,8 @@ impl IPrintOemUI_Vtbl { UpdateExternalFonts: UpdateExternalFonts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IPrintOemUI2_Vtbl { DocumentEvent: DocumentEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1833,8 +1833,8 @@ impl IPrintOemUIMXDC_Vtbl { AdjustDPI: AdjustDPI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1868,8 +1868,8 @@ impl IPrintPipelineFilter_Vtbl { StartOperation: StartOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1899,8 +1899,8 @@ impl IPrintPipelineManagerControl_Vtbl { FilterFinished: FilterFinished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -1917,8 +1917,8 @@ impl IPrintPipelineProgressReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl IPrintPipelinePropertyBag_Vtbl { DeleteProperty: DeleteProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Graphics_Dxgi\"`, `\"implement\"`*"] @@ -1999,8 +1999,8 @@ impl IPrintPreviewDxgiPackageTarget_Vtbl { InvalidatePreview: InvalidatePreview::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2030,8 +2030,8 @@ impl IPrintReadStream_Vtbl { ReadBytes: ReadBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -2054,8 +2054,8 @@ impl IPrintReadStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStream: GetStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2085,8 +2085,8 @@ impl IPrintSchemaAsyncOperation_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl IPrintSchemaAsyncOperationEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Completed: Completed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IPrintSchemaCapabilities_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2241,8 +2241,8 @@ impl IPrintSchemaCapabilities2_Vtbl { } Self { base__: IPrintSchemaCapabilities_Vtbl::new::(), GetParameterDefinition: GetParameterDefinition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2268,8 +2268,8 @@ impl IPrintSchemaDisplayableElement_Vtbl { } Self { base__: IPrintSchemaElement_Vtbl::new::(), DisplayName: DisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2324,8 +2324,8 @@ impl IPrintSchemaElement_Vtbl { NamespaceUri: NamespaceUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2400,8 +2400,8 @@ impl IPrintSchemaFeature_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2427,8 +2427,8 @@ impl IPrintSchemaNUpOption_Vtbl { } Self { base__: IPrintSchemaOption_Vtbl::new::(), PagesPerSheet: PagesPerSheet:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2483,8 +2483,8 @@ impl IPrintSchemaOption_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2539,8 +2539,8 @@ impl IPrintSchemaOptionCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IPrintSchemaPageImageableSize_Vtbl { ExtentHeightInMicrons: ExtentHeightInMicrons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl IPrintSchemaPageMediaSizeOption_Vtbl { HeightInMicrons: HeightInMicrons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2759,8 +2759,8 @@ impl IPrintSchemaParameterDefinition_Vtbl { RangeMax: RangeMax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2796,8 +2796,8 @@ impl IPrintSchemaParameterInitializer_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl IPrintSchemaTicket_Vtbl { SetJobCopiesAllDocuments: SetJobCopiesAllDocuments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2932,8 +2932,8 @@ impl IPrintSchemaTicket2_Vtbl { } Self { base__: IPrintSchemaTicket_Vtbl::new::(), GetParameterInitializer: GetParameterInitializer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3004,8 +3004,8 @@ impl IPrintTicketProvider_Vtbl { ValidatePrintTicket: ValidatePrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3047,8 +3047,8 @@ impl IPrintTicketProvider2_Vtbl { GetPrintDeviceResources: GetPrintDeviceResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3068,8 +3068,8 @@ impl IPrintUnidiAsyncNotifyRegistration_Vtbl { AsyncGetNotification: AsyncGetNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3102,8 +3102,8 @@ impl IPrintWriteStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl IPrintWriteStreamFlush_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FlushData: FlushData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3138,8 +3138,8 @@ impl IPrinterBidiSetRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Completed: Completed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3156,8 +3156,8 @@ impl IPrinterExtensionAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3225,8 +3225,8 @@ impl IPrinterExtensionContext_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3281,8 +3281,8 @@ impl IPrinterExtensionContextCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3312,8 +3312,8 @@ impl IPrinterExtensionEvent_Vtbl { OnPrinterQueuesEnumerated: OnPrinterQueuesEnumerated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3420,8 +3420,8 @@ impl IPrinterExtensionEventArgs_Vtbl { WindowParent: WindowParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -3448,8 +3448,8 @@ impl IPrinterExtensionManager_Vtbl { DisableEvents: DisableEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3479,8 +3479,8 @@ impl IPrinterExtensionRequest_Vtbl { Complete: Complete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3596,8 +3596,8 @@ impl IPrinterPropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3659,8 +3659,8 @@ impl IPrinterQueue_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3702,8 +3702,8 @@ impl IPrinterQueue2_Vtbl { GetPrinterQueueView: GetPrinterQueueView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3726,8 +3726,8 @@ impl IPrinterQueueEvent_Vtbl { OnBidiResponseReceived: OnBidiResponseReceived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3747,8 +3747,8 @@ impl IPrinterQueueView_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetViewRange: SetViewRange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3768,8 +3768,8 @@ impl IPrinterQueueViewEvent_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OnChanged: OnChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3824,8 +3824,8 @@ impl IPrinterScriptContext_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IPrinterScriptablePropertyBag_Vtbl { GetWriteStream: GetWriteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3974,8 +3974,8 @@ impl IPrinterScriptablePropertyBag2_Vtbl { } Self { base__: IPrinterScriptablePropertyBag_Vtbl::new::(), GetReadStreamAsXML: GetReadStreamAsXML:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4017,8 +4017,8 @@ impl IPrinterScriptableSequentialStream_Vtbl { Write: Write::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4061,8 +4061,8 @@ impl IPrinterScriptableStream_Vtbl { SetSize: SetSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4095,8 +4095,8 @@ impl IXpsDocument_Vtbl { SetThumbnail: SetThumbnail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4158,8 +4158,8 @@ impl IXpsDocumentConsumer_Vtbl { GetNewEmptyPart: GetNewEmptyPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4182,8 +4182,8 @@ impl IXpsDocumentProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXpsPart: GetXpsPart:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4227,8 +4227,8 @@ impl IXpsPartIterator_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4254,8 +4254,8 @@ impl IXpsRasterizationFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4281,8 +4281,8 @@ impl IXpsRasterizationFactory1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4308,8 +4308,8 @@ impl IXpsRasterizationFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRasterizer: CreateRasterizer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -4345,8 +4345,8 @@ impl IXpsRasterizer_Vtbl { SetMinimalLineWidth: SetMinimalLineWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Graphics_Printing\"`, `\"implement\"`*"] @@ -4363,7 +4363,7 @@ impl IXpsRasterizerNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Continue: Continue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs index 17872abc1a..a806ab0594 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Apo/impl.rs @@ -5,8 +5,8 @@ impl IApoAcousticEchoCancellation_Vtbl { pub const fn new, Impl: IApoAcousticEchoCancellation_Impl, const OFFSET: isize>() -> IApoAcousticEchoCancellation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl IApoAuxiliaryInputConfiguration_Vtbl { IsInputFormatSupported: IsInputFormatSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl IApoAuxiliaryInputRT_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcceptInput: AcceptInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -85,8 +85,8 @@ impl IAudioDeviceModulesClient_Vtbl { SetAudioDeviceModulesManager: SetAudioDeviceModulesManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IAudioMediaType_Vtbl { GetUncompressedAudioFormat: GetUncompressedAudioFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -235,8 +235,8 @@ impl IAudioProcessingObject_Vtbl { GetInputChannelCount: GetInputChannelCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IAudioProcessingObjectConfiguration_Vtbl { UnlockForProcess: UnlockForProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -281,8 +281,8 @@ impl IAudioProcessingObjectLoggingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ApoLog: ApoLog:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -312,8 +312,8 @@ impl IAudioProcessingObjectNotifications_Vtbl { HandleNotification: HandleNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IAudioProcessingObjectNotifications2_Vtbl { GetApoNotificationRegistrationInfo2: GetApoNotificationRegistrationInfo2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl IAudioProcessingObjectRT_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IAudioProcessingObjectRTQueueService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRealTimeWorkQueue: GetRealTimeWorkQueue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -435,8 +435,8 @@ impl IAudioProcessingObjectVBR_Vtbl { CalcMaxOutputFrames: CalcMaxOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl IAudioSystemEffects_Vtbl { pub const fn new, Impl: IAudioSystemEffects_Impl, const OFFSET: isize>() -> IAudioSystemEffects_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -467,8 +467,8 @@ impl IAudioSystemEffects2_Vtbl { } Self { base__: IAudioSystemEffects_Vtbl::new::(), GetEffectsList: GetEffectsList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IAudioSystemEffects3_Vtbl { SetAudioSystemEffectState: SetAudioSystemEffectState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -551,7 +551,7 @@ impl IAudioSystemEffectsCustomFormats_Vtbl { GetFormatRepresentation: GetFormatRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs index b978903e66..8d4eb72144 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectMusic/impl.rs @@ -74,8 +74,8 @@ impl IDirectMusic_Vtbl { SetDirectSound: SetDirectSound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDirectMusic8_Vtbl { } Self { base__: IDirectMusic_Vtbl::new::(), SetExternalMasterClock: SetExternalMasterClock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IDirectMusicBuffer_Vtbl { SetUsedBytes: SetUsedBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IDirectMusicCollection_Vtbl { EnumInstrument: EnumInstrument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -252,8 +252,8 @@ impl IDirectMusicDownload_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IDirectMusicDownloadedInstrument_Vtbl { pub const fn new, Impl: IDirectMusicDownloadedInstrument_Impl, const OFFSET: isize>() -> IDirectMusicDownloadedInstrument_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IDirectMusicInstrument_Vtbl { SetPatch: SetPatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -433,8 +433,8 @@ impl IDirectMusicPort_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl IDirectMusicPortDownload_Vtbl { Unload: Unload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl IDirectMusicSynth_Vtbl { GetAppend: GetAppend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl IDirectMusicSynth8_Vtbl { AssignChannelToBuses: AssignChannelToBuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -774,8 +774,8 @@ impl IDirectMusicSynthSink_Vtbl { GetDesiredBufferSize: GetDesiredBufferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectMusic\"`, `\"implement\"`*"] @@ -792,7 +792,7 @@ impl IDirectMusicThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThruChannel: ThruChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs index 162cb1c933..7b4ff37a59 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/DirectSound/impl.rs @@ -79,8 +79,8 @@ impl IDirectSound_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -264,8 +264,8 @@ impl IDirectSound3DBuffer_Vtbl { SetVelocity: SetVelocity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Graphics_Direct3D\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IDirectSound3DListener_Vtbl { CommitDeferredSettings: CommitDeferredSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl IDirectSound8_Vtbl { } Self { base__: IDirectSound_Vtbl::new::(), VerifyCertification: VerifyCertification:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -607,8 +607,8 @@ impl IDirectSoundBuffer_Vtbl { Restore: Restore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -642,8 +642,8 @@ impl IDirectSoundBuffer8_Vtbl { GetObjectInPath: GetObjectInPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IDirectSoundCapture_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IDirectSoundCaptureBuffer_Vtbl { Unlock: Unlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -800,8 +800,8 @@ impl IDirectSoundCaptureBuffer8_Vtbl { GetFXStatus: GetFXStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -857,8 +857,8 @@ impl IDirectSoundCaptureFXAec_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -901,8 +901,8 @@ impl IDirectSoundCaptureFXNoiseSuppress_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -929,8 +929,8 @@ impl IDirectSoundFXChorus_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IDirectSoundFXCompressor_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -985,8 +985,8 @@ impl IDirectSoundFXDistortion_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IDirectSoundFXEcho_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1041,8 +1041,8 @@ impl IDirectSoundFXFlanger_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1075,8 +1075,8 @@ impl IDirectSoundFXGargle_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1143,8 +1143,8 @@ impl IDirectSoundFXI3DL2Reverb_Vtbl { GetQuality: GetQuality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IDirectSoundFXParamEq_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1211,8 +1211,8 @@ impl IDirectSoundFXWavesReverb_Vtbl { GetAllParameters: GetAllParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1232,8 +1232,8 @@ impl IDirectSoundFullDuplex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_DirectSound\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1253,7 +1253,7 @@ impl IDirectSoundNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotificationPositions: SetNotificationPositions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs index 61f3a8e0bb..6ba260e358 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/Endpoints/impl.rs @@ -12,8 +12,8 @@ impl IAudioEndpointFormatControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetToDefault: ResetToDefault:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -43,8 +43,8 @@ impl IAudioEndpointLastBufferControl_Vtbl { ReleaseOutputDataPointerForLastBuffer: ReleaseOutputDataPointerForLastBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IAudioEndpointOffloadStreamMeter_Vtbl { GetMeteringData: GetMeteringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl IAudioEndpointOffloadStreamMute_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -167,8 +167,8 @@ impl IAudioEndpointOffloadStreamVolume_Vtbl { GetChannelVolumes: GetChannelVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IAudioEndpointVolume_Vtbl { GetVolumeRange: GetVolumeRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -373,8 +373,8 @@ impl IAudioEndpointVolumeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IAudioEndpointVolumeEx_Vtbl { } Self { base__: IAudioEndpointVolume_Vtbl::new::(), GetVolumeRangeChannel: GetVolumeRangeChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl IAudioLfxControl_Vtbl { GetLocalEffectsState: GetLocalEffectsState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IAudioMeterInformation_Vtbl { QueryHardwareSupport: QueryHardwareSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_Endpoints\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -555,7 +555,7 @@ impl IHardwareAudioEngineBase_Vtbl { GetGfxState: GetGfxState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs index 36f13ac56c..e385e7729b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/XAudio2/impl.rs @@ -87,8 +87,8 @@ impl IXAPO_Vtbl { CalcOutputFrames: CalcOutputFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IXAPOHrtfParameters_Vtbl { SetEnvironment: SetEnvironment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -157,8 +157,8 @@ impl IXAPOParameters_Vtbl { GetParameters: GetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -244,8 +244,8 @@ impl IXAudio2_Vtbl { SetDebugConfiguration: SetDebugConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"implement\"`*"] @@ -310,8 +310,8 @@ impl IXAudio2Extension_Vtbl { GetProcessor: GetProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio_XAudio2\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs index 02c52d7782..8de573b95d 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Audio/impl.rs @@ -15,8 +15,8 @@ impl IAcousticEchoCancellationControl_Vtbl { SetEchoCancellationRenderEndpoint: SetEchoCancellationRenderEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IActivateAudioInterfaceAsyncOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivateResult: GetActivateResult:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IActivateAudioInterfaceCompletionHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateCompleted: ActivateCompleted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IAudioAmbisonicsControl_Vtbl { SetRotation: SetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAudioAutoGainControl_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IAudioBass_Vtbl { pub const fn new, Impl: IAudioBass_Impl, const OFFSET: isize>() -> IAudioBass_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -191,8 +191,8 @@ impl IAudioCaptureClient_Vtbl { GetNextPacketSize: GetNextPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -225,8 +225,8 @@ impl IAudioChannelConfig_Vtbl { GetChannelConfig: GetChannelConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IAudioClient_Vtbl { GetService: GetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IAudioClient2_Vtbl { GetBufferSizeLimits: GetBufferSizeLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -432,8 +432,8 @@ impl IAudioClient3_Vtbl { InitializeSharedAudioStream: InitializeSharedAudioStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -453,8 +453,8 @@ impl IAudioClientDuckingControl_Vtbl { SetDuckingOptionsForCurrentStream: SetDuckingOptionsForCurrentStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl IAudioClock_Vtbl { GetCharacteristics: GetCharacteristics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -518,8 +518,8 @@ impl IAudioClock2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDevicePosition: GetDevicePosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IAudioClockAdjustment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSampleRate: SetSampleRate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -554,8 +554,8 @@ impl IAudioEffectsChangedNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAudioEffectsChanged: OnAudioEffectsChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -599,8 +599,8 @@ impl IAudioEffectsManager_Vtbl { SetAudioEffectState: SetAudioEffectState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -639,8 +639,8 @@ impl IAudioFormatEnumerator_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IAudioInputSelector_Vtbl { SetSelection: SetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IAudioLoudness_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -721,8 +721,8 @@ impl IAudioMidrange_Vtbl { pub const fn new, Impl: IAudioMidrange_Impl, const OFFSET: isize>() -> IAudioMidrange_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -758,8 +758,8 @@ impl IAudioMute_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl IAudioOutputSelector_Vtbl { SetSelection: SetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -832,8 +832,8 @@ impl IAudioPeakMeter_Vtbl { GetLevel: GetLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IAudioRenderClient_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -967,8 +967,8 @@ impl IAudioSessionControl_Vtbl { UnregisterAudioSessionNotification: UnregisterAudioSessionNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl IAudioSessionControl2_Vtbl { SetDuckingPreference: SetDuckingPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1077,8 +1077,8 @@ impl IAudioSessionEnumerator_Vtbl { GetSession: GetSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1143,8 +1143,8 @@ impl IAudioSessionEvents_Vtbl { OnSessionDisconnected: OnSessionDisconnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1183,8 +1183,8 @@ impl IAudioSessionManager_Vtbl { GetSimpleAudioVolume: GetSimpleAudioVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IAudioSessionManager2_Vtbl { UnregisterDuckNotification: UnregisterDuckNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IAudioSessionNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionCreated: OnSessionCreated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1297,8 +1297,8 @@ impl IAudioStateMonitor_Vtbl { GetSoundLevel: GetSoundLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1358,8 +1358,8 @@ impl IAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1379,8 +1379,8 @@ impl IAudioSystemEffectsPropertyChangeNotificationClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPropertyChanged: OnPropertyChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1463,8 +1463,8 @@ impl IAudioSystemEffectsPropertyStore_Vtbl { UnregisterPropertyChangeNotification: UnregisterPropertyChangeNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1474,8 +1474,8 @@ impl IAudioTreble_Vtbl { pub const fn new, Impl: IAudioTreble_Impl, const OFFSET: isize>() -> IAudioTreble_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1495,8 +1495,8 @@ impl IAudioViewManagerService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAudioStreamWindow: SetAudioStreamWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IAudioVolumeDuckNotification_Vtbl { OnVolumeUnduckNotification: OnVolumeUnduckNotification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IAudioVolumeLevel_Vtbl { pub const fn new, Impl: IAudioVolumeLevel_Impl, const OFFSET: isize>() -> IAudioVolumeLevel_Vtbl { Self { base__: IPerChannelDbLevel_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IChannelAudioVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1704,8 +1704,8 @@ impl IConnector_Vtbl { GetDeviceIdConnectedTo: GetDeviceIdConnectedTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1722,8 +1722,8 @@ impl IControlChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1762,8 +1762,8 @@ impl IControlInterface_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1810,8 +1810,8 @@ impl IDeviceSpecificProperty_Vtbl { Get4BRange: Get4BRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1918,8 +1918,8 @@ impl IDeviceTopology_Vtbl { GetSignalPath: GetSignalPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1981,8 +1981,8 @@ impl IMMDevice_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl IMMDeviceActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2042,8 +2042,8 @@ impl IMMDeviceCollection_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2109,8 +2109,8 @@ impl IMMDeviceEnumerator_Vtbl { UnregisterEndpointNotificationCallback: UnregisterEndpointNotificationCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2133,8 +2133,8 @@ impl IMMEndpoint_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataFlow: GetDataFlow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2185,8 +2185,8 @@ impl IMMNotificationClient_Vtbl { OnPropertyValueChanged: OnPropertyValueChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2223,8 +2223,8 @@ impl IMessageFilter_Vtbl { MessagePending: MessagePending::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2388,8 +2388,8 @@ impl IPart_Vtbl { UnregisterControlChangeCallback: UnregisterControlChangeCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2428,8 +2428,8 @@ impl IPartsList_Vtbl { GetPart: GetPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2496,8 +2496,8 @@ impl IPerChannelDbLevel_Vtbl { SetLevelAllChannels: SetLevelAllChannels::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2553,8 +2553,8 @@ impl ISimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2650,8 +2650,8 @@ impl ISpatialAudioClient_Vtbl { ActivateSpatialAudioStream: ActivateSpatialAudioStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2693,8 +2693,8 @@ impl ISpatialAudioClient2_Vtbl { GetMaxFrameCountForCategory: GetMaxFrameCountForCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2766,8 +2766,8 @@ impl ISpatialAudioMetadataClient_Vtbl { ActivateSpatialAudioMetadataReader: ActivateSpatialAudioMetadataReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2807,8 +2807,8 @@ impl ISpatialAudioMetadataCopier_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2886,8 +2886,8 @@ impl ISpatialAudioMetadataItems_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl ISpatialAudioMetadataItemsBuffer_Vtbl { DetachBuffer: DetachBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2963,8 +2963,8 @@ impl ISpatialAudioMetadataReader_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl ISpatialAudioMetadataWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl ISpatialAudioObject_Vtbl { SetVolume: SetVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3093,8 +3093,8 @@ impl ISpatialAudioObjectBase_Vtbl { GetAudioObjectType: GetAudioObjectType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3152,8 +3152,8 @@ impl ISpatialAudioObjectForHrtf_Vtbl { SetDirectivity: SetDirectivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3176,8 +3176,8 @@ impl ISpatialAudioObjectForMetadataCommands_Vtbl { WriteNextMetadataCommand: WriteNextMetadataCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3206,8 +3206,8 @@ impl ISpatialAudioObjectForMetadataItems_Vtbl { GetSpatialAudioMetadataItems: GetSpatialAudioMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3233,8 +3233,8 @@ impl ISpatialAudioObjectRenderStream_Vtbl { ActivateSpatialAudioObject: ActivateSpatialAudioObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3302,8 +3302,8 @@ impl ISpatialAudioObjectRenderStreamBase_Vtbl { EndUpdatingAudioObjects: EndUpdatingAudioObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3329,8 +3329,8 @@ impl ISpatialAudioObjectRenderStreamForHrtf_Vtbl { ActivateSpatialAudioObjectForHrtf: ActivateSpatialAudioObjectForHrtf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3369,8 +3369,8 @@ impl ISpatialAudioObjectRenderStreamForMetadata_Vtbl { ActivateSpatialAudioObjectForMetadataItems: ActivateSpatialAudioObjectForMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3390,8 +3390,8 @@ impl ISpatialAudioObjectRenderStreamNotify_Vtbl { OnAvailableDynamicObjectCountChange: OnAvailableDynamicObjectCountChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -3401,7 +3401,7 @@ impl ISubunit_Vtbl { pub const fn new, Impl: ISubunit_Impl, const OFFSET: isize>() -> ISubunit_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs index b7e8fa2331..91f8dbbd03 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DeviceManager/impl.rs @@ -22,8 +22,8 @@ impl IComponentAuthenticate_Vtbl { SACGetProtocols: SACGetProtocols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IMDSPDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IMDSPDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl IMDSPDevice3_Vtbl { FindStorage: FindStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IMDSPDeviceControl_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -376,8 +376,8 @@ impl IMDSPDirectTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransferToDevice: TransferToDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -430,8 +430,8 @@ impl IMDSPEnumDevice_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -484,8 +484,8 @@ impl IMDSPEnumStorage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -554,8 +554,8 @@ impl IMDSPObject_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl IMDSPObject2_Vtbl { WriteOnClearChannel: WriteOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -675,8 +675,8 @@ impl IMDSPObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl IMDSPRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IMDSPStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -861,8 +861,8 @@ impl IMDSPStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -892,8 +892,8 @@ impl IMDSPStorage3_Vtbl { SetMetadata: SetMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -969,8 +969,8 @@ impl IMDSPStorage4_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1070,8 +1070,8 @@ impl IMDSPStorageGlobals_Vtbl { GetRootStorage: GetRootStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1110,8 +1110,8 @@ impl IMDServiceProvider_Vtbl { EnumDevices: EnumDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1128,8 +1128,8 @@ impl IMDServiceProvider2_Vtbl { } Self { base__: IMDServiceProvider_Vtbl::new::(), CreateDevice: CreateDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1146,8 +1146,8 @@ impl IMDServiceProvider3_Vtbl { } Self { base__: IMDServiceProvider2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1170,8 +1170,8 @@ impl ISCPSecureAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureQuery: GetSecureQuery:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1194,8 +1194,8 @@ impl ISCPSecureAuthenticate2_Vtbl { } Self { base__: ISCPSecureAuthenticate_Vtbl::new::(), GetSCPSession: GetSCPSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl ISCPSecureExchange_Vtbl { TransferComplete: TransferComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1247,8 +1247,8 @@ impl ISCPSecureExchange2_Vtbl { } Self { base__: ISCPSecureExchange_Vtbl::new::(), TransferContainerData2: TransferContainerData2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1288,8 +1288,8 @@ impl ISCPSecureExchange3_Vtbl { TransferCompleteForDevice: TransferCompleteForDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1330,8 +1330,8 @@ impl ISCPSecureQuery_Vtbl { GetRights: GetRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1368,8 +1368,8 @@ impl ISCPSecureQuery2_Vtbl { } Self { base__: ISCPSecureQuery_Vtbl::new::(), MakeDecision2: MakeDecision2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1416,8 +1416,8 @@ impl ISCPSecureQuery3_Vtbl { MakeDecisionOnClearChannel: MakeDecisionOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1457,8 +1457,8 @@ impl ISCPSession_Vtbl { GetSecureQuery: GetSecureQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1581,8 +1581,8 @@ impl IWMDMDevice_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1632,8 +1632,8 @@ impl IWMDMDevice2_Vtbl { GetCanonicalName: GetCanonicalName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1702,8 +1702,8 @@ impl IWMDMDevice3_Vtbl { FindStorage: FindStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IWMDMDeviceControl_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1815,8 +1815,8 @@ impl IWMDMDeviceSession_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1869,8 +1869,8 @@ impl IWMDMEnumDevice_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -1923,8 +1923,8 @@ impl IWMDMEnumStorage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2009,8 +2009,8 @@ impl IWMDMLogger_Vtbl { SetSizeParams: SetSizeParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IWMDMMetaData_Vtbl { GetItemCount: GetItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl IWMDMNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), WMDMMessage: WMDMMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2168,8 +2168,8 @@ impl IWMDMObjectInfo_Vtbl { GetLongestPlayPosition: GetLongestPlayPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2255,8 +2255,8 @@ impl IWMDMOperation_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2286,8 +2286,8 @@ impl IWMDMOperation2_Vtbl { GetObjectAttributes2: GetObjectAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2310,8 +2310,8 @@ impl IWMDMOperation3_Vtbl { TransferObjectDataOnClearChannel: TransferObjectDataOnClearChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2345,8 +2345,8 @@ impl IWMDMProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2363,8 +2363,8 @@ impl IWMDMProgress2_Vtbl { } Self { base__: IWMDMProgress_Vtbl::new::(), End2: End2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2398,8 +2398,8 @@ impl IWMDMProgress3_Vtbl { End3: End3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2416,8 +2416,8 @@ impl IWMDMRevoked_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRevocationURL: GetRevocationURL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -2514,8 +2514,8 @@ impl IWMDMStorage_Vtbl { SendOpaqueCommand: SendOpaqueCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl IWMDMStorage2_Vtbl { GetAttributes2: GetAttributes2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2615,8 +2615,8 @@ impl IWMDMStorage3_Vtbl { SetEnumPreference: SetEnumPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_Audio\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IWMDMStorage4_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IWMDMStorageControl_Vtbl { Move: Move::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2765,8 +2765,8 @@ impl IWMDMStorageControl2_Vtbl { } Self { base__: IWMDMStorageControl_Vtbl::new::(), Insert2: Insert2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2783,8 +2783,8 @@ impl IWMDMStorageControl3_Vtbl { } Self { base__: IWMDMStorageControl2_Vtbl::new::(), Insert3: Insert3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2858,8 +2858,8 @@ impl IWMDMStorageGlobals_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2911,8 +2911,8 @@ impl IWMDeviceManager_Vtbl { EnumDevices: EnumDevices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl IWMDeviceManager2_Vtbl { Reinitialize: Reinitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DeviceManager\"`, `\"implement\"`*"] @@ -2976,7 +2976,7 @@ impl IWMDeviceManager3_Vtbl { } Self { base__: IWMDeviceManager2_Vtbl::new::(), SetDeviceEnumPreference: SetDeviceEnumPreference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs index 5bfc1d758d..b0881d1fe8 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Tv/impl.rs @@ -31,8 +31,8 @@ impl IATSCChannelTuneRequest_Vtbl { SetMinorChannel: SetMinorChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl IATSCComponentType_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -125,8 +125,8 @@ impl IATSCLocator_Vtbl { SetTSID: SetTSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -162,8 +162,8 @@ impl IATSCLocator2_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IATSCTuningSpace_Vtbl { SetMaxPhysicalChannel: SetMaxPhysicalChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IATSC_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IATSC_ETT_Vtbl { GetExtendedMessageText: GetExtendedMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -650,8 +650,8 @@ impl IATSC_MGT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -756,8 +756,8 @@ impl IATSC_STT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IATSC_VCT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1124,8 +1124,8 @@ impl IAnalogAudioComponentType_Vtbl { SetAnalogAudioMode: SetAnalogAudioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1161,8 +1161,8 @@ impl IAnalogLocator_Vtbl { SetVideoStandard: SetVideoStandard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1238,8 +1238,8 @@ impl IAnalogRadioTuningSpace_Vtbl { SetStep: SetStep::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1275,8 +1275,8 @@ impl IAnalogRadioTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1372,8 +1372,8 @@ impl IAnalogTVTuningSpace_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1484,8 +1484,8 @@ impl IAtscContentAdvisoryDescriptor_Vtbl { GetRecordRatingDescriptionText: GetRecordRatingDescriptionText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1638,8 +1638,8 @@ impl IAtscPsipParser_Vtbl { GetEAS: GetEAS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1679,8 +1679,8 @@ impl IAttributeGet_Vtbl { GetAttrib: GetAttrib::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1697,8 +1697,8 @@ impl IAttributeSet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAttrib: SetAttrib:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1711,8 +1711,8 @@ impl IAuxInTuningSpace_Vtbl { pub const fn new, Impl: IAuxInTuningSpace_Impl, const OFFSET: isize>() -> IAuxInTuningSpace_Vtbl { Self { base__: ITuningSpace_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IAuxInTuningSpace2_Vtbl { SetCountryCode: SetCountryCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1843,8 +1843,8 @@ impl IBDAComparable_Vtbl { HashEquivalentIncremental: HashEquivalentIncremental::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1870,8 +1870,8 @@ impl IBDACreateTuneRequestEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTuneRequestEx: CreateTuneRequestEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -1898,8 +1898,8 @@ impl IBDA_TIF_REGISTRATION_Vtbl { UnregisterTIF: UnregisterTIF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl ICAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -2088,8 +2088,8 @@ impl ICaptionServiceDescriptor_Vtbl { GetWideAspectRatio: GetWideAspectRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2125,8 +2125,8 @@ impl IChannelIDTuneRequest_Vtbl { SetChannelID: SetChannelID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IChannelTuneRequest_Vtbl { SetChannel: SetChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2272,8 +2272,8 @@ impl IComponent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2462,8 +2462,8 @@ impl IComponentType_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2571,8 +2571,8 @@ impl IComponentTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2680,8 +2680,8 @@ impl IComponents_Vtbl { put_Item: put_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2782,8 +2782,8 @@ impl IComponentsOld_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -2803,8 +2803,8 @@ impl ICreatePropBagOnRegKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2900,8 +2900,8 @@ impl IDTFilter_Vtbl { SetBlockUnRatedDelay: SetBlockUnRatedDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2950,8 +2950,8 @@ impl IDTFilter2_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl IDTFilter3_Vtbl { SetRights: SetRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -3024,8 +3024,8 @@ impl IDTFilterConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecureChannelObject: GetSecureChannelObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3038,8 +3038,8 @@ impl IDTFilterEvents_Vtbl { pub const fn new, Impl: IDTFilterEvents_Impl, const OFFSET: isize>() -> IDTFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -3056,8 +3056,8 @@ impl IDTFilterLicenseRenewal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLicenseRenewalData: GetLicenseRenewalData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl IDVBCLocator_Vtbl { pub const fn new, Impl: IDVBCLocator_Impl, const OFFSET: isize>() -> IDVBCLocator_Vtbl { Self { base__: IDigitalLocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3187,8 +3187,8 @@ impl IDVBSLocator_Vtbl { SetElevation: SetElevation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3344,8 +3344,8 @@ impl IDVBSLocator2_Vtbl { SetSignalPilot: SetSignalPilot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3461,8 +3461,8 @@ impl IDVBSTuningSpace_Vtbl { SetSpectralInversion: SetSpectralInversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IDVBTLocator_Vtbl { SetOtherFrequencyInUse: SetOtherFrequencyInUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3655,8 +3655,8 @@ impl IDVBTLocator2_Vtbl { SetPhysicalLayerPipeId: SetPhysicalLayerPipeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IDVBTuneRequest_Vtbl { SetSID: SetSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3769,8 +3769,8 @@ impl IDVBTuningSpace_Vtbl { SetSystemType: SetSystemType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3806,8 +3806,8 @@ impl IDVBTuningSpace2_Vtbl { SetNetworkID: SetNetworkID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3989,8 +3989,8 @@ impl IDVB_BAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4026,8 +4026,8 @@ impl IDVB_DIT_Vtbl { GetTransitionFlag: GetTransitionFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4286,8 +4286,8 @@ impl IDVB_EIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4323,8 +4323,8 @@ impl IDVB_EIT2_Vtbl { GetRecordSection: GetRecordSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IDVB_NIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -4624,8 +4624,8 @@ impl IDVB_RST_Vtbl { GetRecordRunningStatus: GetRecordRunningStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4845,8 +4845,8 @@ impl IDVB_SDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5021,8 +5021,8 @@ impl IDVB_SIT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5068,8 +5068,8 @@ impl IDVB_ST_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5102,8 +5102,8 @@ impl IDVB_TDT_Vtbl { GetUTCTime: GetUTCTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5169,8 +5169,8 @@ impl IDVB_TOT_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5183,8 +5183,8 @@ impl IDigitalCableLocator_Vtbl { pub const fn new, Impl: IDigitalCableLocator_Impl, const OFFSET: isize>() -> IDigitalCableLocator_Vtbl { Self { base__: IATSCLocator2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5240,8 +5240,8 @@ impl IDigitalCableTuneRequest_Vtbl { SetSourceID: SetSourceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5337,8 +5337,8 @@ impl IDigitalCableTuningSpace_Vtbl { SetMaxSourceID: SetMaxSourceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5351,8 +5351,8 @@ impl IDigitalLocator_Vtbl { pub const fn new, Impl: IDigitalLocator_Impl, const OFFSET: isize>() -> IDigitalLocator_Vtbl { Self { base__: ILocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5456,8 +5456,8 @@ impl IDvbCableDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5555,8 +5555,8 @@ impl IDvbComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5622,8 +5622,8 @@ impl IDvbContentDescriptor_Vtbl { GetRecordUserNibbles: GetRecordUserNibbles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5682,8 +5682,8 @@ impl IDvbContentIdentifierDescriptor_Vtbl { GetRecordCrid: GetRecordCrid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5801,8 +5801,8 @@ impl IDvbDataBroadcastDescriptor_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5861,8 +5861,8 @@ impl IDvbDataBroadcastIDDescriptor_Vtbl { GetIDSelectorBytes: GetIDSelectorBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -5908,8 +5908,8 @@ impl IDvbDefaultAuthorityDescriptor_Vtbl { GetDefaultAuthority: GetDefaultAuthority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6041,8 +6041,8 @@ impl IDvbExtendedEventDescriptor_Vtbl { GetRecordItemRawBytes: GetRecordItemRawBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6120,8 +6120,8 @@ impl IDvbFrequencyListDescriptor_Vtbl { GetRecordCentreFrequency: GetRecordCentreFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6131,8 +6131,8 @@ impl IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { pub const fn new, Impl: IDvbHDSimulcastLogicalChannelDescriptor_Impl, const OFFSET: isize>() -> IDvbHDSimulcastLogicalChannelDescriptor_Vtbl { Self { base__: IDvbLogicalChannelDescriptor2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6243,8 +6243,8 @@ impl IDvbLinkageDescriptor_Vtbl { GetPrivateData: GetPrivateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6355,8 +6355,8 @@ impl IDvbLogicalChannel2Descriptor_Vtbl { GetListRecordLogicalChannelAndVisibility: GetListRecordLogicalChannelAndVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6434,8 +6434,8 @@ impl IDvbLogicalChannelDescriptor_Vtbl { GetRecordLogicalChannelNumber: GetRecordLogicalChannelNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6461,8 +6461,8 @@ impl IDvbLogicalChannelDescriptor2_Vtbl { GetRecordLogicalChannelAndVisibility: GetRecordLogicalChannelAndVisibility::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6553,8 +6553,8 @@ impl IDvbMultilingualServiceNameDescriptor_Vtbl { GetRecordServiceNameW: GetRecordServiceNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6619,8 +6619,8 @@ impl IDvbNetworkNameDescriptor_Vtbl { GetNetworkNameW: GetNetworkNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6679,8 +6679,8 @@ impl IDvbParentalRatingDescriptor_Vtbl { GetRecordRating: GetRecordRating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6732,8 +6732,8 @@ impl IDvbPrivateDataSpecifierDescriptor_Vtbl { GetPrivateDataSpecifier: GetPrivateDataSpecifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -6863,8 +6863,8 @@ impl IDvbSatelliteDeliverySystemDescriptor_Vtbl { GetFECInner: GetFECInner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6958,8 +6958,8 @@ impl IDvbServiceAttributeDescriptor_Vtbl { GetRecordVisibleServiceFlag: GetRecordVisibleServiceFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7076,8 +7076,8 @@ impl IDvbServiceDescriptor_Vtbl { GetServiceNameEmphasized: GetServiceNameEmphasized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7116,8 +7116,8 @@ impl IDvbServiceDescriptor2_Vtbl { GetServiceNameW: GetServiceNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7195,8 +7195,8 @@ impl IDvbServiceListDescriptor_Vtbl { GetRecordServiceType: GetRecordServiceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7268,8 +7268,8 @@ impl IDvbShortEventDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7471,8 +7471,8 @@ impl IDvbSiParser_Vtbl { GetSIT: GetSIT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7495,8 +7495,8 @@ impl IDvbSiParser2_Vtbl { } Self { base__: IDvbSiParser_Vtbl::new::(), GetEIT2: GetEIT2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7600,8 +7600,8 @@ impl IDvbSubtitlingDescriptor_Vtbl { GetRecordAncillaryPageID: GetRecordAncillaryPageID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7705,8 +7705,8 @@ impl IDvbTeletextDescriptor_Vtbl { GetRecordPageNumber: GetRecordPageNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -7888,8 +7888,8 @@ impl IDvbTerrestrial2DeliverySystemDescriptor_Vtbl { GetTFSFlag: GetTFSFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8045,8 +8045,8 @@ impl IDvbTerrestrialDeliverySystemDescriptor_Vtbl { GetOtherFrequencyFlag: GetOtherFrequencyFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8072,8 +8072,8 @@ impl IESCloseMmiEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetDialogNumber: GetDialogNumber:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl IESEventFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateESEvent: CreateESEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8114,8 +8114,8 @@ impl IESEventService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireESEvent: FireESEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8170,8 +8170,8 @@ impl IESEventServiceConfiguration_Vtbl { RemoveGraph: RemoveGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8265,8 +8265,8 @@ impl IESFileExpiryDateEvent_Vtbl { DoesExpireAfterFirstUse: DoesExpireAfterFirstUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8334,8 +8334,8 @@ impl IESIsdbCasResponseEvent_Vtbl { GetResponseData: GetResponseData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8494,8 +8494,8 @@ impl IESLicenseRenewalResultEvent_Vtbl { GetExpiryDate: GetExpiryDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8551,8 +8551,8 @@ impl IESOpenMmiEvent_Vtbl { GetDialogStringData: GetDialogStringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8620,8 +8620,8 @@ impl IESRequestTunerEvent_Vtbl { GetEstimatedTime: GetEstimatedTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8647,8 +8647,8 @@ impl IESValueUpdatedEvent_Vtbl { } Self { base__: super::IESEvent_Vtbl::new::(), GetValueNames: GetValueNames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8711,8 +8711,8 @@ impl IETFilter_Vtbl { SetRecordingOn: SetRecordingOn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8745,8 +8745,8 @@ impl IETFilterConfig_Vtbl { GetSecureChannelObject: GetSecureChannelObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8759,8 +8759,8 @@ impl IETFilterEvents_Vtbl { pub const fn new, Impl: IETFilterEvents_Impl, const OFFSET: isize>() -> IETFilterEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8810,8 +8810,8 @@ impl IEnumComponentTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8861,8 +8861,8 @@ impl IEnumComponents_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -8909,8 +8909,8 @@ impl IEnumGuideDataProperties_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8960,8 +8960,8 @@ impl IEnumMSVidGraphSegment_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9008,8 +9008,8 @@ impl IEnumStreamBufferRecordingAttrib_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9059,8 +9059,8 @@ impl IEnumTuneRequests_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9110,8 +9110,8 @@ impl IEnumTuningSpaces_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9181,8 +9181,8 @@ impl IEvalRat_Vtbl { TestRating: TestRating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9241,8 +9241,8 @@ impl IGenericDescriptor_Vtbl { GetBody: GetBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9275,8 +9275,8 @@ impl IGenericDescriptor2_Vtbl { GetLength2: GetLength2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9299,8 +9299,8 @@ impl IGpnvsCommonBase_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValueUpdateName: GetValueUpdateName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9394,8 +9394,8 @@ impl IGuideData_Vtbl { GetScheduleEntryProperties: GetScheduleEntryProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9460,8 +9460,8 @@ impl IGuideDataEvent_Vtbl { ScheduleDeleted: ScheduleDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9488,8 +9488,8 @@ impl IGuideDataLoader_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9544,8 +9544,8 @@ impl IGuideDataProperty_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9558,8 +9558,8 @@ impl IISDBSLocator_Vtbl { pub const fn new, Impl: IISDBSLocator_Impl, const OFFSET: isize>() -> IISDBSLocator_Vtbl { Self { base__: IDVBSLocator_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9723,8 +9723,8 @@ impl IISDB_BIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9881,8 +9881,8 @@ impl IISDB_CDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -9962,8 +9962,8 @@ impl IISDB_EMM_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10107,8 +10107,8 @@ impl IISDB_LDT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10304,8 +10304,8 @@ impl IISDB_NBIT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10331,8 +10331,8 @@ impl IISDB_SDT_Vtbl { } Self { base__: IDVB_SDT_Vtbl::new::(), GetRecordEITUserDefinedFlags: GetRecordEITUserDefinedFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10593,8 +10593,8 @@ impl IISDB_SDTT_Vtbl { GetVersionHash: GetVersionHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10780,8 +10780,8 @@ impl IIsdbAudioComponentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10911,8 +10911,8 @@ impl IIsdbCAContractInformationDescriptor_Vtbl { GetFeeNameW: GetFeeNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -10997,8 +10997,8 @@ impl IIsdbCADescriptor_Vtbl { GetPrivateDataBytes: GetPrivateDataBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11083,8 +11083,8 @@ impl IIsdbCAServiceDescriptor_Vtbl { GetServiceIds: GetServiceIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11240,8 +11240,8 @@ impl IIsdbComponentGroupDescriptor_Vtbl { GetRecordTextW: GetRecordTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11378,8 +11378,8 @@ impl IIsdbDataContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11445,8 +11445,8 @@ impl IIsdbDigitalCopyControlDescriptor_Vtbl { GetRecordCopyControl: GetRecordCopyControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11671,8 +11671,8 @@ impl IIsdbDownloadContentDescriptor_Vtbl { GetTextW: GetTextW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11770,8 +11770,8 @@ impl IIsdbEmergencyInformationDescriptor_Vtbl { GetAreaCode: GetAreaCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11863,8 +11863,8 @@ impl IIsdbEventGroupDescriptor_Vtbl { GetRefRecordEvent: GetRefRecordEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -11955,8 +11955,8 @@ impl IIsdbHierarchicalTransmissionDescriptor_Vtbl { GetReferencePid: GetReferencePid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12060,8 +12060,8 @@ impl IIsdbLogoTransmissionDescriptor_Vtbl { GetLogoCharW: GetLogoCharW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12172,8 +12172,8 @@ impl IIsdbSIParameterDescriptor_Vtbl { GetTableDescriptionBytes: GetTableDescriptionBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12300,8 +12300,8 @@ impl IIsdbSeriesDescriptor_Vtbl { GetSeriesNameW: GetSeriesNameW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12405,8 +12405,8 @@ impl IIsdbSiParser2_Vtbl { GetEMM: GetEMM::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12523,8 +12523,8 @@ impl IIsdbTSInformationDescriptor_Vtbl { GetRecordServiceIdByIndex: GetRecordServiceIdByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -12628,8 +12628,8 @@ impl IIsdbTerrestrialDeliverySystemDescriptor_Vtbl { GetRecordFrequency: GetRecordFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12665,8 +12665,8 @@ impl ILanguageComponentType_Vtbl { SetLangID: SetLangID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12835,8 +12835,8 @@ impl ILocator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12912,8 +12912,8 @@ impl IMPEG2Component_Vtbl { SetProgramNumber: SetProgramNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12949,8 +12949,8 @@ impl IMPEG2ComponentType_Vtbl { SetStreamType: SetStreamType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13006,8 +13006,8 @@ impl IMPEG2TuneRequest_Vtbl { SetProgNo: SetProgNo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13036,8 +13036,8 @@ impl IMPEG2TuneRequestFactory_Vtbl { CreateTuneRequest: CreateTuneRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -13047,8 +13047,8 @@ impl IMPEG2TuneRequestSupport_Vtbl { pub const fn new, Impl: IMPEG2TuneRequestSupport_Impl, const OFFSET: isize>() -> IMPEG2TuneRequestSupport_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -13109,8 +13109,8 @@ impl IMPEG2_TIF_CONTROL_Vtbl { GetPIDs: GetPIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13146,8 +13146,8 @@ impl IMSEventBinder_Vtbl { Unbind: Unbind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13256,8 +13256,8 @@ impl IMSVidAnalogTuner_Vtbl { ChannelAvailable: ChannelAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13312,8 +13312,8 @@ impl IMSVidAnalogTuner2_Vtbl { NumAuxInputs: NumAuxInputs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13326,8 +13326,8 @@ impl IMSVidAnalogTunerEvent_Vtbl { pub const fn new, Impl: IMSVidAnalogTunerEvent_Impl, const OFFSET: isize>() -> IMSVidAnalogTunerEvent_Vtbl { Self { base__: IMSVidTunerEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13383,8 +13383,8 @@ impl IMSVidAudioRenderer_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13453,8 +13453,8 @@ impl IMSVidAudioRendererDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13467,8 +13467,8 @@ impl IMSVidAudioRendererEvent_Vtbl { pub const fn new, Impl: IMSVidAudioRendererEvent_Impl, const OFFSET: isize>() -> IMSVidAudioRendererEvent_Vtbl { Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13540,8 +13540,8 @@ impl IMSVidAudioRendererEvent2_Vtbl { AVDecCommonOutputFormat: AVDecCommonOutputFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13577,8 +13577,8 @@ impl IMSVidClosedCaptioning_Vtbl { SetEnable: SetEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13614,8 +13614,8 @@ impl IMSVidClosedCaptioning2_Vtbl { SetService: SetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13641,8 +13641,8 @@ impl IMSVidClosedCaptioning3_Vtbl { } Self { base__: IMSVidClosedCaptioning2_Vtbl::new::(), TeleTextFilter: TeleTextFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -13691,8 +13691,8 @@ impl IMSVidCompositionSegment_Vtbl { Down: Down::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14135,8 +14135,8 @@ impl IMSVidCtl_Vtbl { ViewNext: ViewNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14149,8 +14149,8 @@ impl IMSVidDataServices_Vtbl { pub const fn new, Impl: IMSVidDataServices_Impl, const OFFSET: isize>() -> IMSVidDataServices_Vtbl { Self { base__: IMSVidFeature_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14163,8 +14163,8 @@ impl IMSVidDataServicesEvent_Vtbl { pub const fn new, Impl: IMSVidDataServicesEvent_Impl, const OFFSET: isize>() -> IMSVidDataServicesEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14291,8 +14291,8 @@ impl IMSVidDevice_Vtbl { IsEqualDevice: IsEqualDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -14315,8 +14315,8 @@ impl IMSVidDevice2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DevicePath: DevicePath:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14336,8 +14336,8 @@ impl IMSVidDeviceEvent_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), StateChange: StateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14393,8 +14393,8 @@ impl IMSVidEVR_Vtbl { SuppressEffects: SuppressEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14414,8 +14414,8 @@ impl IMSVidEVREvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14457,8 +14457,8 @@ impl IMSVidEncoder_Vtbl { AudioEncoderInterface: AudioEncoderInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14471,8 +14471,8 @@ impl IMSVidFeature_Vtbl { pub const fn new, Impl: IMSVidFeature_Impl, const OFFSET: isize>() -> IMSVidFeature_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14485,8 +14485,8 @@ impl IMSVidFeatureEvent_Vtbl { pub const fn new, Impl: IMSVidFeatureEvent_Impl, const OFFSET: isize>() -> IMSVidFeatureEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14555,8 +14555,8 @@ impl IMSVidFeatures_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14592,8 +14592,8 @@ impl IMSVidFilePlayback_Vtbl { SetFileName: SetFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14623,8 +14623,8 @@ impl IMSVidFilePlayback2_Vtbl { Set__SourceFilter: Set__SourceFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14637,8 +14637,8 @@ impl IMSVidFilePlaybackEvent_Vtbl { pub const fn new, Impl: IMSVidFilePlaybackEvent_Impl, const OFFSET: isize>() -> IMSVidFilePlaybackEvent_Vtbl { Self { base__: IMSVidPlaybackEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14681,8 +14681,8 @@ impl IMSVidGenericSink_Vtbl { SetSinkStreams: SetSinkStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14712,8 +14712,8 @@ impl IMSVidGenericSink2_Vtbl { ResetFilterList: ResetFilterList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -14864,8 +14864,8 @@ impl IMSVidGraphSegment_Vtbl { Decompose: Decompose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15006,8 +15006,8 @@ impl IMSVidGraphSegmentContainer_Vtbl { GetFocus: GetFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -15076,8 +15076,8 @@ impl IMSVidGraphSegmentUserInput_Vtbl { MouseUp: MouseUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15113,8 +15113,8 @@ impl IMSVidInputDevice_Vtbl { View: View::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15127,8 +15127,8 @@ impl IMSVidInputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidInputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidInputDeviceEvent_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15197,8 +15197,8 @@ impl IMSVidInputDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15211,8 +15211,8 @@ impl IMSVidOutputDevice_Vtbl { pub const fn new, Impl: IMSVidOutputDevice_Impl, const OFFSET: isize>() -> IMSVidOutputDevice_Vtbl { Self { base__: IMSVidDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15225,8 +15225,8 @@ impl IMSVidOutputDeviceEvent_Vtbl { pub const fn new, Impl: IMSVidOutputDeviceEvent_Impl, const OFFSET: isize>() -> IMSVidOutputDeviceEvent_Vtbl { Self { base__: IMSVidDeviceEvent_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15295,8 +15295,8 @@ impl IMSVidOutputDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15446,8 +15446,8 @@ impl IMSVidPlayback_Vtbl { Length: Length::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15467,8 +15467,8 @@ impl IMSVidPlaybackEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), EndOfMedia: EndOfMedia:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15591,8 +15591,8 @@ impl IMSVidRect_Vtbl { SetRect: SetRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15700,8 +15700,8 @@ impl IMSVidStreamBufferRecordingControl_Vtbl { RecordingAttribute: RecordingAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15783,8 +15783,8 @@ impl IMSVidStreamBufferSink_Vtbl { SBESink: SBESink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15804,8 +15804,8 @@ impl IMSVidStreamBufferSink2_Vtbl { } Self { base__: IMSVidStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16019,8 +16019,8 @@ impl IMSVidStreamBufferSink3_Vtbl { LicenseErrorCode: LicenseErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16057,8 +16057,8 @@ impl IMSVidStreamBufferSinkEvent_Vtbl { WriteFailure: WriteFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16088,8 +16088,8 @@ impl IMSVidStreamBufferSinkEvent2_Vtbl { EncryptionOff: EncryptionOff::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16109,8 +16109,8 @@ impl IMSVidStreamBufferSinkEvent3_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent2_Vtbl::new::(), LicenseChange: LicenseChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16130,8 +16130,8 @@ impl IMSVidStreamBufferSinkEvent4_Vtbl { } Self { base__: IMSVidStreamBufferSinkEvent3_Vtbl::new::(), WriteFailureClear: WriteFailureClear:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16214,8 +16214,8 @@ impl IMSVidStreamBufferSource_Vtbl { SBESource: SBESource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16290,8 +16290,8 @@ impl IMSVidStreamBufferSource2_Vtbl { WSTCounter: WSTCounter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16370,8 +16370,8 @@ impl IMSVidStreamBufferSourceEvent_Vtbl { StaleFileDeleted: StaleFileDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16391,8 +16391,8 @@ impl IMSVidStreamBufferSourceEvent2_Vtbl { } Self { base__: IMSVidStreamBufferSourceEvent_Vtbl::new::(), RateChange: RateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16443,8 +16443,8 @@ impl IMSVidStreamBufferSourceEvent3_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16523,8 +16523,8 @@ impl IMSVidStreamBufferV2SourceEvent_Vtbl { ContentPrimarilyAudio: ContentPrimarilyAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16580,8 +16580,8 @@ impl IMSVidTuner_Vtbl { SetTuningSpace: SetTuningSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16601,8 +16601,8 @@ impl IMSVidTunerEvent_Vtbl { } Self { base__: IMSVidInputDeviceEvent_Vtbl::new::(), TuneChanged: TuneChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16671,8 +16671,8 @@ impl IMSVidVMR9_Vtbl { Allocator: Allocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -16883,8 +16883,8 @@ impl IMSVidVRGraphSegment_Vtbl { RePaint: RePaint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16897,8 +16897,8 @@ impl IMSVidVideoInputDevice_Vtbl { pub const fn new, Impl: IMSVidVideoInputDevice_Impl, const OFFSET: isize>() -> IMSVidVideoInputDevice_Vtbl { Self { base__: IMSVidInputDevice_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17226,8 +17226,8 @@ impl IMSVidVideoRenderer_Vtbl { SetDecimateInput: SetDecimateInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17316,8 +17316,8 @@ impl IMSVidVideoRenderer2_Vtbl { SuppressEffects: SuppressEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17386,8 +17386,8 @@ impl IMSVidVideoRendererDevices_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17407,8 +17407,8 @@ impl IMSVidVideoRendererEvent_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17428,8 +17428,8 @@ impl IMSVidVideoRendererEvent2_Vtbl { } Self { base__: IMSVidOutputDeviceEvent_Vtbl::new::(), OverlayUnavailable: OverlayUnavailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18416,8 +18416,8 @@ impl IMSVidWebDVD_Vtbl { SetDVDScreenInMouseCoordinates: SetDVDScreenInMouseCoordinates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18447,8 +18447,8 @@ impl IMSVidWebDVD2_Vtbl { put_Bookmark: put_Bookmark::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18604,8 +18604,8 @@ impl IMSVidWebDVDAdm_Vtbl { SetBookmarkOnStop: SetBookmarkOnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18782,8 +18782,8 @@ impl IMSVidWebDVDEvent_Vtbl { ChangeVideoPresMode: ChangeVideoPresMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18809,8 +18809,8 @@ impl IMSVidXDS_Vtbl { } Self { base__: IMSVidFeature_Vtbl::new::(), ChannelChangeInterface: ChannelChangeInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18830,8 +18830,8 @@ impl IMSVidXDSEvent_Vtbl { } Self { base__: IMSVidFeatureEvent_Vtbl::new::(), RatingChange: RatingChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -18848,8 +18848,8 @@ impl IMceBurnerControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBurnerNoDecryption: GetBurnerNoDecryption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18904,8 +18904,8 @@ impl IMpeg2Data_Vtbl { GetStreamOfSections: GetStreamOfSections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18935,8 +18935,8 @@ impl IMpeg2Stream_Vtbl { SupplyDataBuffer: SupplyDataBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -18991,8 +18991,8 @@ impl IMpeg2TableFilter_Vtbl { RemoveExtension: RemoveExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19127,8 +19127,8 @@ impl IPAT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19174,8 +19174,8 @@ impl IPBDAAttributesDescriptor_Vtbl { GetAttributePayload: GetAttributePayload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19221,8 +19221,8 @@ impl IPBDAEntitlementDescriptor_Vtbl { GetToken: GetToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19268,8 +19268,8 @@ impl IPBDASiParser_Vtbl { GetServices: GetServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19413,8 +19413,8 @@ impl IPBDA_EIT_Vtbl { GetRecordDescriptorByTag: GetRecordDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19460,8 +19460,8 @@ impl IPBDA_Services_Vtbl { GetRecordByIndex: GetRecordByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19676,8 +19676,8 @@ impl IPMT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19700,8 +19700,8 @@ impl IPSITables_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTable: GetTable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19731,8 +19731,8 @@ impl IPTFilterLicenseRenewal_Vtbl { CancelLicenseRenewal: CancelLicenseRenewal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19775,8 +19775,8 @@ impl IPersistTuneXml_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19802,8 +19802,8 @@ impl IPersistTuneXmlUtility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Deserialize: Deserialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -19829,8 +19829,8 @@ impl IPersistTuneXmlUtility2_Vtbl { } Self { base__: IPersistTuneXmlUtility_Vtbl::new::(), Serialize: Serialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19857,8 +19857,8 @@ impl IRegisterTuner_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19911,8 +19911,8 @@ impl ISBE2Crossbar_Vtbl { EnumStreams: EnumStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19959,8 +19959,8 @@ impl ISBE2EnumStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -19977,8 +19977,8 @@ impl ISBE2FileScan_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RepairFile: RepairFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19998,8 +19998,8 @@ impl ISBE2GlobalEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20019,8 +20019,8 @@ impl ISBE2GlobalEvent2_Vtbl { } Self { base__: ISBE2GlobalEvent_Vtbl::new::(), GetEventEx: GetEventEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -20076,8 +20076,8 @@ impl ISBE2MediaTypeProfile_Vtbl { DeleteStream: DeleteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20094,8 +20094,8 @@ impl ISBE2SpanningEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEvent: GetEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20135,8 +20135,8 @@ impl ISBE2StreamMap_Vtbl { EnumMappedStreams: EnumMappedStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20502,8 +20502,8 @@ impl ISCTE_EAS_Vtbl { GetTableDescriptorByTag: GetTableDescriptorByTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20546,8 +20546,8 @@ impl ISIInbandEPG_Vtbl { IsSIEPGScanRunning: IsSIEPGScanRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20564,8 +20564,8 @@ impl ISIInbandEPGEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SIObjectEvent: SIObjectEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20616,8 +20616,8 @@ impl IScanningTuner_Vtbl { AutoProgram: AutoProgram::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20695,8 +20695,8 @@ impl IScanningTunerEx_Vtbl { SetScanSignalTypeFilter: SetScanSignalTypeFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20767,8 +20767,8 @@ impl ISectionList_Vtbl { GetTableIdentifier: GetTableIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20840,8 +20840,8 @@ impl IServiceLocationDescriptor_Vtbl { GetElementLanguageCode: GetElementLanguageCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20908,8 +20908,8 @@ impl IStreamBufferConfigure_Vtbl { GetBackingFileDuration: GetBackingFileDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -20956,8 +20956,8 @@ impl IStreamBufferConfigure2_Vtbl { GetFFTransitionRates: GetFFTransitionRates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21013,8 +21013,8 @@ impl IStreamBufferConfigure3_Vtbl { GetNamespace: GetNamespace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21041,8 +21041,8 @@ impl IStreamBufferDataCounters_Vtbl { ResetData: ResetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -21072,8 +21072,8 @@ impl IStreamBufferInitialize_Vtbl { SetSIDs: SetSIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21083,8 +21083,8 @@ impl IStreamBufferMediaSeeking_Vtbl { pub const fn new, Impl: IStreamBufferMediaSeeking_Impl, const OFFSET: isize>() -> IStreamBufferMediaSeeking_Vtbl { Self { base__: super::IMediaSeeking_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21101,8 +21101,8 @@ impl IStreamBufferMediaSeeking2_Vtbl { } Self { base__: IStreamBufferMediaSeeking_Vtbl::new::(), SetRateEx: SetRateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21163,8 +21163,8 @@ impl IStreamBufferRecComp_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21201,8 +21201,8 @@ impl IStreamBufferRecordControl_Vtbl { GetRecordingStatus: GetRecordingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21262,8 +21262,8 @@ impl IStreamBufferRecordingAttribute_Vtbl { EnumAttributes: EnumAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21303,8 +21303,8 @@ impl IStreamBufferSink_Vtbl { IsProfileLocked: IsProfileLocked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21321,8 +21321,8 @@ impl IStreamBufferSink2_Vtbl { } Self { base__: IStreamBufferSink_Vtbl::new::(), UnlockProfile: UnlockProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21339,8 +21339,8 @@ impl IStreamBufferSink3_Vtbl { } Self { base__: IStreamBufferSink2_Vtbl::new::(), SetAvailableFilter: SetAvailableFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21357,8 +21357,8 @@ impl IStreamBufferSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStreamSink: SetStreamSink:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21461,8 +21461,8 @@ impl ITSDT_Vtbl { ConvertNextToCurrent: ConvertNextToCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -21537,8 +21537,8 @@ impl ITuneRequest_Vtbl { SetLocator: SetLocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21627,8 +21627,8 @@ impl ITuneRequestInfo_Vtbl { GetPreviousLocator: GetPreviousLocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21654,8 +21654,8 @@ impl ITuneRequestInfoEx_Vtbl { } Self { base__: ITuneRequestInfo_Vtbl::new::(), CreateComponentListEx: CreateComponentListEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21771,8 +21771,8 @@ impl ITuner_Vtbl { TriggerSignalEvents: TriggerSignalEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -21806,8 +21806,8 @@ impl ITunerCap_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21833,8 +21833,8 @@ impl ITunerCapEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Has608_708Caption: Has608_708Caption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22055,8 +22055,8 @@ impl ITuningSpace_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22223,8 +22223,8 @@ impl ITuningSpaceContainer_Vtbl { SetMaxCount: SetMaxCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22292,8 +22292,8 @@ impl ITuningSpaces_Vtbl { EnumTuningSpaces: EnumTuningSpaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -22373,8 +22373,8 @@ impl IXDSCodec_Vtbl { GetLastErrorCode: GetLastErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"implement\"`*"] @@ -22407,8 +22407,8 @@ impl IXDSCodecConfig_Vtbl { SetPauseBufferTime: SetPauseBufferTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22421,8 +22421,8 @@ impl IXDSCodecEvents_Vtbl { pub const fn new, Impl: IXDSCodecEvents_Impl, const OFFSET: isize>() -> IXDSCodecEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22452,8 +22452,8 @@ impl IXDSToRat_Vtbl { ParseXDSBytePair: ParseXDSBytePair::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow_Tv\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22466,7 +22466,7 @@ impl _IMSVidCtlEvents_Vtbl { pub const fn new, Impl: _IMSVidCtlEvents_Impl, const OFFSET: isize>() -> _IMSVidCtlEvents_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IMSVidCtlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs index d8abe739a7..88cd35976b 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/Xml/impl.rs @@ -32,7 +32,7 @@ impl IXMLGraphBuilder_Vtbl { BuildFromXMLFile: BuildFromXMLFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs index 41e7f2e980..117d9274d3 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DirectShow/impl.rs @@ -107,8 +107,8 @@ impl IAMAnalogVideoDecoder_Vtbl { OutputEnable: OutputEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IAMAnalogVideoEncoder_Vtbl { CCEnable: CCEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IAMAsyncReaderTimestampScaling_Vtbl { SetTimestampMode: SetTimestampMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -414,8 +414,8 @@ impl IAMAudioInputMixer_Vtbl { BassRange: BassRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -432,8 +432,8 @@ impl IAMAudioRendererStats_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStatParam: GetStatParam:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -466,8 +466,8 @@ impl IAMBufferNegotiation_Vtbl { GetAllocatorProperties: GetAllocatorProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl IAMCameraControl_Vtbl { Get: Get::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -543,8 +543,8 @@ impl IAMCertifiedOutputProtection_Vtbl { ProtectionStatus: ProtectionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IAMChannelInfo_Vtbl { ContactEmail: ContactEmail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IAMClockAdjust_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetClockDelta: SetClockDelta:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -654,8 +654,8 @@ impl IAMClockSlave_Vtbl { GetErrorTolerance: GetErrorTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -710,8 +710,8 @@ impl IAMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -728,8 +728,8 @@ impl IAMCopyCaptureFileProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -786,8 +786,8 @@ impl IAMCrossbar_Vtbl { get_CrossbarPinInfo: get_CrossbarPinInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -810,8 +810,8 @@ impl IAMDecoderCaps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDecoderCaps: GetDecoderCaps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IAMDevMemoryAllocator_Vtbl { GetDevMemoryObject: GetDevMemoryObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -900,8 +900,8 @@ impl IAMDevMemoryControl_Vtbl { GetDevId: GetDevId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -935,8 +935,8 @@ impl IAMDeviceRemoval_Vtbl { Disassociate: Disassociate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio_DirectSound\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IAMDirectSound_Vtbl { GetFocusWindow: GetFocusWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1086,8 +1086,8 @@ impl IAMDroppedFrames_Vtbl { GetAverageFrameSize: GetAverageFrameSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl IAMExtDevice_Vtbl { DevicePort: DevicePort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1462,8 +1462,8 @@ impl IAMExtTransport_Vtbl { SetEditStart: SetEditStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1500,8 +1500,8 @@ impl IAMExtendedErrorInfo_Vtbl { ErrorCode: ErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1566,8 +1566,8 @@ impl IAMExtendedSeeking_Vtbl { PlaybackSpeed: PlaybackSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1584,8 +1584,8 @@ impl IAMFilterGraphCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UnableToRender: UnableToRender:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1602,8 +1602,8 @@ impl IAMFilterMiscFlags_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMiscFlags: GetMiscFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IAMGraphBuilderCallback_Vtbl { CreatedFilter: CreatedFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1671,8 +1671,8 @@ impl IAMGraphStreams_Vtbl { SetMaxGraphLatency: SetMaxGraphLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -1695,8 +1695,8 @@ impl IAMLatency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLatency: GetLatency:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1803,8 +1803,8 @@ impl IAMLine21Decoder_Vtbl { SetDrawBackgroundMode: SetDrawBackgroundMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1911,8 +1911,8 @@ impl IAMMediaContent_Vtbl { MoreInfoText: MoreInfoText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl IAMMediaContent2_Vtbl { PlaylistCount: PlaylistCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2001,8 +2001,8 @@ impl IAMMediaStream_Vtbl { JoinFilterGraph: JoinFilterGraph::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2149,8 +2149,8 @@ impl IAMMediaTypeSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2213,8 +2213,8 @@ impl IAMMediaTypeStream_Vtbl { SetStreamAllocatorRequirements: SetStreamAllocatorRequirements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2297,8 +2297,8 @@ impl IAMMultiMediaStream_Vtbl { Render: Render::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2468,8 +2468,8 @@ impl IAMNetShowConfig_Vtbl { SetEnableHTTP: SetEnableHTTP::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2548,8 +2548,8 @@ impl IAMNetShowExProps_Vtbl { SourceLink: SourceLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2579,8 +2579,8 @@ impl IAMNetShowPreroll_Vtbl { Preroll: Preroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2645,8 +2645,8 @@ impl IAMNetworkStatus_Vtbl { BufferingProgress: BufferingProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2673,8 +2673,8 @@ impl IAMOpenProgress_Vtbl { AbortOperation: AbortOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2720,8 +2720,8 @@ impl IAMOverlayFX_Vtbl { GetOverlayFX: GetOverlayFX::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2761,8 +2761,8 @@ impl IAMParse_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2779,8 +2779,8 @@ impl IAMPhysicalPinInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPhysicalType: GetPhysicalType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -2846,8 +2846,8 @@ impl IAMPlayList_Vtbl { GetRepeatInfo: GetRepeatInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl IAMPlayListItem_Vtbl { GetScanDuration: GetScanDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3081,8 +3081,8 @@ impl IAMPluginControl_Vtbl { IsLegacyDisabled: IsLegacyDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3155,8 +3155,8 @@ impl IAMPushSource_Vtbl { SetMaxStreamOffset: SetMaxStreamOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3173,8 +3173,8 @@ impl IAMRebuild_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RebuildNow: RebuildNow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3191,8 +3191,8 @@ impl IAMResourceControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reserve: Reserve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3262,8 +3262,8 @@ impl IAMStats_Vtbl { AddValue: AddValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl IAMStreamConfig_Vtbl { GetStreamCaps: GetStreamCaps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3351,8 +3351,8 @@ impl IAMStreamControl_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3395,8 +3395,8 @@ impl IAMStreamSelect_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3469,8 +3469,8 @@ impl IAMTVAudio_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3487,8 +3487,8 @@ impl IAMTVAudioNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3629,8 +3629,8 @@ impl IAMTVTuner_Vtbl { AudioFrequency: AudioFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3683,8 +3683,8 @@ impl IAMTimecodeDisplay_Vtbl { SetTCDisplay: SetTCDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3751,8 +3751,8 @@ impl IAMTimecodeGenerator_Vtbl { GetTimecode: GetTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3812,8 +3812,8 @@ impl IAMTimecodeReader_Vtbl { GetTimecode: GetTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3964,8 +3964,8 @@ impl IAMTuner_Vtbl { UnRegisterNotificationCallBack: UnRegisterNotificationCallBack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -3982,8 +3982,8 @@ impl IAMTunerNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4020,8 +4020,8 @@ impl IAMVfwCaptureDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4065,8 +4065,8 @@ impl IAMVfwCompressDialogs_Vtbl { SendDriverMessage: SendDriverMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -4166,8 +4166,8 @@ impl IAMVideoAccelerator_Vtbl { DisplayFrame: DisplayFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -4204,8 +4204,8 @@ impl IAMVideoAcceleratorNotify_Vtbl { GetCreateVideoAcceleratorData: GetCreateVideoAcceleratorData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4319,8 +4319,8 @@ impl IAMVideoCompression_Vtbl { OverrideFrameSize: OverrideFrameSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4402,8 +4402,8 @@ impl IAMVideoControl_Vtbl { GetFrameRateList: GetFrameRateList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IAMVideoDecimationProperties_Vtbl { SetDecimationUsage: SetDecimationUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IAMVideoProcAmp_Vtbl { Get: Get::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4489,8 +4489,8 @@ impl IAMWMBufferPass_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNotify: SetNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4510,8 +4510,8 @@ impl IAMWMBufferPassCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4653,8 +4653,8 @@ impl IAMWstDecoder_Vtbl { SetCurrentPage: SetCurrentPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4681,8 +4681,8 @@ impl IAMovieSetup_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4757,8 +4757,8 @@ impl IAsyncReader_Vtbl { EndFlush: EndFlush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -4788,8 +4788,8 @@ impl IAudioData_Vtbl { SetFormat: SetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -4832,8 +4832,8 @@ impl IAudioMediaStream_Vtbl { CreateSample: CreateSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4859,8 +4859,8 @@ impl IAudioStreamSample_Vtbl { } Self { base__: IStreamSample_Vtbl::new::(), GetAudioData: GetAudioData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4893,8 +4893,8 @@ impl IBDA_AUX_Vtbl { EnumCapability: EnumCapability::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4911,8 +4911,8 @@ impl IBDA_AutoDemodulate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), put_AutoDemodulate: put_AutoDemodulate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -4946,8 +4946,8 @@ impl IBDA_AutoDemodulateEx_Vtbl { get_AuxInputCount: get_AuxInputCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IBDA_ConditionalAccess_Vtbl { InformUIClosed: InformUIClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5112,8 +5112,8 @@ impl IBDA_ConditionalAccessEx_Vtbl { CreateDialogRequestNumber: CreateDialogRequestNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5147,8 +5147,8 @@ impl IBDA_DRIDRMService_Vtbl { GetPairingStatus: GetPairingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5210,8 +5210,8 @@ impl IBDA_DRIWMDRMSession_Vtbl { GetLastCardeaError: GetLastCardeaError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl IBDA_DRM_Vtbl { PerformDRMPairing: PerformDRMPairing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5269,8 +5269,8 @@ impl IBDA_DRMService_Vtbl { GetDRMStatus: GetDRMStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5311,8 +5311,8 @@ impl IBDA_DeviceControl_Vtbl { GetChangeState: GetChangeState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5325,8 +5325,8 @@ impl IBDA_DiagnosticProperties_Vtbl { pub const fn new, Impl: IBDA_DiagnosticProperties_Impl, const OFFSET: isize>() -> IBDA_DiagnosticProperties_Vtbl { Self { base__: super::super::System::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5437,8 +5437,8 @@ impl IBDA_DigitalDemodulator_Vtbl { SpectralInversion: SpectralInversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5507,8 +5507,8 @@ impl IBDA_DigitalDemodulator2_Vtbl { Pilot: Pilot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5549,8 +5549,8 @@ impl IBDA_DigitalDemodulator3_Vtbl { PLPNumber: PLPNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5608,8 +5608,8 @@ impl IBDA_DiseqCommand_Vtbl { get_DiseqResponse: get_DiseqResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5626,8 +5626,8 @@ impl IBDA_EasMessage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_EasMessage: get_EasMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5699,8 +5699,8 @@ impl IBDA_Encoder_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5754,8 +5754,8 @@ impl IBDA_EthernetFilter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5772,8 +5772,8 @@ impl IBDA_EventingService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompleteEvent: CompleteEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5850,8 +5850,8 @@ impl IBDA_FDC_Vtbl { GetTableSection: GetTableSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IBDA_FrequencyFilter_Vtbl { FrequencyMultiplier: FrequencyMultiplier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6022,8 +6022,8 @@ impl IBDA_GuideDataDeliveryService_Vtbl { GetServiceInfoFromTuneXml: GetServiceInfoFromTuneXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6050,8 +6050,8 @@ impl IBDA_IPSinkControl_Vtbl { GetAdapterIPAddress: GetAdapterIPAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6097,8 +6097,8 @@ impl IBDA_IPSinkInfo_Vtbl { AdapterDescription: AdapterDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6152,8 +6152,8 @@ impl IBDA_IPV4Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6207,8 +6207,8 @@ impl IBDA_IPV6Filter_Vtbl { GetMulticastMode: GetMulticastMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6225,8 +6225,8 @@ impl IBDA_ISDBConditionalAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIsdbCasRequest: SetIsdbCasRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6281,8 +6281,8 @@ impl IBDA_LNBInfo_Vtbl { HighLowSwitchFrequency: HighLowSwitchFrequency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6309,8 +6309,8 @@ impl IBDA_MUX_Vtbl { GetPidList: GetPidList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl IBDA_NameValueService_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6419,8 +6419,8 @@ impl IBDA_NetworkProvider_Vtbl { UnRegisterDeviceFilter: UnRegisterDeviceFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6443,8 +6443,8 @@ impl IBDA_NullTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6478,8 +6478,8 @@ impl IBDA_PinControl_Vtbl { RegistrationContext: RegistrationContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6534,8 +6534,8 @@ impl IBDA_SignalProperties_Vtbl { GetTuningSpace: GetTuningSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6621,8 +6621,8 @@ impl IBDA_SignalStatistics_Vtbl { SampleTime: SampleTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6715,8 +6715,8 @@ impl IBDA_Topology_Vtbl { GetControlNode: GetControlNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6739,8 +6739,8 @@ impl IBDA_TransportStreamInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PatTableTickCount: PatTableTickCount:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6767,8 +6767,8 @@ impl IBDA_TransportStreamSelector_Vtbl { GetTSInformation: GetTSInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6808,8 +6808,8 @@ impl IBDA_UserActivityService_Vtbl { UserActivityDetected: UserActivityDetected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6832,8 +6832,8 @@ impl IBDA_VoidTransform_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6902,8 +6902,8 @@ impl IBDA_WMDRMSession_Vtbl { GetKeyInfo: GetKeyInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -6964,8 +6964,8 @@ impl IBDA_WMDRMTuner_Vtbl { GetStartCodeProfile: GetStartCodeProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7002,8 +7002,8 @@ impl IBPCSatelliteTuner_Vtbl { IsTapingPermitted: IsTapingPermitted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7072,8 +7072,8 @@ impl IBaseFilter_Vtbl { QueryVendorInfo: QueryVendorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7159,8 +7159,8 @@ impl IBaseVideoMixer_Vtbl { SetClockPeriod: SetClockPeriod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7216,8 +7216,8 @@ impl IBasicAudio_Vtbl { Balance: Balance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7535,8 +7535,8 @@ impl IBasicVideo_Vtbl { IsUsingDefaultDestination: IsUsingDefaultDestination::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7556,8 +7556,8 @@ impl IBasicVideo2_Vtbl { } Self { base__: IBasicVideo_Vtbl::new::(), GetPreferredAspectRatio: GetPreferredAspectRatio:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7574,8 +7574,8 @@ impl IBroadcastEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Fire: Fire:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7592,8 +7592,8 @@ impl IBroadcastEventEx_Vtbl { } Self { base__: IBroadcastEvent_Vtbl::new::(), FireEx: FireEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7620,8 +7620,8 @@ impl IBufferingTime_Vtbl { SetBufferingTime: SetBufferingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -7654,8 +7654,8 @@ impl ICCSubStreamFiltering_Vtbl { SetSubstreamTypes: SetSubstreamTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8025,8 +8025,8 @@ impl ICameraControl_Vtbl { put_PrivacyMode: put_PrivacyMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8104,8 +8104,8 @@ impl ICaptureGraphBuilder_Vtbl { CopyCaptureFile: CopyCaptureFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8196,8 +8196,8 @@ impl ICaptureGraphBuilder2_Vtbl { FindPin: FindPin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -8293,8 +8293,8 @@ impl IConfigAsfWriter_Vtbl { GetIndexMode: GetIndexMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -8344,8 +8344,8 @@ impl IConfigAsfWriter2_Vtbl { ResetMultiPassState: ResetMultiPassState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8401,8 +8401,8 @@ impl IConfigAviMux_Vtbl { GetOutputCompatibilityIndex: GetOutputCompatibilityIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8449,8 +8449,8 @@ impl IConfigInterleaving_Vtbl { get_Interleaving: get_Interleaving::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8470,8 +8470,8 @@ impl ICreateDevEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateClassEnumerator: CreateClassEnumerator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8536,8 +8536,8 @@ impl IDDrawExclModeVideo_Vtbl { SetCallbackInterface: SetCallbackInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8574,8 +8574,8 @@ impl IDDrawExclModeVideoCallback_Vtbl { OnUpdateSize: OnUpdateSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8592,8 +8592,8 @@ impl IDMOWrapperFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8620,8 +8620,8 @@ impl IDShowPlugin_Vtbl { UserAgent: UserAgent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8648,8 +8648,8 @@ impl IDVEnc_Vtbl { put_IFormatResolution: put_IFormatResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8669,8 +8669,8 @@ impl IDVRGB219_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRGB219: SetRGB219:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8690,8 +8690,8 @@ impl IDVSplitter_Vtbl { DiscardAlternateVideoFrames: DiscardAlternateVideoFrames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8718,8 +8718,8 @@ impl IDecimateVideoImage_Vtbl { ResetDecimationImageSize: ResetDecimationImageSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -8772,8 +8772,8 @@ impl IDeferredCommand_Vtbl { GetHResult: GetHResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8803,8 +8803,8 @@ impl IDirectDrawMediaSample_Vtbl { LockMediaSamplePointer: LockMediaSamplePointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8830,8 +8830,8 @@ impl IDirectDrawMediaSampleAllocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectDraw: GetDirectDraw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8907,8 +8907,8 @@ impl IDirectDrawMediaStream_Vtbl { GetTimePerFrame: GetTimePerFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -8938,8 +8938,8 @@ impl IDirectDrawStreamSample_Vtbl { SetRect: SetRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -9103,8 +9103,8 @@ impl IDirectDrawVideo_Vtbl { WillUseFullScreen: WillUseFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -9152,8 +9152,8 @@ impl IDistributorNotify_Vtbl { NotifyGraphChange: NotifyGraphChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -9190,8 +9190,8 @@ impl IDrawVideoImage_Vtbl { DrawVideoImageDraw: DrawVideoImageDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -9218,8 +9218,8 @@ impl IDvdCmd_Vtbl { WaitForEnd: WaitForEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9480,8 +9480,8 @@ impl IDvdControl_Vtbl { ChapterPlayAutoStop: ChapterPlayAutoStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9903,8 +9903,8 @@ impl IDvdControl2_Vtbl { SelectDefaultSubpictureLanguage: SelectDefaultSubpictureLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9947,8 +9947,8 @@ impl IDvdGraphBuilder_Vtbl { RenderDvdVideoVolume: RenderDvdVideoVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10203,8 +10203,8 @@ impl IDvdInfo_Vtbl { GetRoot: GetRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10607,8 +10607,8 @@ impl IDvdInfo2_Vtbl { IsSubpictureStreamEnabled: IsSubpictureStreamEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10647,8 +10647,8 @@ impl IDvdState_Vtbl { GetParentalLevel: GetParentalLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -10723,8 +10723,8 @@ impl IESEvent_Vtbl { GetStringData: GetStringData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10741,8 +10741,8 @@ impl IESEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnESEventReceived: OnESEventReceived:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10819,8 +10819,8 @@ impl IEncoderAPI_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -10870,8 +10870,8 @@ impl IEnumFilters_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10921,8 +10921,8 @@ impl IEnumMediaTypes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -10969,8 +10969,8 @@ impl IEnumPIDMap_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11017,8 +11017,8 @@ impl IEnumPins_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11065,8 +11065,8 @@ impl IEnumRegFilters_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11113,8 +11113,8 @@ impl IEnumStreamIdMap_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11144,8 +11144,8 @@ impl IFileSinkFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11181,8 +11181,8 @@ impl IFileSinkFilter2_Vtbl { GetMode: GetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11212,8 +11212,8 @@ impl IFileSourceFilter_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11257,8 +11257,8 @@ impl IFilterChain_Vtbl { RemoveChain: RemoveChain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11342,8 +11342,8 @@ impl IFilterGraph_Vtbl { SetDefaultSyncSource: SetDefaultSyncSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11386,8 +11386,8 @@ impl IFilterGraph2_Vtbl { RenderEx: RenderEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11407,8 +11407,8 @@ impl IFilterGraph3_Vtbl { } Self { base__: IFilterGraph2_Vtbl::new::(), SetSyncSourceEx: SetSyncSourceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11522,8 +11522,8 @@ impl IFilterInfo_Vtbl { SetFilename: SetFilename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11601,8 +11601,8 @@ impl IFilterMapper_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11663,8 +11663,8 @@ impl IFilterMapper2_Vtbl { EnumMatchingFilters: EnumMatchingFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11690,8 +11690,8 @@ impl IFilterMapper3_Vtbl { } Self { base__: IFilterMapper2_Vtbl::new::(), GetICreateDevEnum: GetICreateDevEnum:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -11752,8 +11752,8 @@ impl IFrequencyMap_Vtbl { get_CountryCodeList: get_CountryCodeList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11924,8 +11924,8 @@ impl IFullScreenVideo_Vtbl { SetDefault: SetDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -11975,8 +11975,8 @@ impl IFullScreenVideoEx_Vtbl { IsKeepPixelAspectRatio: IsKeepPixelAspectRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -12002,8 +12002,8 @@ impl IGetCapabilitiesKey_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapabilitiesKey: GetCapabilitiesKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12074,8 +12074,8 @@ impl IGraphBuilder_Vtbl { ShouldOperationContinue: ShouldOperationContinue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12179,8 +12179,8 @@ impl IGraphConfig_Vtbl { RemoveFilterEx: RemoveFilterEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12197,8 +12197,8 @@ impl IGraphConfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Reconfigure: Reconfigure:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12221,8 +12221,8 @@ impl IGraphVersion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryVersion: QueryVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12255,8 +12255,8 @@ impl IIPDVDec_Vtbl { SetIPDisplay: SetIPDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12296,8 +12296,8 @@ impl IMPEG2PIDMap_Vtbl { EnumPIDMap: EnumPIDMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12337,8 +12337,8 @@ impl IMPEG2StreamIdMap_Vtbl { EnumStreamIdMap: EnumStreamIdMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12441,8 +12441,8 @@ impl IMediaControl_Vtbl { StopWhenReady: StopWhenReady::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12512,8 +12512,8 @@ impl IMediaEvent_Vtbl { FreeEventParams: FreeEventParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12556,8 +12556,8 @@ impl IMediaEventEx_Vtbl { GetNotifyFlags: GetNotifyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12574,8 +12574,8 @@ impl IMediaEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12645,8 +12645,8 @@ impl IMediaFilter_Vtbl { GetSyncSource: GetSyncSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12725,8 +12725,8 @@ impl IMediaParamInfo_Vtbl { GetCurrentTimeFormat: GetCurrentTimeFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -12780,8 +12780,8 @@ impl IMediaParams_Vtbl { SetTimeFormat: SetTimeFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12916,8 +12916,8 @@ impl IMediaPosition_Vtbl { CanSeekBackward: CanSeekBackward::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12940,8 +12940,8 @@ impl IMediaPropertyBag_Vtbl { EnumProperty: EnumProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13081,8 +13081,8 @@ impl IMediaSample_Vtbl { SetMediaTime: SetMediaTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13112,8 +13112,8 @@ impl IMediaSample2_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13136,8 +13136,8 @@ impl IMediaSample2Config_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSurface: GetSurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13317,8 +13317,8 @@ impl IMediaSeeking_Vtbl { GetPreroll: GetPreroll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13391,8 +13391,8 @@ impl IMediaStream_Vtbl { SendEndOfStream: SendEndOfStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -13489,8 +13489,8 @@ impl IMediaStreamFilter_Vtbl { EndOfStream: EndOfStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13532,8 +13532,8 @@ impl IMediaTypeInfo_Vtbl { Subtype: Subtype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13600,8 +13600,8 @@ impl IMemAllocator_Vtbl { ReleaseBuffer: ReleaseBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13634,8 +13634,8 @@ impl IMemAllocatorCallbackTemp_Vtbl { GetFreeCount: GetFreeCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13652,8 +13652,8 @@ impl IMemAllocatorNotifyCallbackTemp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13729,8 +13729,8 @@ impl IMemInputPin_Vtbl { ReceiveCanBlock: ReceiveCanBlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -13764,8 +13764,8 @@ impl IMemoryData_Vtbl { SetActual: SetActual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -13843,8 +13843,8 @@ impl IMixerOCX_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13881,8 +13881,8 @@ impl IMixerOCXNotify_Vtbl { OnDataChange: OnDataChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13982,8 +13982,8 @@ impl IMixerPinConfig_Vtbl { GetStreamTransparent: GetStreamTransparent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -14013,8 +14013,8 @@ impl IMixerPinConfig2_Vtbl { GetOverlaySurfaceColorControls: GetOverlaySurfaceColorControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14057,8 +14057,8 @@ impl IMpeg2Demultiplexer_Vtbl { DeleteOutputPin: DeleteOutputPin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -14195,8 +14195,8 @@ impl IMpegAudioDecoder_Vtbl { AudioFormat: AudioFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14311,8 +14311,8 @@ impl IMultiMediaStream_Vtbl { GetEndOfStreamEventHandle: GetEndOfStreamEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14416,8 +14416,8 @@ impl IOverlay_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14461,8 +14461,8 @@ impl IOverlayNotify_Vtbl { OnPositionChange: OnPositionChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -14482,8 +14482,8 @@ impl IOverlayNotify2_Vtbl { } Self { base__: IOverlayNotify_Vtbl::new::(), OnDisplayChange: OnDisplayChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -14520,8 +14520,8 @@ impl IPersistMediaPropertyBag_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -14666,8 +14666,8 @@ impl IPin_Vtbl { NewSegment: NewSegment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14711,8 +14711,8 @@ impl IPinConnection_Vtbl { DynamicDisconnect: DynamicDisconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14732,8 +14732,8 @@ impl IPinFlowControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Block: Block:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14888,8 +14888,8 @@ impl IPinInfo_Vtbl { Render: Render::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -14980,8 +14980,8 @@ impl IQualProp_Vtbl { DevSyncOffset: DevSyncOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15011,8 +15011,8 @@ impl IQualityControl_Vtbl { SetSink: SetSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15042,8 +15042,8 @@ impl IQueueCommand_Vtbl { InvokeAtPresentationTime: InvokeAtPresentationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15085,8 +15085,8 @@ impl IRegFilterInfo_Vtbl { Filter: Filter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15103,8 +15103,8 @@ impl IRegisterServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterService: RegisterService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15131,8 +15131,8 @@ impl IResourceConsumer_Vtbl { ReleaseResource: ReleaseResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15216,8 +15216,8 @@ impl IResourceManager_Vtbl { ReleaseFocus: ReleaseFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15237,8 +15237,8 @@ impl ISeekingPassThru_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15284,8 +15284,8 @@ impl ISelector_Vtbl { SetSourceNodeId: SetSourceNodeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -15311,8 +15311,8 @@ impl ISpecifyParticularPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15339,8 +15339,8 @@ impl IStreamBuilder_Vtbl { Backout: Backout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15391,8 +15391,8 @@ impl IStreamSample_Vtbl { CompletionStatus: CompletionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15425,8 +15425,8 @@ impl IVMRAspectRatioControl_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15459,8 +15459,8 @@ impl IVMRAspectRatioControl9_Vtbl { SetAspectRatioMode: SetAspectRatioMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15543,8 +15543,8 @@ impl IVMRDeinterlaceControl_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15624,8 +15624,8 @@ impl IVMRDeinterlaceControl9_Vtbl { GetActualDeinterlaceMode: GetActualDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15705,8 +15705,8 @@ impl IVMRFilterConfig_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15786,8 +15786,8 @@ impl IVMRFilterConfig9_Vtbl { GetRenderingMode: GetRenderingMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15831,8 +15831,8 @@ impl IVMRImageCompositor_Vtbl { CompositeImage: CompositeImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15876,8 +15876,8 @@ impl IVMRImageCompositor9_Vtbl { CompositeImage: CompositeImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -15914,8 +15914,8 @@ impl IVMRImagePresenter_Vtbl { PresentImage: PresentImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -15952,8 +15952,8 @@ impl IVMRImagePresenter9_Vtbl { PresentImage: PresentImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -15986,8 +15986,8 @@ impl IVMRImagePresenterConfig_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -16020,8 +16020,8 @@ impl IVMRImagePresenterConfig9_Vtbl { GetRenderingPrefs: GetRenderingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16051,8 +16051,8 @@ impl IVMRImagePresenterExclModeConfig_Vtbl { GetXlcModeDDObjAndPrimarySurface: GetXlcModeDDObjAndPrimarySurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16089,8 +16089,8 @@ impl IVMRMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16127,8 +16127,8 @@ impl IVMRMixerBitmap9_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16238,8 +16238,8 @@ impl IVMRMixerControl_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16370,8 +16370,8 @@ impl IVMRMixerControl9_Vtbl { GetProcAmpControlRange: GetProcAmpControlRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16422,8 +16422,8 @@ impl IVMRMonitorConfig_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16486,8 +16486,8 @@ impl IVMRMonitorConfig9_Vtbl { GetAvailableMonitors: GetAvailableMonitors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16543,8 +16543,8 @@ impl IVMRSurface_Vtbl { GetSurface: GetSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16600,8 +16600,8 @@ impl IVMRSurface9_Vtbl { GetSurface: GetSurface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16645,8 +16645,8 @@ impl IVMRSurfaceAllocator_Vtbl { AdviseNotify: AdviseNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16696,8 +16696,8 @@ impl IVMRSurfaceAllocator9_Vtbl { AdviseNotify: AdviseNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -16717,8 +16717,8 @@ impl IVMRSurfaceAllocatorEx9_Vtbl { } Self { base__: IVMRSurfaceAllocator9_Vtbl::new::(), GetSurfaceEx: GetSurfaceEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16776,8 +16776,8 @@ impl IVMRSurfaceAllocatorNotify_Vtbl { SetBorderColor: SetBorderColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16828,8 +16828,8 @@ impl IVMRSurfaceAllocatorNotify9_Vtbl { NotifyEvent: NotifyEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -16885,8 +16885,8 @@ impl IVMRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16922,8 +16922,8 @@ impl IVMRVideoStreamControl9_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17068,8 +17068,8 @@ impl IVMRWindowlessControl_Vtbl { GetColorKey: GetColorKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17194,8 +17194,8 @@ impl IVMRWindowlessControl9_Vtbl { GetBorderColor: GetBorderColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17308,8 +17308,8 @@ impl IVPBaseConfig_Vtbl { SetSurfaceParameters: SetSurfaceParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17326,8 +17326,8 @@ impl IVPBaseNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RenegotiateVPParameters: RenegotiateVPParameters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17357,8 +17357,8 @@ impl IVPConfig_Vtbl { SetScalingFactors: SetScalingFactors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17391,8 +17391,8 @@ impl IVPManager_Vtbl { GetVideoPortIndex: GetVideoPortIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17419,8 +17419,8 @@ impl IVPNotify_Vtbl { GetDeinterlaceMode: GetDeinterlaceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17450,8 +17450,8 @@ impl IVPNotify2_Vtbl { GetVPSyncMaster: GetVPSyncMaster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectDraw\"`, `\"implement\"`*"] @@ -17464,8 +17464,8 @@ impl IVPVBIConfig_Vtbl { pub const fn new, Impl: IVPVBIConfig_Impl, const OFFSET: isize>() -> IVPVBIConfig_Vtbl { Self { base__: IVPBaseConfig_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17475,8 +17475,8 @@ impl IVPVBINotify_Vtbl { pub const fn new, Impl: IVPVBINotify_Impl, const OFFSET: isize>() -> IVPVBINotify_Vtbl { Self { base__: IVPBaseNotify_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17489,8 +17489,8 @@ impl IVideoEncoder_Vtbl { pub const fn new, Impl: IVideoEncoder_Impl, const OFFSET: isize>() -> IVideoEncoder_Vtbl { Self { base__: IEncoderAPI_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17524,8 +17524,8 @@ impl IVideoFrameStep_Vtbl { CancelStep: CancelStep::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -17811,8 +17811,8 @@ impl IVideoProcAmp_Vtbl { getRange_WhiteBalanceComponent: getRange_WhiteBalanceComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18197,8 +18197,8 @@ impl IVideoWindow_Vtbl { IsCursorHidden: IsCursorHidden::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -18235,8 +18235,8 @@ impl IWMCodecAMVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DirectShow\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -18266,7 +18266,7 @@ impl IWMCodecVideoAccelerator_Vtbl { SetPlayerNotify: SetPlayerNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs index 01ccf91d77..e0a8fa31d6 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/DxMediaObjects/impl.rs @@ -35,8 +35,8 @@ impl IDMOQualityControl_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDMOVideoOutputOptimizations_Vtbl { GetCurrentSampleRequirements: GetCurrentSampleRequirements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -143,8 +143,8 @@ impl IEnumDMO_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -184,8 +184,8 @@ impl IMediaBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IMediaObject_Vtbl { Lock: Lock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -419,7 +419,7 @@ impl IMediaObjectInPlace_Vtbl { GetLatency: GetLatency::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs index 41722d8b8e..606bd67838 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/KernelStreaming/impl.rs @@ -22,8 +22,8 @@ impl IKsAggregateControl_Vtbl { KsRemoveAggregate: KsRemoveAggregate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -67,8 +67,8 @@ impl IKsAllocator_Vtbl { KsSetAllocatorMode: KsSetAllocatorMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IKsAllocatorEx_Vtbl { KsCreateAllocatorAndGetHandle: KsCreateAllocatorAndGetHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl IKsClockPropertySet_Vtbl { KsGetState: KsGetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl IKsControl_Vtbl { KsEvent: KsEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IKsDataTypeCompletion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsCompleteMediaType: KsCompleteMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -346,8 +346,8 @@ impl IKsDataTypeHandler_Vtbl { KsSetMediaType: KsSetMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -383,8 +383,8 @@ impl IKsFormatSupport_Vtbl { GetDevicePreferredFormat: GetDevicePreferredFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -421,8 +421,8 @@ impl IKsInterfaceHandler_Vtbl { KsCompleteIo: KsCompleteIo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -445,8 +445,8 @@ impl IKsJackContainerId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackContainerId: GetJackContainerId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IKsJackDescription_Vtbl { GetJackDescription: GetJackDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -522,8 +522,8 @@ impl IKsJackDescription2_Vtbl { GetJackDescription2: GetJackDescription2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -562,8 +562,8 @@ impl IKsJackDescription3_Vtbl { GetJackDescription3: GetJackDescription3::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -583,8 +583,8 @@ impl IKsJackSinkInformation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetJackSinkInformation: GetJackSinkInformation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -611,8 +611,8 @@ impl IKsNodeControl_Vtbl { SetKsControl: SetKsControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -629,8 +629,8 @@ impl IKsNotifyEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsNotifyEvent: KsNotifyEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -650,8 +650,8 @@ impl IKsObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsGetObjectHandle: KsGetObjectHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IKsPin_Vtbl { KsQualityNotify: KsQualityNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -791,8 +791,8 @@ impl IKsPinEx_Vtbl { } Self { base__: IKsPin_Vtbl::new::(), KsNotifyError: KsNotifyError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl IKsPinFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), KsPinFactory: KsPinFactory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Media_DirectShow\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IKsPinPipe_Vtbl { KsGetFilterName: KsGetFilterName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -950,8 +950,8 @@ impl IKsPropertySet_Vtbl { QuerySupported: QuerySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl IKsQualityForwarder_Vtbl { } Self { base__: IKsObject_Vtbl::new::(), KsFlushClient: KsFlushClient:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -989,8 +989,8 @@ impl IKsTopology_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateNodeInstance: CreateNodeInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_KernelStreaming\"`, `\"implement\"`*"] @@ -1095,7 +1095,7 @@ impl IKsTopologyInfo_Vtbl { CreateNodeInstance: CreateNodeInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs index b96aa9f148..d80dfdf427 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/LibrarySharingServices/impl.rs @@ -57,8 +57,8 @@ impl IWindowsMediaLibrarySharingDevice_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl IWindowsMediaLibrarySharingDeviceProperties_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -156,8 +156,8 @@ impl IWindowsMediaLibrarySharingDeviceProperty_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IWindowsMediaLibrarySharingDevices_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_LibrarySharingServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -416,7 +416,7 @@ impl IWindowsMediaLibrarySharingServices_Vtbl { customSettingsApplied: customSettingsApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs index 0026a76cff..6bd6bde8e9 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaFoundation/impl.rs @@ -21,8 +21,8 @@ impl IAdvancedMediaCapture_Vtbl { GetAdvancedMediaCaptureSettings: GetAdvancedMediaCaptureSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -39,8 +39,8 @@ impl IAdvancedMediaCaptureInitializationSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDirectxDeviceManager: SetDirectxDeviceManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IAdvancedMediaCaptureSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDirectxDeviceManager: GetDirectxDeviceManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IAudioSourceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideInput: ProvideInput:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -115,8 +115,8 @@ impl IClusterDetector_Vtbl { Detect: Detect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl ICodecAPI_Vtbl { SetAllSettingsWithNotify: SetAllSettingsWithNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -364,8 +364,8 @@ impl ID3D12VideoDecodeCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -385,8 +385,8 @@ impl ID3D12VideoDecodeCommandList1_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList_Vtbl::new::(), DecodeFrame1: DecodeFrame1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl ID3D12VideoDecodeCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -444,8 +444,8 @@ impl ID3D12VideoDecodeCommandList3_Vtbl { } Self { base__: ID3D12VideoDecodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl ID3D12VideoDecoder_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -489,8 +489,8 @@ impl ID3D12VideoDecoder1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl ID3D12VideoDecoderHeap_Vtbl { } Self { base__: super::super::Graphics::Direct3D12::ID3D12Pageable_Vtbl::new::(), GetDesc: GetDesc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -534,8 +534,8 @@ impl ID3D12VideoDecoderHeap1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl ID3D12VideoDevice_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl ID3D12VideoDevice1_Vtbl { CreateVideoMotionVectorHeap: CreateVideoMotionVectorHeap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -662,8 +662,8 @@ impl ID3D12VideoDevice2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl ID3D12VideoDevice3_Vtbl { CreateVideoEncoderHeap: CreateVideoEncoderHeap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -822,8 +822,8 @@ impl ID3D12VideoEncodeCommandList_Vtbl { SetProtectedResourceSession: SetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -853,8 +853,8 @@ impl ID3D12VideoEncodeCommandList1_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -884,8 +884,8 @@ impl ID3D12VideoEncodeCommandList2_Vtbl { ResolveEncoderOutputMetadata: ResolveEncoderOutputMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -905,8 +905,8 @@ impl ID3D12VideoEncodeCommandList3_Vtbl { } Self { base__: ID3D12VideoEncodeCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl ID3D12VideoEncoder_Vtbl { GetMaxMotionEstimationPrecision: GetMaxMotionEstimationPrecision::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl ID3D12VideoEncoderHeap_Vtbl { GetResolutionList: GetResolutionList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl ID3D12VideoExtensionCommand_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1099,8 +1099,8 @@ impl ID3D12VideoMotionEstimator_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1130,8 +1130,8 @@ impl ID3D12VideoMotionVectorHeap_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1245,8 +1245,8 @@ impl ID3D12VideoProcessCommandList_Vtbl { WriteBufferImmediate: WriteBufferImmediate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1266,8 +1266,8 @@ impl ID3D12VideoProcessCommandList1_Vtbl { } Self { base__: ID3D12VideoProcessCommandList_Vtbl::new::(), ProcessFrames1: ProcessFrames1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1304,8 +1304,8 @@ impl ID3D12VideoProcessCommandList2_Vtbl { ExecuteExtensionCommand: ExecuteExtensionCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -1325,8 +1325,8 @@ impl ID3D12VideoProcessCommandList3_Vtbl { } Self { base__: ID3D12VideoProcessCommandList2_Vtbl::new::(), Barrier: Barrier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1370,8 +1370,8 @@ impl ID3D12VideoProcessor_Vtbl { GetOutputStreamDesc: GetOutputStreamDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -1394,8 +1394,8 @@ impl ID3D12VideoProcessor1_Vtbl { GetProtectedResourceSession: GetProtectedResourceSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1479,8 +1479,8 @@ impl IDXVAHD_Device_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1531,8 +1531,8 @@ impl IDXVAHD_VideoProcessor_Vtbl { VideoProcessBltHD: VideoProcessBltHD::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1552,8 +1552,8 @@ impl IDirect3D9ExOverlayExtension_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckDeviceOverlayType: CheckDeviceOverlayType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1604,8 +1604,8 @@ impl IDirect3DAuthenticatedChannel9_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1684,8 +1684,8 @@ impl IDirect3DCryptoSession9_Vtbl { GetEncryptionBltKey: GetEncryptionBltKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1722,8 +1722,8 @@ impl IDirect3DDevice9Video_Vtbl { CreateCryptoSession: CreateCryptoSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1794,8 +1794,8 @@ impl IDirect3DDeviceManager9_Vtbl { GetVideoService: GetVideoService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1815,8 +1815,8 @@ impl IDirectXVideoAccelerationService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSurface: CreateSurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1887,8 +1887,8 @@ impl IDirectXVideoDecoder_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -1938,8 +1938,8 @@ impl IDirectXVideoDecoderService_Vtbl { CreateVideoDecoder: CreateVideoDecoder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -1972,8 +1972,8 @@ impl IDirectXVideoMemoryConfiguration_Vtbl { SetSurfaceType: SetSurfaceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2049,8 +2049,8 @@ impl IDirectXVideoProcessor_Vtbl { VideoProcessBlt: VideoProcessBlt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -2140,8 +2140,8 @@ impl IDirectXVideoProcessorService_Vtbl { CreateVideoProcessor: CreateVideoProcessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2174,8 +2174,8 @@ impl IEVRFilterConfig_Vtbl { GetNumberOfStreams: GetNumberOfStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2208,8 +2208,8 @@ impl IEVRFilterConfigEx_Vtbl { GetConfigPrefs: GetConfigPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2265,8 +2265,8 @@ impl IEVRTrustedVideoPlugin_Vtbl { DisableImageExport: DisableImageExport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2302,8 +2302,8 @@ impl IEVRVideoStreamControl_Vtbl { GetStreamActiveState: GetStreamActiveState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2337,8 +2337,8 @@ impl IFileClient_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2424,8 +2424,8 @@ impl IFileIo_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IMF2DBuffer_Vtbl { ContiguousCopyFrom: ContiguousCopyFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2533,8 +2533,8 @@ impl IMF2DBuffer2_Vtbl { Copy2DTo: Copy2DTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -2629,8 +2629,8 @@ impl IMFASFContentInfo_Vtbl { GetEncodingConfigurationPropertyStore: GetEncodingConfigurationPropertyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2761,8 +2761,8 @@ impl IMFASFIndexer_Vtbl { GetCompletedIndex: GetCompletedIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2850,8 +2850,8 @@ impl IMFASFMultiplexer_Vtbl { SetSyncTolerance: SetSyncTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -2951,8 +2951,8 @@ impl IMFASFMutualExclusion_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3134,8 +3134,8 @@ impl IMFASFProfile_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3223,8 +3223,8 @@ impl IMFASFSplitter_Vtbl { GetLastSendTime: GetLastSendTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3334,8 +3334,8 @@ impl IMFASFStreamConfig_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3395,8 +3395,8 @@ impl IMFASFStreamPrioritization_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3567,8 +3567,8 @@ impl IMFASFStreamSelector_Vtbl { SetStreamSelectorFlags: SetStreamSelectorFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3605,8 +3605,8 @@ impl IMFActivate_Vtbl { DetachObject: DetachObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl IMFAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3661,8 +3661,8 @@ impl IMFAsyncCallbackLogging_Vtbl { GetObjectTag: GetObjectTag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -3722,8 +3722,8 @@ impl IMFAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4009,8 +4009,8 @@ impl IMFAttributes_Vtbl { CopyAllItems: CopyAllItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4030,8 +4030,8 @@ impl IMFAudioMediaType_Vtbl { } Self { base__: IMFMediaType_Vtbl::new::(), GetAudioFormat: GetAudioFormat:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4104,8 +4104,8 @@ impl IMFAudioPolicy_Vtbl { GetIconPath: GetIconPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4165,8 +4165,8 @@ impl IMFAudioStreamVolume_Vtbl { GetAllVolumes: GetAllVolumes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4193,8 +4193,8 @@ impl IMFBufferListNotify_Vtbl { OnRemoveSourceBuffer: OnRemoveSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4363,8 +4363,8 @@ impl IMFByteStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4401,8 +4401,8 @@ impl IMFByteStreamBuffering_Vtbl { StopBuffering: StopBuffering::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4419,8 +4419,8 @@ impl IMFByteStreamCacheControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StopBackgroundTransfer: StopBackgroundTransfer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4463,8 +4463,8 @@ impl IMFByteStreamCacheControl2_Vtbl { IsBackgroundTransferActive: IsBackgroundTransferActive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -4514,8 +4514,8 @@ impl IMFByteStreamHandler_Vtbl { GetMaxNumberOfBytesRequiredForResolution: GetMaxNumberOfBytesRequiredForResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4532,8 +4532,8 @@ impl IMFByteStreamProxyClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateByteStreamProxy: CreateByteStreamProxy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4576,8 +4576,8 @@ impl IMFByteStreamTimeSeek_Vtbl { GetTimeSeekResult: GetTimeSeekResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4617,8 +4617,8 @@ impl IMFCameraConfigurationManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4665,8 +4665,8 @@ impl IMFCameraControlDefaults_Vtbl { UnlockControlData: UnlockControlData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4742,8 +4742,8 @@ impl IMFCameraControlDefaultsCollection_Vtbl { RemoveAllControls: RemoveAllControls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4791,8 +4791,8 @@ impl IMFCameraControlMonitor_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4819,8 +4819,8 @@ impl IMFCameraControlNotify_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4854,8 +4854,8 @@ impl IMFCameraOcclusionStateMonitor_Vtbl { GetSupportedStates: GetSupportedStates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4878,8 +4878,8 @@ impl IMFCameraOcclusionStateReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOcclusionState: GetOcclusionState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4896,8 +4896,8 @@ impl IMFCameraOcclusionStateReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnOcclusionStateReport: OnOcclusionStateReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -4924,8 +4924,8 @@ impl IMFCameraSyncObject_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5009,8 +5009,8 @@ impl IMFCaptureEngine_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5027,8 +5027,8 @@ impl IMFCaptureEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IMFCaptureEngineOnEventCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5063,8 +5063,8 @@ impl IMFCaptureEngineOnSampleCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSample: OnSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5084,8 +5084,8 @@ impl IMFCaptureEngineOnSampleCallback2_Vtbl { OnSynchronizedEvent: OnSynchronizedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5125,8 +5125,8 @@ impl IMFCapturePhotoConfirmation_Vtbl { GetPixelFormat: GetPixelFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5160,8 +5160,8 @@ impl IMFCapturePhotoSink_Vtbl { SetOutputByteStream: SetOutputByteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5252,8 +5252,8 @@ impl IMFCapturePreviewSink_Vtbl { SetCustomSink: SetCustomSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl IMFCaptureRecordSink_Vtbl { SetRotation: SetRotation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5363,8 +5363,8 @@ impl IMFCaptureSink_Vtbl { RemoveAllStreams: RemoveAllStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5381,8 +5381,8 @@ impl IMFCaptureSink2_Vtbl { } Self { base__: IMFCaptureSink_Vtbl::new::(), SetOutputMediaType: SetOutputMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5526,8 +5526,8 @@ impl IMFCaptureSource_Vtbl { GetStreamIndexFromFriendlyName: GetStreamIndexFromFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5550,8 +5550,8 @@ impl IMFCdmSuspendNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5617,8 +5617,8 @@ impl IMFClock_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5651,8 +5651,8 @@ impl IMFClockConsumer_Vtbl { GetPresentationClock: GetPresentationClock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5700,8 +5700,8 @@ impl IMFClockStateSink_Vtbl { OnClockSetRate: OnClockSetRate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5774,8 +5774,8 @@ impl IMFCollection_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -5855,8 +5855,8 @@ impl IMFContentDecryptionModule_Vtbl { GetProtectionSystemIds: GetProtectionSystemIds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5911,8 +5911,8 @@ impl IMFContentDecryptionModuleAccess_Vtbl { GetKeySystem: GetKeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IMFContentDecryptionModuleFactory_Vtbl { CreateContentDecryptionModuleAccess: CreateContentDecryptionModuleAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6039,8 +6039,8 @@ impl IMFContentDecryptionModuleSession_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6067,8 +6067,8 @@ impl IMFContentDecryptionModuleSessionCallbacks_Vtbl { KeyStatusChanged: KeyStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6091,8 +6091,8 @@ impl IMFContentDecryptorContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeHardwareKey: InitializeHardwareKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6169,8 +6169,8 @@ impl IMFContentEnabler_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6197,8 +6197,8 @@ impl IMFContentProtectionDevice_Vtbl { GetPrivateDataByteCount: GetPrivateDataByteCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6225,8 +6225,8 @@ impl IMFContentProtectionManager_Vtbl { EndEnableContent: EndEnableContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6256,8 +6256,8 @@ impl IMFD3D12SynchronizationObject_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -6301,8 +6301,8 @@ impl IMFD3D12SynchronizationObjectCommands_Vtbl { EnqueueResourceRelease: EnqueueResourceRelease::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6322,8 +6322,8 @@ impl IMFDLNASinkInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6350,8 +6350,8 @@ impl IMFDRMNetHelper_Vtbl { GetChainedLicenseResponse: GetChainedLicenseResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6398,8 +6398,8 @@ impl IMFDXGIBuffer_Vtbl { SetUnknown: SetUnknown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6470,8 +6470,8 @@ impl IMFDXGIDeviceManager_Vtbl { UnlockDevice: UnlockDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6494,8 +6494,8 @@ impl IMFDXGIDeviceManagerSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetManager: GetManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6529,8 +6529,8 @@ impl IMFDesiredSample_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6731,8 +6731,8 @@ impl IMFDeviceTransform_Vtbl { FlushOutputStream: FlushOutputStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6749,8 +6749,8 @@ impl IMFDeviceTransformCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBufferSent: OnBufferSent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6805,8 +6805,8 @@ impl IMFExtendedCameraControl_Vtbl { CommitSettings: CommitSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6829,8 +6829,8 @@ impl IMFExtendedCameraController_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExtendedCameraControl: GetExtendedCameraControl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6870,8 +6870,8 @@ impl IMFExtendedCameraIntrinsicModel_Vtbl { GetDistortionModelType: GetDistortionModelType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6944,8 +6944,8 @@ impl IMFExtendedCameraIntrinsics_Vtbl { AddIntrinsicModel: AddIntrinsicModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -6972,8 +6972,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModel6KT_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7000,8 +7000,8 @@ impl IMFExtendedCameraIntrinsicsDistortionModelArcTan_Vtbl { SetDistortionModel: SetDistortionModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7024,8 +7024,8 @@ impl IMFExtendedDRMTypeSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTypeSupportedEx: IsTypeSupportedEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7042,8 +7042,8 @@ impl IMFFieldOfUseMFTUnlock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unlock: Unlock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7070,8 +7070,8 @@ impl IMFFinalizableMediaSink_Vtbl { EndFinalize: EndFinalize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7088,8 +7088,8 @@ impl IMFGetService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7115,8 +7115,8 @@ impl IMFHDCPStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Query: Query::, Set: Set:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7286,8 +7286,8 @@ impl IMFHttpDownloadRequest_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7330,8 +7330,8 @@ impl IMFHttpDownloadSession_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7354,8 +7354,8 @@ impl IMFHttpDownloadSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateHttpDownloadSession: CreateHttpDownloadSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7389,8 +7389,8 @@ impl IMFImageSharingEngine_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7413,8 +7413,8 @@ impl IMFImageSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceFromUDN: CreateInstanceFromUDN:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7481,8 +7481,8 @@ impl IMFInputTrustAuthority_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7499,8 +7499,8 @@ impl IMFLocalMFTRegistration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RegisterMFTs: RegisterMFTs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7560,8 +7560,8 @@ impl IMFMediaBuffer_Vtbl { GetMaxLength: GetMaxLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7913,8 +7913,8 @@ impl IMFMediaEngine_Vtbl { OnVideoStreamTick: OnVideoStreamTick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7947,8 +7947,8 @@ impl IMFMediaEngineAudioEndpointId_Vtbl { GetAudioEndpointId: GetAudioEndpointId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8000,8 +8000,8 @@ impl IMFMediaEngineClassFactory_Vtbl { CreateError: CreateError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8024,8 +8024,8 @@ impl IMFMediaEngineClassFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateMediaKeys2: CreateMediaKeys2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8054,8 +8054,8 @@ impl IMFMediaEngineClassFactory3_Vtbl { CreateMediaKeySystemAccess: CreateMediaKeySystemAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8075,8 +8075,8 @@ impl IMFMediaEngineClassFactory4_Vtbl { CreateContentDecryptionModuleFactory: CreateContentDecryptionModuleFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8131,8 +8131,8 @@ impl IMFMediaEngineClassFactoryEx_Vtbl { IsTypeSupported: IsTypeSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8165,8 +8165,8 @@ impl IMFMediaEngineEME_Vtbl { SetMediaKeys: SetMediaKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8193,8 +8193,8 @@ impl IMFMediaEngineEMENotify_Vtbl { WaitingForKey: WaitingForKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8553,8 +8553,8 @@ impl IMFMediaEngineEx_Vtbl { EnableTimeUpdateTimer: EnableTimeUpdateTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8610,8 +8610,8 @@ impl IMFMediaEngineExtension_Vtbl { EndCreateObject: EndCreateObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8628,8 +8628,8 @@ impl IMFMediaEngineNeedKeyNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NeedKey: NeedKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8646,8 +8646,8 @@ impl IMFMediaEngineNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EventNotify: EventNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8667,8 +8667,8 @@ impl IMFMediaEngineOPMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOPMInfo: GetOPMInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8738,8 +8738,8 @@ impl IMFMediaEngineProtectedContent_Vtbl { SetApplicationCertificate: SetApplicationCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8812,8 +8812,8 @@ impl IMFMediaEngineSrcElements_Vtbl { RemoveAllElements: RemoveAllElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8846,8 +8846,8 @@ impl IMFMediaEngineSrcElementsEx_Vtbl { GetKeySystem: GetKeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8890,8 +8890,8 @@ impl IMFMediaEngineSupportsSourceTransfer_Vtbl { AttachMediaSource: AttachMediaSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8911,8 +8911,8 @@ impl IMFMediaEngineTransferSource_Vtbl { TransferSourceToMediaEngine: TransferSourceToMediaEngine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8955,8 +8955,8 @@ impl IMFMediaEngineWebSupport_Vtbl { DisconnectWebAudio: DisconnectWebAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -8997,8 +8997,8 @@ impl IMFMediaError_Vtbl { SetExtendedErrorCode: SetExtendedErrorCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9066,8 +9066,8 @@ impl IMFMediaEvent_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9123,8 +9123,8 @@ impl IMFMediaEventGenerator_Vtbl { QueueEvent: QueueEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9201,8 +9201,8 @@ impl IMFMediaEventQueue_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9262,8 +9262,8 @@ impl IMFMediaKeySession_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9333,8 +9333,8 @@ impl IMFMediaKeySession2_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9368,8 +9368,8 @@ impl IMFMediaKeySessionNotify_Vtbl { KeyError: KeyError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9396,8 +9396,8 @@ impl IMFMediaKeySessionNotify2_Vtbl { KeyStatusChange: KeyStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -9452,8 +9452,8 @@ impl IMFMediaKeySystemAccess_Vtbl { KeySystem: KeySystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9512,8 +9512,8 @@ impl IMFMediaKeys_Vtbl { GetSuspendNotify: GetSuspendNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9559,8 +9559,8 @@ impl IMFMediaKeys2_Vtbl { GetDOMException: GetDOMException::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9664,8 +9664,8 @@ impl IMFMediaSession_Vtbl { GetFullTopology: GetFullTopology::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9685,8 +9685,8 @@ impl IMFMediaSharingEngine_Vtbl { } Self { base__: IMFMediaEngine_Vtbl::new::(), GetDevice: GetDevice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9709,8 +9709,8 @@ impl IMFMediaSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9822,8 +9822,8 @@ impl IMFMediaSink_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -9840,8 +9840,8 @@ impl IMFMediaSinkPreroll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyPreroll: NotifyPreroll:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9911,8 +9911,8 @@ impl IMFMediaSource_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9932,8 +9932,8 @@ impl IMFMediaSource2_Vtbl { } Self { base__: IMFMediaSourceEx_Vtbl::new::(), SetMediaType: SetMediaType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9982,8 +9982,8 @@ impl IMFMediaSourceEx_Vtbl { SetD3DManager: SetD3DManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10075,8 +10075,8 @@ impl IMFMediaSourceExtension_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10103,8 +10103,8 @@ impl IMFMediaSourceExtensionLiveSeekableRange_Vtbl { ClearLiveSeekableRange: ClearLiveSeekableRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10138,8 +10138,8 @@ impl IMFMediaSourceExtensionNotify_Vtbl { OnSourceClose: OnSourceClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10156,8 +10156,8 @@ impl IMFMediaSourcePresentationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ForceEndOfPresentation: ForceEndOfPresentation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10180,8 +10180,8 @@ impl IMFMediaSourceTopologyProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMediaSourceTopology: GetMediaSourceTopology:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10230,8 +10230,8 @@ impl IMFMediaStream_Vtbl { RequestSample: RequestSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10267,8 +10267,8 @@ impl IMFMediaStream2_Vtbl { GetStreamState: GetStreamState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10285,8 +10285,8 @@ impl IMFMediaStreamSourceSampleRequest_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSample: SetSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10356,8 +10356,8 @@ impl IMFMediaTimeRange_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10426,8 +10426,8 @@ impl IMFMediaType_Vtbl { FreeRepresentation: FreeRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10506,8 +10506,8 @@ impl IMFMediaTypeHandler_Vtbl { GetMajorType: GetMajorType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10596,8 +10596,8 @@ impl IMFMetadata_Vtbl { GetAllPropertyNames: GetAllPropertyNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10620,8 +10620,8 @@ impl IMFMetadataProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMFMetadata: GetMFMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10660,8 +10660,8 @@ impl IMFMuxStreamAttributesManager_Vtbl { GetAttributes: GetAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10740,8 +10740,8 @@ impl IMFMuxStreamMediaTypeManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -10787,8 +10787,8 @@ impl IMFMuxStreamSampleManager_Vtbl { GetStreamConfiguration: GetStreamConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10845,8 +10845,8 @@ impl IMFNetCredential_Vtbl { LoggedOnUser: LoggedOnUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10883,8 +10883,8 @@ impl IMFNetCredentialCache_Vtbl { SetUserOptions: SetUserOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10927,8 +10927,8 @@ impl IMFNetCredentialManager_Vtbl { SetGood: SetGood::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10983,8 +10983,8 @@ impl IMFNetCrossOriginSupport_Vtbl { IsSameOrigin: IsSameOrigin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11041,8 +11041,8 @@ impl IMFNetProxyLocator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11065,8 +11065,8 @@ impl IMFNetProxyLocatorFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProxyLocator: CreateProxyLocator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11102,8 +11102,8 @@ impl IMFNetResourceFilter_Vtbl { OnSendingRequest: OnSendingRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11149,8 +11149,8 @@ impl IMFNetSchemeHandlerConfig_Vtbl { ResetProtocolRolloverSettings: ResetProtocolRolloverSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11177,8 +11177,8 @@ impl IMFObjectReferenceStream_Vtbl { LoadReference: LoadReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11233,8 +11233,8 @@ impl IMFOutputPolicy_Vtbl { GetMinimumGRLVersion: GetMinimumGRLVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11289,8 +11289,8 @@ impl IMFOutputSchema_Vtbl { GetOriginatorID: GetOriginatorID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11323,8 +11323,8 @@ impl IMFOutputTrustAuthority_Vtbl { SetPolicy: SetPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11341,8 +11341,8 @@ impl IMFPMPClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11359,8 +11359,8 @@ impl IMFPMPClientApp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPMPHost: SetPMPHost:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11397,8 +11397,8 @@ impl IMFPMPHost_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11435,8 +11435,8 @@ impl IMFPMPHostApp_Vtbl { ActivateClassById: ActivateClassById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -11470,8 +11470,8 @@ impl IMFPMPServer_Vtbl { CreateObjectByCLSID: CreateObjectByCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -11692,8 +11692,8 @@ impl IMFPMediaItem_Vtbl { GetMetadata: GetMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12033,8 +12033,8 @@ impl IMFPMediaPlayer_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12054,8 +12054,8 @@ impl IMFPMediaPlayerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMediaPlayerEvent: OnMediaPlayerEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12125,8 +12125,8 @@ impl IMFPluginControl_Vtbl { SetDisabled: SetDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12146,8 +12146,8 @@ impl IMFPluginControl2_Vtbl { } Self { base__: IMFPluginControl_Vtbl::new::(), SetPolicy: SetPolicy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12228,8 +12228,8 @@ impl IMFPresentationClock_Vtbl { Pause: Pause::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12292,8 +12292,8 @@ impl IMFPresentationDescriptor_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12316,8 +12316,8 @@ impl IMFPresentationTimeSource_Vtbl { } Self { base__: IMFClock_Vtbl::new::(), GetUnderlyingClock: GetUnderlyingClock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12344,8 +12344,8 @@ impl IMFProtectedEnvironmentAccess_Vtbl { ReadGRL: ReadGRL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12405,8 +12405,8 @@ impl IMFQualityAdvise_Vtbl { DropTime: DropTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12429,8 +12429,8 @@ impl IMFQualityAdvise2_Vtbl { } Self { base__: IMFQualityAdvise_Vtbl::new::(), NotifyQualityEvent: NotifyQualityEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12469,8 +12469,8 @@ impl IMFQualityAdviseLimits_Vtbl { GetMinimumQualityLevel: GetMinimumQualityLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12525,8 +12525,8 @@ impl IMFQualityManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12556,8 +12556,8 @@ impl IMFRateControl_Vtbl { GetRate: GetRate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12606,8 +12606,8 @@ impl IMFRateSupport_Vtbl { IsRateSupported: IsRateSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12634,8 +12634,8 @@ impl IMFReadWriteClassFactory_Vtbl { CreateInstanceFromObject: CreateInstanceFromObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12669,8 +12669,8 @@ impl IMFRealTimeClient_Vtbl { SetWorkQueue: SetWorkQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12704,8 +12704,8 @@ impl IMFRealTimeClientEx_Vtbl { SetWorkQueueEx: SetWorkQueueEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12728,8 +12728,8 @@ impl IMFRelativePanelReport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRelativePanel: GetRelativePanel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12775,8 +12775,8 @@ impl IMFRelativePanelWatcher_Vtbl { GetReport: GetReport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12793,8 +12793,8 @@ impl IMFRemoteAsyncCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12811,8 +12811,8 @@ impl IMFRemoteDesktopPlugin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateTopology: UpdateTopology:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -12839,8 +12839,8 @@ impl IMFRemoteProxy_Vtbl { GetRemoteHost: GetRemoteHost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12902,8 +12902,8 @@ impl IMFSAMIStyle_Vtbl { GetSelectedStyle: GetSelectedStyle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12960,8 +12960,8 @@ impl IMFSSLCertificateManager_Vtbl { OnServerCertificate: OnServerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13117,8 +13117,8 @@ impl IMFSample_Vtbl { CopyToBuffer: CopyToBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13145,8 +13145,8 @@ impl IMFSampleAllocatorControl_Vtbl { GetAllocatorUsage: GetAllocatorUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13180,8 +13180,8 @@ impl IMFSampleGrabberSinkCallback_Vtbl { OnShutdown: OnShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13198,8 +13198,8 @@ impl IMFSampleGrabberSinkCallback2_Vtbl { } Self { base__: IMFSampleGrabberSinkCallback_Vtbl::new::(), OnProcessSampleEx: OnProcessSampleEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13233,8 +13233,8 @@ impl IMFSampleOutputStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13294,8 +13294,8 @@ impl IMFSampleProtection_Vtbl { InitInputProtection: InitInputProtection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13342,8 +13342,8 @@ impl IMFSaveJob_Vtbl { GetProgress: GetProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -13380,8 +13380,8 @@ impl IMFSchemeHandler_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13404,8 +13404,8 @@ impl IMFSecureBuffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13432,8 +13432,8 @@ impl IMFSecureChannel_Vtbl { SetupSession: SetupSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13453,8 +13453,8 @@ impl IMFSeekInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNearestKeyFrames: GetNearestKeyFrames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13506,8 +13506,8 @@ impl IMFSensorActivitiesReport_Vtbl { GetActivityReportByDeviceName: GetActivityReportByDeviceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13524,8 +13524,8 @@ impl IMFSensorActivitiesReportCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivitiesReport: OnActivitiesReport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13548,8 +13548,8 @@ impl IMFSensorActivityMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Start: Start::, Stop: Stop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13602,8 +13602,8 @@ impl IMFSensorActivityReport_Vtbl { GetProcessActivity: GetProcessActivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13721,8 +13721,8 @@ impl IMFSensorDevice_Vtbl { GetSensorDeviceMode: GetSensorDeviceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -13827,8 +13827,8 @@ impl IMFSensorGroup_Vtbl { CreateMediaSource: CreateMediaSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13896,8 +13896,8 @@ impl IMFSensorProcessActivity_Vtbl { GetReportTime: GetReportTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13947,8 +13947,8 @@ impl IMFSensorProfile_Vtbl { AddBlockedControl: AddBlockedControl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14015,8 +14015,8 @@ impl IMFSensorProfileCollection_Vtbl { RemoveProfile: RemoveProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14071,8 +14071,8 @@ impl IMFSensorStream_Vtbl { CloneSensorStream: CloneSensorStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14138,8 +14138,8 @@ impl IMFSensorTransformFactory_Vtbl { CreateTransform: CreateTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14193,8 +14193,8 @@ impl IMFSequencerSource_Vtbl { UpdateTopologyFlags: UpdateTopologyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14217,8 +14217,8 @@ impl IMFSharingEngineClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14251,8 +14251,8 @@ impl IMFShutdown_Vtbl { GetShutdownStatus: GetShutdownStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14269,8 +14269,8 @@ impl IMFSignedLibrary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProcedureAddress: GetProcedureAddress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14326,8 +14326,8 @@ impl IMFSimpleAudioVolume_Vtbl { GetMute: GetMute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14423,8 +14423,8 @@ impl IMFSinkWriter_Vtbl { GetStatistics: GetStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14451,8 +14451,8 @@ impl IMFSinkWriterCallback_Vtbl { OnMarker: OnMarker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14479,8 +14479,8 @@ impl IMFSinkWriterCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14507,8 +14507,8 @@ impl IMFSinkWriterEncoderConfig_Vtbl { PlaceEncodingParameters: PlaceEncodingParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14525,8 +14525,8 @@ impl IMFSinkWriterEx_Vtbl { } Self { base__: IMFSinkWriter_Vtbl::new::(), GetTransformForStream: GetTransformForStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -14632,8 +14632,8 @@ impl IMFSourceBuffer_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14660,8 +14660,8 @@ impl IMFSourceBufferAppendMode_Vtbl { SetAppendMode: SetAppendMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14688,8 +14688,8 @@ impl IMFSourceBufferList_Vtbl { GetSourceBuffer: GetSourceBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14737,8 +14737,8 @@ impl IMFSourceBufferNotify_Vtbl { OnUpdateEnd: OnUpdateEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14755,8 +14755,8 @@ impl IMFSourceOpenMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSourceEvent: OnSourceEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14866,8 +14866,8 @@ impl IMFSourceReader_Vtbl { GetPresentationAttribute: GetPresentationAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14901,8 +14901,8 @@ impl IMFSourceReaderCallback_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -14929,8 +14929,8 @@ impl IMFSourceReaderCallback2_Vtbl { OnStreamError: OnStreamError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14980,8 +14980,8 @@ impl IMFSourceReaderEx_Vtbl { GetTransformForStream: GetTransformForStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -15046,8 +15046,8 @@ impl IMFSourceResolver_Vtbl { CancelObjectCreation: CancelObjectCreation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -15116,8 +15116,8 @@ impl IMFSpatialAudioObjectBuffer_Vtbl { GetMetadataItems: GetMetadataItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15166,8 +15166,8 @@ impl IMFSpatialAudioSample_Vtbl { GetSpatialAudioObjectByIndex: GetSpatialAudioObjectByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15209,8 +15209,8 @@ impl IMFStreamDescriptor_Vtbl { GetMediaTypeHandler: GetMediaTypeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15286,8 +15286,8 @@ impl IMFStreamSink_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15307,8 +15307,8 @@ impl IMFStreamingSinkConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartStreaming: StartStreaming:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15335,8 +15335,8 @@ impl IMFSystemId_Vtbl { Setup: Setup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15392,8 +15392,8 @@ impl IMFTimecodeTranslate_Vtbl { EndConvertHNSToTimecode: EndConvertHNSToTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15555,8 +15555,8 @@ impl IMFTimedText_Vtbl { IsInBandEnabled: IsInBandEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15573,8 +15573,8 @@ impl IMFTimedTextBinary_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15626,8 +15626,8 @@ impl IMFTimedTextBouten_Vtbl { GetBoutenPosition: GetBoutenPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15747,8 +15747,8 @@ impl IMFTimedTextCue_Vtbl { GetLine: GetLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15828,8 +15828,8 @@ impl IMFTimedTextCueList_Vtbl { RemoveCue: RemoveCue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -15869,8 +15869,8 @@ impl IMFTimedTextFormattedText_Vtbl { GetSubformatting: GetSubformatting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15935,8 +15935,8 @@ impl IMFTimedTextNotify_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16084,8 +16084,8 @@ impl IMFTimedTextRegion_Vtbl { GetScrollMode: GetScrollMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16150,8 +16150,8 @@ impl IMFTimedTextRuby_Vtbl { GetRubyReserve: GetRubyReserve::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16318,8 +16318,8 @@ impl IMFTimedTextStyle_Vtbl { GetTextOutline: GetTextOutline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16387,8 +16387,8 @@ impl IMFTimedTextStyle2_Vtbl { GetFontAngleInDegrees: GetFontAngleInDegrees::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16525,8 +16525,8 @@ impl IMFTimedTextTrack_Vtbl { GetCueList: GetCueList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16572,8 +16572,8 @@ impl IMFTimedTextTrackList_Vtbl { GetTrackById: GetTrackById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16606,8 +16606,8 @@ impl IMFTimer_Vtbl { CancelTimer: CancelTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16624,8 +16624,8 @@ impl IMFTopoLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Load: Load:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16747,8 +16747,8 @@ impl IMFTopology_Vtbl { GetOutputNodeCollection: GetOutputNodeCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16918,8 +16918,8 @@ impl IMFTopologyNode_Vtbl { CloneFrom: CloneFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16936,8 +16936,8 @@ impl IMFTopologyNodeAttributeEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateNodeAttributes: UpdateNodeAttributes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16954,8 +16954,8 @@ impl IMFTopologyServiceLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LookupService: LookupService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -16982,8 +16982,8 @@ impl IMFTopologyServiceLookupClient_Vtbl { ReleaseServicePointers: ReleaseServicePointers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17000,8 +17000,8 @@ impl IMFTrackedSample_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAllocator: SetAllocator:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17074,8 +17074,8 @@ impl IMFTranscodeProfile_Vtbl { GetContainerAttributes: GetContainerAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17122,8 +17122,8 @@ impl IMFTranscodeSinkInfoProvider_Vtbl { GetSinkInfo: GetSinkInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17357,8 +17357,8 @@ impl IMFTransform_Vtbl { ProcessOutput: ProcessOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17381,8 +17381,8 @@ impl IMFTrustedInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputTrustAuthority: GetInputTrustAuthority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17437,8 +17437,8 @@ impl IMFTrustedOutput_Vtbl { IsFinal: IsFinal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17458,8 +17458,8 @@ impl IMFVideoCaptureSampleAllocator_Vtbl { InitializeCaptureSampleAllocator: InitializeCaptureSampleAllocator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17482,8 +17482,8 @@ impl IMFVideoDeviceID_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceID: GetDeviceID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17641,8 +17641,8 @@ impl IMFVideoDisplayControl_Vtbl { GetFullscreen: GetFullscreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17672,8 +17672,8 @@ impl IMFVideoMediaType_Vtbl { GetVideoRepresentation: GetVideoRepresentation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -17717,8 +17717,8 @@ impl IMFVideoMixerBitmap_Vtbl { GetAlphaBitmapParameters: GetAlphaBitmapParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17771,8 +17771,8 @@ impl IMFVideoMixerControl_Vtbl { GetStreamOutputRect: GetStreamOutputRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17805,8 +17805,8 @@ impl IMFVideoMixerControl2_Vtbl { GetMixingPrefs: GetMixingPrefs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17826,8 +17826,8 @@ impl IMFVideoPositionMapper_Vtbl { MapOutputCoordinateToInputStream: MapOutputCoordinateToInputStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -17860,8 +17860,8 @@ impl IMFVideoPresenter_Vtbl { GetCurrentMediaType: GetCurrentMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct3D9\"`, `\"implement\"`*"] @@ -17997,8 +17997,8 @@ impl IMFVideoProcessor_Vtbl { SetBackgroundColor: SetBackgroundColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18056,8 +18056,8 @@ impl IMFVideoProcessorControl_Vtbl { SetConstrictionSize: SetConstrictionSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18100,8 +18100,8 @@ impl IMFVideoProcessorControl2_Vtbl { GetSupportedHardwareEffects: GetSupportedHardwareEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18151,8 +18151,8 @@ impl IMFVideoProcessorControl3_Vtbl { SetOutputDevice: SetOutputDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18169,8 +18169,8 @@ impl IMFVideoRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InitializeRenderer: InitializeRenderer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18190,8 +18190,8 @@ impl IMFVideoRendererEffectControl_Vtbl { OnAppServiceConnectionEstablished: OnAppServiceConnectionEstablished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18238,8 +18238,8 @@ impl IMFVideoSampleAllocator_Vtbl { AllocateSample: AllocateSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18272,8 +18272,8 @@ impl IMFVideoSampleAllocatorCallback_Vtbl { GetFreeSampleCount: GetFreeSampleCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18293,8 +18293,8 @@ impl IMFVideoSampleAllocatorEx_Vtbl { InitializeSampleAllocatorEx: InitializeSampleAllocatorEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18311,8 +18311,8 @@ impl IMFVideoSampleAllocatorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRelease: NotifyRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18329,8 +18329,8 @@ impl IMFVideoSampleAllocatorNotifyEx_Vtbl { } Self { base__: IMFVideoSampleAllocatorNotify_Vtbl::new::(), NotifyPrune: NotifyPrune:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Devices_Properties\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18441,8 +18441,8 @@ impl IMFVirtualCamera_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18557,8 +18557,8 @@ impl IMFWorkQueueServices_Vtbl { GetPlatformWorkQueueMMCSSTaskId: GetPlatformWorkQueueMMCSSTaskId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18604,8 +18604,8 @@ impl IMFWorkQueueServicesEx_Vtbl { GetPlatformWorkQueueMMCSSPriority: GetPlatformWorkQueueMMCSSPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18653,8 +18653,8 @@ impl IOPMVideoOutput_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18681,8 +18681,8 @@ impl IPlayToControl_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18705,8 +18705,8 @@ impl IPlayToControlWithCapabilities_Vtbl { } Self { base__: IPlayToControl_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18729,8 +18729,8 @@ impl IPlayToSourceClassFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18826,8 +18826,8 @@ impl IToc_Vtbl { RemoveEntryListByIndex: RemoveEntryListByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18881,8 +18881,8 @@ impl ITocCollection_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -18951,8 +18951,8 @@ impl ITocEntry_Vtbl { GetDescriptionData: GetDescriptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19006,8 +19006,8 @@ impl ITocEntryList_Vtbl { RemoveEntryByIndex: RemoveEntryByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19088,8 +19088,8 @@ impl ITocParser_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19106,8 +19106,8 @@ impl IValidateBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19148,8 +19148,8 @@ impl IWMCodecLeakyBucket_Vtbl { GetBufferFullnessBits: GetBufferFullnessBits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19166,8 +19166,8 @@ impl IWMCodecOutputTimestamp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextOutputTime: GetNextOutputTime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19197,8 +19197,8 @@ impl IWMCodecPrivateData_Vtbl { GetPrivateData: GetPrivateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19228,8 +19228,8 @@ impl IWMCodecProps_Vtbl { GetCodecProp: GetCodecProp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19259,8 +19259,8 @@ impl IWMCodecStrings_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19287,8 +19287,8 @@ impl IWMColorConvProps_Vtbl { SetFullCroppingParam: SetFullCroppingParam::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19305,8 +19305,8 @@ impl IWMColorLegalizerProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColorLegalizerQuality: SetColorLegalizerQuality:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19350,8 +19350,8 @@ impl IWMFrameInterpProps_Vtbl { SetComplexityLevel: SetComplexityLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19385,8 +19385,8 @@ impl IWMInterlaceProps_Vtbl { SetLastFrame: SetLastFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19413,8 +19413,8 @@ impl IWMResamplerProps_Vtbl { SetUserChannelMtx: SetUserChannelMtx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19462,8 +19462,8 @@ impl IWMResizerProps_Vtbl { GetFullCropRegion: GetFullCropRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19483,8 +19483,8 @@ impl IWMSampleExtensionSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUseSampleExtensions: SetUseSampleExtensions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19501,8 +19501,8 @@ impl IWMValidate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIdentifier: SetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19529,8 +19529,8 @@ impl IWMVideoDecoderHurryup_Vtbl { GetHurryup: GetHurryup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"Win32_Media_DxMediaObjects\"`, `\"implement\"`*"] @@ -19567,8 +19567,8 @@ impl IWMVideoDecoderReconBuffer_Vtbl { SetReconstructedVideoFrame: SetReconstructedVideoFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19585,8 +19585,8 @@ impl IWMVideoForceKeyFrame_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetKeyFrame: SetKeyFrame:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -19596,7 +19596,7 @@ impl MFASYNCRESULT_Vtbl { pub const fn new, Impl: MFASYNCRESULT_Impl, const OFFSET: isize>() -> MFASYNCRESULT_Vtbl { Self { base__: IMFAsyncResult_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs index 0dc39fe566..9182278924 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/MediaPlayer/impl.rs @@ -505,8 +505,8 @@ impl IFeed_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -588,8 +588,8 @@ impl IFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -750,8 +750,8 @@ impl IFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -823,8 +823,8 @@ impl IFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1056,8 +1056,8 @@ impl IFeedFolder_Vtbl { GetWatcher: GetWatcher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1185,8 +1185,8 @@ impl IFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl IFeedItem_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1438,8 +1438,8 @@ impl IFeedItem2_Vtbl { } Self { base__: IFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1494,8 +1494,8 @@ impl IFeedsEnum_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -1717,8 +1717,8 @@ impl IWMPAudioRenderConfig_Vtbl { SetaudioOutputDevice: SetaudioOutputDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1761,8 +1761,8 @@ impl IWMPCdrom_Vtbl { eject: eject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1882,8 +1882,8 @@ impl IWMPCdromBurn_Vtbl { erase: erase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1932,8 +1932,8 @@ impl IWMPCdromCollection_Vtbl { getByDriveSpecifier: getByDriveSpecifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -1974,8 +1974,8 @@ impl IWMPCdromRip_Vtbl { stopRip: stopRip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2047,8 +2047,8 @@ impl IWMPClosedCaption_Vtbl { SetcaptioningId: SetcaptioningId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2099,8 +2099,8 @@ impl IWMPClosedCaption2_Vtbl { getSAMIStyleName: getSAMIStyleName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2191,8 +2191,8 @@ impl IWMPContentContainer_Vtbl { GetContentID: GetContentID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2244,8 +2244,8 @@ impl IWMPContentContainerList_Vtbl { GetContainer: GetContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2446,8 +2446,8 @@ impl IWMPContentPartner_Vtbl { VerifyPermission: VerifyPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2554,8 +2554,8 @@ impl IWMPContentPartnerCallback_Vtbl { VerifyPermissionComplete: VerifyPermissionComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2689,8 +2689,8 @@ impl IWMPControls_Vtbl { playItem: playItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2710,8 +2710,8 @@ impl IWMPControls2_Vtbl { } Self { base__: IWMPControls_Vtbl::new::(), step: step:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl IWMPControls3_Vtbl { SetcurrentPositionTimecode: SetcurrentPositionTimecode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -2825,8 +2825,8 @@ impl IWMPConvert_Vtbl { GetErrorURL: GetErrorURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3049,8 +3049,8 @@ impl IWMPCore_Vtbl { status: status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3076,8 +3076,8 @@ impl IWMPCore2_Vtbl { } Self { base__: IWMPCore_Vtbl::new::(), dvd: dvd:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3119,8 +3119,8 @@ impl IWMPCore3_Vtbl { newMedia: newMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3178,8 +3178,8 @@ impl IWMPDVD_Vtbl { resume: resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3249,8 +3249,8 @@ impl IWMPDownloadCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3322,8 +3322,8 @@ impl IWMPDownloadItem_Vtbl { cancel: cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl IWMPDownloadItem2_Vtbl { } Self { base__: IWMPDownloadItem_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3386,8 +3386,8 @@ impl IWMPDownloadManager_Vtbl { createDownloadCollection: createDownloadCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3480,8 +3480,8 @@ impl IWMPEffects_Vtbl { RenderFullScreen: RenderFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3539,8 +3539,8 @@ impl IWMPEffects2_Vtbl { RenderWindowed: RenderWindowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3590,8 +3590,8 @@ impl IWMPError_Vtbl { webHelp: webHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3642,8 +3642,8 @@ impl IWMPErrorItem_Vtbl { customUrl: customUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3663,8 +3663,8 @@ impl IWMPErrorItem2_Vtbl { } Self { base__: IWMPErrorItem_Vtbl::new::(), condition: condition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3995,8 +3995,8 @@ impl IWMPEvents_Vtbl { MouseUp: MouseUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4054,8 +4054,8 @@ impl IWMPEvents2_Vtbl { CreatePartnershipComplete: CreatePartnershipComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4148,8 +4148,8 @@ impl IWMPEvents3_Vtbl { MediaCollectionMediaRemoved: MediaCollectionMediaRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4169,8 +4169,8 @@ impl IWMPEvents4_Vtbl { } Self { base__: IWMPEvents3_Vtbl::new::(), DeviceEstimation: DeviceEstimation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4260,8 +4260,8 @@ impl IWMPFolderMonitorServices_Vtbl { stopScan: stopScan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4295,8 +4295,8 @@ impl IWMPGraphCreation_Vtbl { GetGraphCreationFlags: GetGraphCreationFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4346,8 +4346,8 @@ impl IWMPLibrary_Vtbl { isIdentical: isIdentical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IWMPLibrary2_Vtbl { } Self { base__: IWMPLibrary_Vtbl::new::(), getItemInfo: getItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4401,8 +4401,8 @@ impl IWMPLibraryServices_Vtbl { getLibraryByType: getLibraryByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4439,8 +4439,8 @@ impl IWMPLibrarySharingServices_Vtbl { showLibrarySharing: showLibrarySharing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4582,8 +4582,8 @@ impl IWMPMedia_Vtbl { isReadOnlyItem: isReadOnlyItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4609,8 +4609,8 @@ impl IWMPMedia2_Vtbl { } Self { base__: IWMPMedia_Vtbl::new::(), error: error:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4640,8 +4640,8 @@ impl IWMPMedia3_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4789,8 +4789,8 @@ impl IWMPMediaCollection_Vtbl { isDeleted: isDeleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4858,8 +4858,8 @@ impl IWMPMediaCollection2_Vtbl { getByAttributeAndMediaType: getByAttributeAndMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -4886,8 +4886,8 @@ impl IWMPMediaPluginRegistrar_Vtbl { WMPUnRegisterPlayerPlugin: WMPUnRegisterPlayerPlugin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4931,8 +4931,8 @@ impl IWMPMetadataPicture_Vtbl { URL: URL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4962,8 +4962,8 @@ impl IWMPMetadataText_Vtbl { text: text::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5175,8 +5175,8 @@ impl IWMPNetwork_Vtbl { framesSkipped: framesSkipped::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl IWMPNodeRealEstate_Vtbl { GetFullScreen: GetFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5272,8 +5272,8 @@ impl IWMPNodeRealEstateHost_Vtbl { OnFullScreenTransition: OnFullScreenTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5300,8 +5300,8 @@ impl IWMPNodeWindowed_Vtbl { GetOwnerWindow: GetOwnerWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5324,8 +5324,8 @@ impl IWMPNodeWindowedHost_Vtbl { OnWindowMessageFromRenderer: OnWindowMessageFromRenderer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5345,8 +5345,8 @@ impl IWMPNodeWindowless_Vtbl { } Self { base__: IWMPWindowMessageSink_Vtbl::new::(), OnDraw: OnDraw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5366,8 +5366,8 @@ impl IWMPNodeWindowlessHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvalidateRect: InvalidateRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5439,8 +5439,8 @@ impl IWMPPlayer_Vtbl { uiMode: uiMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5540,8 +5540,8 @@ impl IWMPPlayer2_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5641,8 +5641,8 @@ impl IWMPPlayer3_Vtbl { SetwindowlessVideo: SetwindowlessVideo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5769,8 +5769,8 @@ impl IWMPPlayer4_Vtbl { openPlayer: openPlayer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5814,8 +5814,8 @@ impl IWMPPlayerApplication_Vtbl { hasDisplay: hasDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5849,8 +5849,8 @@ impl IWMPPlayerServices_Vtbl { setTaskPaneURL: setTaskPaneURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -5870,8 +5870,8 @@ impl IWMPPlayerServices2_Vtbl { setBackgroundProcessingPriority: setBackgroundProcessingPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5991,8 +5991,8 @@ impl IWMPPlaylist_Vtbl { moveItem: moveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6028,8 +6028,8 @@ impl IWMPPlaylistArray_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6118,8 +6118,8 @@ impl IWMPPlaylistCollection_Vtbl { importPlaylist: importPlaylist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6174,8 +6174,8 @@ impl IWMPPlugin_Vtbl { UnAdviseWMPServices: UnAdviseWMPServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6205,8 +6205,8 @@ impl IWMPPluginEnable_Vtbl { GetEnable: GetEnable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6271,8 +6271,8 @@ impl IWMPPluginUI_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6302,8 +6302,8 @@ impl IWMPQuery_Vtbl { beginNextGroup: beginNextGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6347,8 +6347,8 @@ impl IWMPRemoteMediaServices_Vtbl { GetCustomUIMode: GetCustomUIMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6378,8 +6378,8 @@ impl IWMPRenderConfig_Vtbl { inProcOnly: inProcOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6406,8 +6406,8 @@ impl IWMPServices_Vtbl { GetStreamState: GetStreamState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6584,8 +6584,8 @@ impl IWMPSettings_Vtbl { SetenableErrorDialogs: SetenableErrorDialogs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6622,8 +6622,8 @@ impl IWMPSettings2_Vtbl { requestMediaAccessRights: requestMediaAccessRights::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6640,8 +6640,8 @@ impl IWMPSkinManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVisualStyle: SetVisualStyle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6671,8 +6671,8 @@ impl IWMPStringCollection_Vtbl { item: item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6716,8 +6716,8 @@ impl IWMPStringCollection2_Vtbl { getItemInfoByType: getItemInfoByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6761,8 +6761,8 @@ impl IWMPSubscriptionService_Vtbl { startBackgroundProcessing: startBackgroundProcessing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6806,8 +6806,8 @@ impl IWMPSubscriptionService2_Vtbl { prepareForSync: prepareForSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -6824,8 +6824,8 @@ impl IWMPSubscriptionServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6953,8 +6953,8 @@ impl IWMPSyncDevice_Vtbl { isIdentical: isIdentical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6974,8 +6974,8 @@ impl IWMPSyncDevice2_Vtbl { } Self { base__: IWMPSyncDevice_Vtbl::new::(), setItemInfo: setItemInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7005,8 +7005,8 @@ impl IWMPSyncDevice3_Vtbl { cancelEstimation: cancelEstimation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7039,8 +7039,8 @@ impl IWMPSyncServices_Vtbl { getDevice: getDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7060,8 +7060,8 @@ impl IWMPTranscodePolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), allowTranscode: allowTranscode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7078,8 +7078,8 @@ impl IWMPUserEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyUserEvent: NotifyUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -7099,8 +7099,8 @@ impl IWMPVideoRenderConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetpresenterActivate: SetpresenterActivate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7120,8 +7120,8 @@ impl IWMPWindowMessageSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWindowMessage: OnWindowMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7613,8 +7613,8 @@ impl IXFeed_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7690,8 +7690,8 @@ impl IXFeed2_Vtbl { ClearCredentials: ClearCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7843,8 +7843,8 @@ impl IXFeedEnclosure_Vtbl { SetFile: SetFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -7913,8 +7913,8 @@ impl IXFeedEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8098,8 +8098,8 @@ impl IXFeedFolder_Vtbl { TotalItemCount: TotalItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -8224,8 +8224,8 @@ impl IXFeedFolderEvents_Vtbl { FeedItemCountChanged: FeedItemCountChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8438,8 +8438,8 @@ impl IXFeedItem_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8465,8 +8465,8 @@ impl IXFeedItem2_Vtbl { } Self { base__: IXFeedItem_Vtbl::new::(), EffectiveId: EffectiveId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"implement\"`*"] @@ -8495,8 +8495,8 @@ impl IXFeedsEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Count: Count::, Item: Item:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8666,8 +8666,8 @@ impl IXFeedsManager_Vtbl { ItemCountLimit: ItemCountLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_MediaPlayer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8680,7 +8680,7 @@ impl _WMPOCXEvents_Vtbl { pub const fn new, Impl: _WMPOCXEvents_Impl, const OFFSET: isize>() -> _WMPOCXEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_WMPOCXEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_WMPOCXEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs index 503b2bcccb..cae7fd9aa5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Multimedia/impl.rs @@ -52,8 +52,8 @@ impl IAVIEditStream_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IAVIFile_Vtbl { DeleteStream: DeleteStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -139,8 +139,8 @@ impl IAVIPersistFile_Vtbl { } Self { base__: super::super::System::Com::IPersistFile_Vtbl::new::(), Reserved1: Reserved1:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -233,8 +233,8 @@ impl IAVIStream_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl IAVIStreaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Begin: Begin::, End: End:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Multimedia\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -302,7 +302,7 @@ impl IGetFrame_Vtbl { SetFormat: SetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs index 698a09d6ea..67f943692c 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/PictureAcquisition/impl.rs @@ -44,8 +44,8 @@ impl IPhotoAcquire_Vtbl { EnumResults: EnumResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -82,8 +82,8 @@ impl IPhotoAcquireDeviceSelectionDialog_Vtbl { DoModal: DoModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -204,8 +204,8 @@ impl IPhotoAcquireItem_Vtbl { GetSubItemAt: GetSubItemAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IPhotoAcquireOptionsDialog_Vtbl { SaveData: SaveData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -307,8 +307,8 @@ impl IPhotoAcquirePlugin_Vtbl { DisplayConfigureDialog: DisplayConfigureDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl IPhotoAcquireProgressCB_Vtbl { GetUserInput: GetUserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -619,8 +619,8 @@ impl IPhotoAcquireSettings_Vtbl { GetAcquisitionTime: GetAcquisitionTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IPhotoAcquireSource_Vtbl { BindToObject: BindToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl IPhotoProgressActionCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAction: DoAction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IPhotoProgressDialog_Vtbl { GetUserInput: GetUserInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_PictureAcquisition\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1045,7 +1045,7 @@ impl IUserInputString_Vtbl { GetImage: GetImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs index d9b01ebb3c..ce0670aed5 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/Speech/impl.rs @@ -62,8 +62,8 @@ impl IEnumSpObjectTokens_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -156,8 +156,8 @@ impl ISpAudio_Vtbl { SetBufferNotifySize: SetBufferNotifySize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -174,8 +174,8 @@ impl ISpContainerLexicon_Vtbl { } Self { base__: ISpLexicon_Vtbl::new::(), AddLexicon: AddLexicon:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl ISpDataKey_Vtbl { EnumValues: EnumValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl ISpDisplayAlternates_Vtbl { SetFullStopTrailSpace: SetFullStopTrailSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -358,8 +358,8 @@ impl ISpEnginePronunciation_Vtbl { GetPronunciations: GetPronunciations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl ISpEventSink_Vtbl { GetEventInterest: GetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl ISpEventSource_Vtbl { GetInfo: GetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl ISpEventSource2_Vtbl { } Self { base__: ISpEventSource_Vtbl::new::(), GetEventsEx: GetEventsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl ISpGrammarBuilder_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl ISpGrammarBuilder2_Vtbl { SetPhoneticAlphabet: SetPhoneticAlphabet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl ISpLexicon_Vtbl { GetWords: GetWords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -657,8 +657,8 @@ impl ISpMMSysAudio_Vtbl { SetLineId: SetLineId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl ISpNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl ISpNotifySource_Vtbl { GetNotifyEventHandle: GetNotifyEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -831,8 +831,8 @@ impl ISpNotifyTranslator_Vtbl { GetEventHandle: GetEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -936,8 +936,8 @@ impl ISpObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1019,8 +1019,8 @@ impl ISpObjectTokenCategory_Vtbl { GetDefaultTokenId: GetDefaultTokenId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1040,8 +1040,8 @@ impl ISpObjectTokenInit_Vtbl { } Self { base__: ISpObjectToken_Vtbl::new::(), InitFromDataKey: InitFromDataKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl ISpObjectWithToken_Vtbl { GetObjectToken: GetObjectToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1108,8 +1108,8 @@ impl ISpPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1172,8 +1172,8 @@ impl ISpPhoneticAlphabetConverter_Vtbl { GetMaxConvertLength: GetMaxConvertLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1209,8 +1209,8 @@ impl ISpPhoneticAlphabetSelection_Vtbl { SetAlphabetToUPS: SetAlphabetToUPS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1266,8 +1266,8 @@ impl ISpPhrase_Vtbl { Discard: Discard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1310,8 +1310,8 @@ impl ISpPhrase2_Vtbl { GetAudio: GetAudio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1341,8 +1341,8 @@ impl ISpPhraseAlt_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl ISpProperties_Vtbl { GetPropertyString: GetPropertyString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -1556,8 +1556,8 @@ impl ISpRecoContext_Vtbl { GetContextState: GetContextState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -1591,8 +1591,8 @@ impl ISpRecoContext2_Vtbl { SetAdaptationData2: SetAdaptationData2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1740,8 +1740,8 @@ impl ISpRecoGrammar_Vtbl { GetGrammarState: GetGrammarState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1813,8 +1813,8 @@ impl ISpRecoGrammar2_Vtbl { SetSMLSecurityManager: SetSMLSecurityManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1891,8 +1891,8 @@ impl ISpRecoResult_Vtbl { GetRecoContext: GetRecoContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1935,8 +1935,8 @@ impl ISpRecoResult2_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2094,8 +2094,8 @@ impl ISpRecognizer_Vtbl { EmulateRecognition: EmulateRecognition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2132,8 +2132,8 @@ impl ISpRecognizer2_Vtbl { ResetAcousticModelAdaptation: ResetAcousticModelAdaptation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -2153,8 +2153,8 @@ impl ISpRegDataKey_Vtbl { } Self { base__: ISpDataKey_Vtbl::new::(), SetKey: SetKey:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2184,8 +2184,8 @@ impl ISpResourceManager_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2212,8 +2212,8 @@ impl ISpSerializeState_Vtbl { SetSerializedState: SetSerializedState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2288,8 +2288,8 @@ impl ISpShortcut_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl ISpStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2366,8 +2366,8 @@ impl ISpStreamFormat_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), GetFormat: GetFormat:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2443,8 +2443,8 @@ impl ISpStreamFormatConverter_Vtbl { ScaleBaseToConvertedOffset: ScaleBaseToConvertedOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"implement\"`*"] @@ -2477,8 +2477,8 @@ impl ISpTranscript_Vtbl { AppendTranscript: AppendTranscript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2687,8 +2687,8 @@ impl ISpVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2718,8 +2718,8 @@ impl ISpXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2834,8 +2834,8 @@ impl ISpeechAudio_Vtbl { SetState: SetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2911,8 +2911,8 @@ impl ISpeechAudioBufferInfo_Vtbl { SetEventBias: SetEventBias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2988,8 +2988,8 @@ impl ISpeechAudioFormat_Vtbl { SetWaveFormatEx: SetWaveFormatEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl ISpeechAudioStatus_Vtbl { CurrentDevicePosition: CurrentDevicePosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3140,8 +3140,8 @@ impl ISpeechBaseStream_Vtbl { Seek: Seek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3177,8 +3177,8 @@ impl ISpeechCustomStream_Vtbl { putref_BaseStream: putref_BaseStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3320,8 +3320,8 @@ impl ISpeechDataKey_Vtbl { EnumValues: EnumValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl ISpeechFileStream_Vtbl { } Self { base__: ISpeechBaseStream_Vtbl::new::(), Open: Open::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3443,8 +3443,8 @@ impl ISpeechGrammarRule_Vtbl { AddState: AddState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3507,8 +3507,8 @@ impl ISpeechGrammarRuleState_Vtbl { AddSpecialTransition: AddSpecialTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3628,8 +3628,8 @@ impl ISpeechGrammarRuleStateTransition_Vtbl { NextState: NextState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3684,8 +3684,8 @@ impl ISpeechGrammarRuleStateTransitions_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3793,8 +3793,8 @@ impl ISpeechGrammarRules_Vtbl { CommitAndSave: CommitAndSave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3878,8 +3878,8 @@ impl ISpeechLexicon_Vtbl { GetGenerationChange: GetGenerationChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3960,8 +3960,8 @@ impl ISpeechLexiconPronunciation_Vtbl { Symbolic: Symbolic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4016,8 +4016,8 @@ impl ISpeechLexiconPronunciations_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4085,8 +4085,8 @@ impl ISpeechLexiconWord_Vtbl { Pronunciations: Pronunciations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4141,8 +4141,8 @@ impl ISpeechLexiconWords_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl ISpeechMMSysAudio_Vtbl { MMHandle: MMHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4248,8 +4248,8 @@ impl ISpeechMemoryStream_Vtbl { GetData: GetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4410,8 +4410,8 @@ impl ISpeechObjectToken_Vtbl { MatchesAttributes: MatchesAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4493,8 +4493,8 @@ impl ISpeechObjectTokenCategory_Vtbl { EnumerateTokens: EnumerateTokens::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4549,8 +4549,8 @@ impl ISpeechObjectTokens_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4612,8 +4612,8 @@ impl ISpeechPhoneConverter_Vtbl { IdToPhone: IdToPhone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4688,8 +4688,8 @@ impl ISpeechPhraseAlternate_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4744,8 +4744,8 @@ impl ISpeechPhraseAlternates_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4930,8 +4930,8 @@ impl ISpeechPhraseElement_Vtbl { EngineConfidence: EngineConfidence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4986,8 +4986,8 @@ impl ISpeechPhraseElements_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5211,8 +5211,8 @@ impl ISpeechPhraseInfo_Vtbl { GetDisplayAttributes: GetDisplayAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5241,8 +5241,8 @@ impl ISpeechPhraseInfoBuilder_Vtbl { RestorePhraseFromMemory: RestorePhraseFromMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5297,8 +5297,8 @@ impl ISpeechPhraseProperties_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5431,8 +5431,8 @@ impl ISpeechPhraseProperty_Vtbl { Children: Children::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5500,8 +5500,8 @@ impl ISpeechPhraseReplacement_Vtbl { NumberOfElements: NumberOfElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5556,8 +5556,8 @@ impl ISpeechPhraseReplacements_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5677,8 +5677,8 @@ impl ISpeechPhraseRule_Vtbl { EngineConfidence: EngineConfidence::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5733,8 +5733,8 @@ impl ISpeechPhraseRules_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6003,8 +6003,8 @@ impl ISpeechRecoContext_Vtbl { SetAdaptationData: SetAdaptationData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6183,8 +6183,8 @@ impl ISpeechRecoGrammar_Vtbl { IsPronounceable: IsPronounceable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6318,8 +6318,8 @@ impl ISpeechRecoResult_Vtbl { DiscardResultInfo: DiscardResultInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6339,8 +6339,8 @@ impl ISpeechRecoResult2_Vtbl { } Self { base__: ISpeechRecoResult_Vtbl::new::(), SetTextFeedback: SetTextFeedback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6501,8 +6501,8 @@ impl ISpeechRecoResultDispatch_Vtbl { SetTextFeedback: SetTextFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6570,8 +6570,8 @@ impl ISpeechRecoResultTimes_Vtbl { OffsetFromStart: OffsetFromStart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6865,8 +6865,8 @@ impl ISpeechRecognizer_Vtbl { GetProfiles: GetProfiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6960,8 +6960,8 @@ impl ISpeechRecognizerStatus_Vtbl { SupportedLanguages: SupportedLanguages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6998,8 +6998,8 @@ impl ISpeechResourceLoader_Vtbl { ReleaseLocalCopy: ReleaseLocalCopy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7095,8 +7095,8 @@ impl ISpeechTextSelectionInformation_Vtbl { SelectionLength: SelectionLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7450,8 +7450,8 @@ impl ISpeechVoice_Vtbl { DisplayUI: DisplayUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7623,8 +7623,8 @@ impl ISpeechVoiceStatus_Vtbl { VisemeId: VisemeId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7780,8 +7780,8 @@ impl ISpeechWaveFormatEx_Vtbl { SetExtraData: SetExtraData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7817,8 +7817,8 @@ impl ISpeechXMLRecoResult_Vtbl { GetXMLErrorInfo: GetXMLErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7831,8 +7831,8 @@ impl _ISpeechRecoContextEvents_Vtbl { pub const fn new, Impl: _ISpeechRecoContextEvents_Impl, const OFFSET: isize>() -> _ISpeechRecoContextEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISpeechRecoContextEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_Speech\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7845,7 +7845,7 @@ impl _ISpeechVoiceEvents_Vtbl { pub const fn new, Impl: _ISpeechVoiceEvents_Impl, const OFFSET: isize>() -> _ISpeechVoiceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISpeechVoiceEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs index 1e46d2a105..96e7a58f73 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/WindowsMediaFormat/impl.rs @@ -91,8 +91,8 @@ impl INSNetSourceCreator_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl INSSBuffer_Vtbl { GetBufferAndLength: GetBufferAndLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -192,8 +192,8 @@ impl INSSBuffer2_Vtbl { SetSampleProperties: SetSampleProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl INSSBuffer3_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl INSSBuffer4_Vtbl { GetPropertyByIndex: GetPropertyByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -308,8 +308,8 @@ impl IWMAddressAccess_Vtbl { RemoveAccessEntry: RemoveAccessEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -336,8 +336,8 @@ impl IWMAddressAccess2_Vtbl { AddAccessEntryEx: AddAccessEntryEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IWMAuthorizer_Vtbl { GetSharedData: GetSharedData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -451,8 +451,8 @@ impl IWMBackupRestoreProps_Vtbl { RemoveAllProps: RemoveAllProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl IWMBandwidthSharing_Vtbl { SetBandwidth: SetBandwidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl IWMClientConnections_Vtbl { GetClientProperties: GetClientProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IWMClientConnections2_Vtbl { } Self { base__: IWMClientConnections_Vtbl::new::(), GetClientInfo: GetClientInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl IWMCodecInfo_Vtbl { GetCodecFormat: GetCodecFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl IWMCodecInfo2_Vtbl { GetCodecFormatDesc: GetCodecFormatDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -680,8 +680,8 @@ impl IWMCodecInfo3_Vtbl { GetCodecEnumerationSetting: GetCodecEnumerationSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -698,8 +698,8 @@ impl IWMCredentialCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AcquireCredentials: AcquireCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IWMDRMEditor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDRMProperty: GetDRMProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IWMDRMMessageParser_Vtbl { ParseLicenseRequestMsg: ParseLicenseRequestMsg::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -814,8 +814,8 @@ impl IWMDRMReader_Vtbl { GetDRMProperty: GetDRMProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IWMDRMReader2_Vtbl { TryNextLicense: TryNextLicense::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -880,8 +880,8 @@ impl IWMDRMReader3_Vtbl { } Self { base__: IWMDRMReader2_Vtbl::new::(), GetInclusionList: GetInclusionList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IWMDRMTranscryptionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTranscryptor: CreateTranscryptor:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IWMDRMTranscryptor_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1003,8 +1003,8 @@ impl IWMDRMTranscryptor2_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IWMDRMWriter_Vtbl { SetDRMAttribute: SetDRMAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1066,8 +1066,8 @@ impl IWMDRMWriter2_Vtbl { } Self { base__: IWMDRMWriter_Vtbl::new::(), SetWMDRMNetEncryption: SetWMDRMNetEncryption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IWMDRMWriter3_Vtbl { } Self { base__: IWMDRMWriter2_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1173,8 +1173,8 @@ impl IWMDeviceRegistration_Vtbl { GetRegisteredDeviceByID: GetRegisteredDeviceByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1200,8 +1200,8 @@ impl IWMGetSecureChannel_Vtbl { GetPeerSecureChannelInterface: GetPeerSecureChannelInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IWMHeaderInfo_Vtbl { RemoveScript: RemoveScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1350,8 +1350,8 @@ impl IWMHeaderInfo2_Vtbl { GetCodecInfo: GetCodecInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IWMHeaderInfo3_Vtbl { AddCodecInfo: AddCodecInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IWMIStreamProps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IWMImageInfo_Vtbl { GetImage: GetImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IWMIndexer_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1517,8 +1517,8 @@ impl IWMIndexer2_Vtbl { } Self { base__: IWMIndexer_Vtbl::new::(), Configure: Configure:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1548,8 +1548,8 @@ impl IWMInputMediaProps_Vtbl { GetGroupName: GetGroupName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IWMLanguageList_Vtbl { AddLanguageByRFC1766String: AddLanguageByRFC1766String::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1623,8 +1623,8 @@ impl IWMLicenseBackup_Vtbl { CancelLicenseBackup: CancelLicenseBackup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1651,8 +1651,8 @@ impl IWMLicenseRestore_Vtbl { CancelLicenseRestore: CancelLicenseRestore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1679,8 +1679,8 @@ impl IWMLicenseRevocationAgent_Vtbl { ProcessLRB: ProcessLRB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1723,8 +1723,8 @@ impl IWMMediaProps_Vtbl { SetMediaType: SetMediaType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1758,8 +1758,8 @@ impl IWMMetadataEditor_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IWMMetadataEditor2_Vtbl { } Self { base__: IWMMetadataEditor_Vtbl::new::(), OpenEx: OpenEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1810,8 +1810,8 @@ impl IWMMutualExclusion_Vtbl { SetType: SetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1900,8 +1900,8 @@ impl IWMMutualExclusion2_Vtbl { RemoveStreamForRecord: RemoveStreamForRecord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1931,8 +1931,8 @@ impl IWMOutputMediaProps_Vtbl { GetConnectionName: GetConnectionName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1965,8 +1965,8 @@ impl IWMPacketSize_Vtbl { SetMaxPacketSize: SetMaxPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -1999,8 +1999,8 @@ impl IWMPacketSize2_Vtbl { SetMinPacketSize: SetMinPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IWMPlayerHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PreDecode: PreDecode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2041,8 +2041,8 @@ impl IWMPlayerTimestampHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MapTimestamp: MapTimestamp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2229,8 +2229,8 @@ impl IWMProfile_Vtbl { CreateNewMutualExclusion: CreateNewMutualExclusion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2253,8 +2253,8 @@ impl IWMProfile2_Vtbl { } Self { base__: IWMProfile_Vtbl::new::(), GetProfileID: GetProfileID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2393,8 +2393,8 @@ impl IWMProfile3_Vtbl { GetExpectedPacketCount: GetExpectedPacketCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2479,8 +2479,8 @@ impl IWMProfileManager_Vtbl { LoadSystemProfile: LoadSystemProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2507,8 +2507,8 @@ impl IWMProfileManager2_Vtbl { SetSystemProfileVersion: SetSystemProfileVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2535,8 +2535,8 @@ impl IWMProfileManagerLanguage_Vtbl { SetUserLanguageID: SetUserLanguageID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2591,8 +2591,8 @@ impl IWMPropertyVault_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2609,8 +2609,8 @@ impl IWMProximityDetection_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDetection: StartDetection:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -2724,8 +2724,8 @@ impl IWMReader_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2755,8 +2755,8 @@ impl IWMReaderAccelerator_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2966,8 +2966,8 @@ impl IWMReaderAdvanced_Vtbl { NotifyLateDelivery: NotifyLateDelivery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3106,8 +3106,8 @@ impl IWMReaderAdvanced2_Vtbl { OpenStream: OpenStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3137,8 +3137,8 @@ impl IWMReaderAdvanced3_Vtbl { StartAtPosition: StartAtPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3241,8 +3241,8 @@ impl IWMReaderAdvanced4_Vtbl { GetURL: GetURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3262,8 +3262,8 @@ impl IWMReaderAdvanced5_Vtbl { } Self { base__: IWMReaderAdvanced4_Vtbl::new::(), SetPlayerHook: SetPlayerHook:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl IWMReaderAdvanced6_Vtbl { } Self { base__: IWMReaderAdvanced5_Vtbl::new::(), SetProtectStreamSamples: SetProtectStreamSamples:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3311,8 +3311,8 @@ impl IWMReaderAllocatorEx_Vtbl { AllocateForOutputEx: AllocateForOutputEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3329,8 +3329,8 @@ impl IWMReaderCallback_Vtbl { } Self { base__: IWMStatusCallback_Vtbl::new::(), OnSample: OnSample:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3388,8 +3388,8 @@ impl IWMReaderCallbackAdvanced_Vtbl { AllocateForOutput: AllocateForOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3708,8 +3708,8 @@ impl IWMReaderNetworkConfig_Vtbl { ResetLoggingUrlList: ResetLoggingUrlList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3858,8 +3858,8 @@ impl IWMReaderNetworkConfig2_Vtbl { GetMaxNetPacketSize: GetMaxNetPacketSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3906,8 +3906,8 @@ impl IWMReaderPlaylistBurn_Vtbl { EndPlaylistBurn: EndPlaylistBurn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IWMReaderStreamClock_Vtbl { KillTimer: KillTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3981,8 +3981,8 @@ impl IWMReaderTimecode_Vtbl { GetTimecodeRangeBounds: GetTimecodeRangeBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -3999,8 +3999,8 @@ impl IWMReaderTypeNegotiation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TryOutputProps: TryOutputProps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4027,8 +4027,8 @@ impl IWMRegisterCallback_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4196,8 +4196,8 @@ impl IWMRegisteredDevice_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4236,8 +4236,8 @@ impl IWMSBufferAllocator_Vtbl { AllocatePageSizeBuffer: AllocatePageSizeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4348,8 +4348,8 @@ impl IWMSInternalAdminNetSource_Vtbl { IsUsingIE: IsUsingIE::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4393,8 +4393,8 @@ impl IWMSInternalAdminNetSource2_Vtbl { FindProxyForURLEx: FindProxyForURLEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IWMSInternalAdminNetSource3_Vtbl { GetCredentialsEx2: GetCredentialsEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4571,8 +4571,8 @@ impl IWMSecureChannel_Vtbl { WMSC_SetSharedData: WMSC_SetSharedData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4589,8 +4589,8 @@ impl IWMStatusCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatus: OnStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4704,8 +4704,8 @@ impl IWMStreamConfig_Vtbl { SetBufferWindow: SetBufferWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4772,8 +4772,8 @@ impl IWMStreamConfig2_Vtbl { RemoveAllDataUnitExtensions: RemoveAllDataUnitExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4800,8 +4800,8 @@ impl IWMStreamConfig3_Vtbl { SetLanguage: SetLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -4835,8 +4835,8 @@ impl IWMStreamList_Vtbl { RemoveStream: RemoveStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4866,8 +4866,8 @@ impl IWMStreamPrioritization_Vtbl { SetPriorityRecords: SetPriorityRecords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5090,8 +5090,8 @@ impl IWMSyncReader_Vtbl { OpenStream: OpenStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5167,8 +5167,8 @@ impl IWMSyncReader2_Vtbl { GetAllocateForStream: GetAllocateForStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5224,8 +5224,8 @@ impl IWMVideoMediaProps_Vtbl { SetQuality: SetQuality::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -5258,8 +5258,8 @@ impl IWMWatermarkInfo_Vtbl { GetWatermarkEntry: GetWatermarkEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -5393,8 +5393,8 @@ impl IWMWriter_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5517,8 +5517,8 @@ impl IWMWriterAdvanced_Vtbl { GetSyncTolerance: GetSyncTolerance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5548,8 +5548,8 @@ impl IWMWriterAdvanced2_Vtbl { SetInputSetting: SetInputSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5579,8 +5579,8 @@ impl IWMWriterAdvanced3_Vtbl { SetNonBlocking: SetNonBlocking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5600,8 +5600,8 @@ impl IWMWriterFileSink_Vtbl { } Self { base__: IWMWriterSink_Vtbl::new::(), Open: Open:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5690,8 +5690,8 @@ impl IWMWriterFileSink2_Vtbl { IsClosed: IsClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5781,8 +5781,8 @@ impl IWMWriterFileSink3_Vtbl { CompleteOperations: CompleteOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5866,8 +5866,8 @@ impl IWMWriterNetworkSink_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5976,8 +5976,8 @@ impl IWMWriterPostView_Vtbl { GetAllocateForPostView: GetAllocateForPostView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -6004,8 +6004,8 @@ impl IWMWriterPostViewCallback_Vtbl { AllocateForPostView: AllocateForPostView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"implement\"`*"] @@ -6059,8 +6059,8 @@ impl IWMWriterPreprocess_Vtbl { EndPreprocessingPass: EndPreprocessingPass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6097,8 +6097,8 @@ impl IWMWriterPushSink_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media_WindowsMediaFormat\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6161,7 +6161,7 @@ impl IWMWriterSink_Vtbl { OnEndWriting: OnEndWriting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/Media/impl.rs index 3e24765a3d..1208dbbdd1 100644 --- a/crates/libs/windows/src/Windows/Win32/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Media/impl.rs @@ -57,8 +57,8 @@ impl IReferenceClock_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IReferenceClock2_Vtbl { pub const fn new, Impl: IReferenceClock2_Impl, const OFFSET: isize>() -> IReferenceClock2_Vtbl { Self { base__: IReferenceClock_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Media\"`, `\"implement\"`*"] @@ -105,7 +105,7 @@ impl IReferenceClockTimerControl_Vtbl { GetDefaultTimerResolution: GetDefaultTimerResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs index 0e117a3cbf..5aacca609b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/MobileBroadband/impl.rs @@ -8,8 +8,8 @@ impl IDummyMBNUCMExt_Vtbl { pub const fn new, Impl: IDummyMBNUCMExt_Impl, const OFFSET: isize>() -> IDummyMBNUCMExt_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IMbnConnection_Vtbl { GetActivationNetworkError: GetActivationNetworkError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IMbnConnectionContext_Vtbl { SetProvisionedContext: SetProvisionedContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -178,8 +178,8 @@ impl IMbnConnectionContextEvents_Vtbl { OnSetProvisionedContextComplete: OnSetProvisionedContextComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -220,8 +220,8 @@ impl IMbnConnectionEvents_Vtbl { OnVoiceCallStateChange: OnVoiceCallStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IMbnConnectionManager_Vtbl { GetConnections: GetConnections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -291,8 +291,8 @@ impl IMbnConnectionManagerEvents_Vtbl { OnConnectionRemoval: OnConnectionRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl IMbnConnectionProfile_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IMbnConnectionProfileEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProfileUpdate: OnProfileUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -400,8 +400,8 @@ impl IMbnConnectionProfileManager_Vtbl { CreateConnectionProfile: CreateConnectionProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -428,8 +428,8 @@ impl IMbnConnectionProfileManagerEvents_Vtbl { OnConnectionProfileRemoval: OnConnectionProfileRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl IMbnDeviceService_Vtbl { IsDataSessionOpen: IsDataSessionOpen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -619,8 +619,8 @@ impl IMbnDeviceServiceStateEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSessionsStateChange: OnSessionsStateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -688,8 +688,8 @@ impl IMbnDeviceServicesContext_Vtbl { MaxDataSize: MaxDataSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -782,8 +782,8 @@ impl IMbnDeviceServicesEvents_Vtbl { OnInterfaceStateChange: OnInterfaceStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -806,8 +806,8 @@ impl IMbnDeviceServicesManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceServicesContext: GetDeviceServicesContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -954,8 +954,8 @@ impl IMbnInterface_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1024,8 +1024,8 @@ impl IMbnInterfaceEvents_Vtbl { OnScanNetworkComplete: OnScanNetworkComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1067,8 +1067,8 @@ impl IMbnInterfaceManager_Vtbl { GetInterfaces: GetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IMbnInterfaceManagerEvents_Vtbl { OnInterfaceRemoval: OnInterfaceRemoval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IMbnMultiCarrier_Vtbl { ScanNetwork: ScanNetwork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1233,8 +1233,8 @@ impl IMbnMultiCarrierEvents_Vtbl { OnInterfaceCapabilityChange: OnInterfaceCapabilityChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IMbnPin_Vtbl { GetPinManager: GetPinManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1439,8 +1439,8 @@ impl IMbnPinEvents_Vtbl { OnUnblockComplete: OnUnblockComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1495,8 +1495,8 @@ impl IMbnPinManager_Vtbl { GetPinState: GetPinState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IMbnPinManagerEvents_Vtbl { OnGetPinStateComplete: OnGetPinStateComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1576,8 +1576,8 @@ impl IMbnRadio_Vtbl { SetSoftwareRadioState: SetSoftwareRadioState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1604,8 +1604,8 @@ impl IMbnRadioEvents_Vtbl { OnSetSoftwareRadioStateComplete: OnSetSoftwareRadioStateComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IMbnRegistration_Vtbl { SetRegisterMode: SetRegisterMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1790,8 +1790,8 @@ impl IMbnRegistrationEvents_Vtbl { OnSetRegisterModeComplete: OnSetRegisterModeComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IMbnServiceActivation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1838,8 +1838,8 @@ impl IMbnServiceActivationEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivationComplete: OnActivationComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1878,8 +1878,8 @@ impl IMbnSignal_Vtbl { GetSignalError: GetSignalError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -1896,8 +1896,8 @@ impl IMbnSignalEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSignalStateChange: OnSignalStateChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IMbnSms_Vtbl { GetSmsStatus: GetSmsStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"implement\"`*"] @@ -2097,8 +2097,8 @@ impl IMbnSmsConfiguration_Vtbl { SetSmsFormat: SetSmsFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IMbnSmsEvents_Vtbl { OnSmsStatusChange: OnSmsStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2232,8 +2232,8 @@ impl IMbnSmsReadMsgPdu_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2353,8 +2353,8 @@ impl IMbnSmsReadMsgTextCdma_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2409,8 +2409,8 @@ impl IMbnSubscriberInformation_Vtbl { TelephoneNumbers: TelephoneNumbers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2440,8 +2440,8 @@ impl IMbnVendorSpecificEvents_Vtbl { OnSetVendorSpecificComplete: OnSetVendorSpecificComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_MobileBroadband\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2467,7 +2467,7 @@ impl IMbnVendorSpecificOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetVendorSpecific: SetVendorSpecific:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs index 7d9dd8426c..180b3912e3 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetManagement/impl.rs @@ -36,8 +36,8 @@ impl IEnumNetCfgBindingInterface_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl IEnumNetCfgBindingPath_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -120,8 +120,8 @@ impl IEnumNetCfgComponent_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl INetCfg_Vtbl { QueryNetCfgClass: QueryNetCfgClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl INetCfgBindingInterface_Vtbl { GetLowerComponent: GetLowerComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -297,8 +297,8 @@ impl INetCfgBindingPath_Vtbl { EnumBindingInterfaces: EnumBindingInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl INetCfgClass_Vtbl { EnumComponents: EnumComponents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -363,8 +363,8 @@ impl INetCfgClassSetup_Vtbl { DeInstall: DeInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl INetCfgClassSetup2_Vtbl { UpdateNonEnumeratedComponent: UpdateNonEnumeratedComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl INetCfgComponent_Vtbl { RaisePropertyUi: RaisePropertyUi::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl INetCfgComponentBindings_Vtbl { MoveAfter: MoveAfter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl INetCfgComponentControl_Vtbl { CancelChanges: CancelChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl INetCfgComponentNotifyBinding_Vtbl { NotifyBindingPath: NotifyBindingPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl INetCfgComponentNotifyGlobal_Vtbl { SysNotifyComponent: SysNotifyComponent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -750,8 +750,8 @@ impl INetCfgComponentPropertyUi_Vtbl { CancelProperties: CancelProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -792,8 +792,8 @@ impl INetCfgComponentSetup_Vtbl { Removing: Removing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl INetCfgComponentSysPrep_Vtbl { RestoreAdapterParameters: RestoreAdapterParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl INetCfgComponentUpperEdge_Vtbl { RemoveInterfacesFromAdapter: RemoveInterfacesFromAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -890,8 +890,8 @@ impl INetCfgLock_Vtbl { IsWriteLocked: IsWriteLocked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -908,8 +908,8 @@ impl INetCfgPnpReconfigCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendPnpReconfig: SendPnpReconfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -953,8 +953,8 @@ impl INetCfgSysPrep_Vtbl { HrSetupSetFirstMultiSzField: HrSetupSetFirstMultiSzField::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -977,8 +977,8 @@ impl INetLanConnectionUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDeviceGuid: GetDeviceGuid:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -998,8 +998,8 @@ impl INetRasConnectionIpUiInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUiInfo: GetUiInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1031,8 +1031,8 @@ impl IProvisioningDomain_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetManagement\"`, `\"implement\"`*"] @@ -1055,7 +1055,7 @@ impl IProvisioningProfileWireless_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProfile: CreateProfile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs index 8cf18a6c5a..226ee0f2c2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkDiagnosticsFramework/impl.rs @@ -15,8 +15,8 @@ impl INetDiagExtensibleHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveAttributes: ResolveAttributes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl INetDiagHelper_Vtbl { Cleanup: Cleanup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -214,8 +214,8 @@ impl INetDiagHelperEx_Vtbl { ReproduceFailure: ReproduceFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl INetDiagHelperInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAttributeInfo: GetAttributeInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkDiagnosticsFramework\"`, `\"implement\"`*"] @@ -250,7 +250,7 @@ impl INetDiagHelperUtilFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateUtilityInstance: CreateUtilityInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs index 73c78a199c..607be9cf3b 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/NetworkPolicyServer/impl.rs @@ -78,8 +78,8 @@ impl ISdo_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ISdoCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl ISdoDictionaryOld_Vtbl { GetAttributeID: GetAttributeID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -373,8 +373,8 @@ impl ISdoMachine_Vtbl { GetSDOSchema: GetSDOSchema::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl ISdoMachine2_Vtbl { Reload: Reload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl ISdoServiceControl_Vtbl { ResetService: ResetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_NetworkPolicyServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -520,7 +520,7 @@ impl ITemplateSdo_Vtbl { AddToSdoAsProperty: AddToSdoAsProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs index 4b8da0bc97..1b37996dc9 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WiFi/impl.rs @@ -95,8 +95,8 @@ impl IDot11AdHocInterface_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -113,8 +113,8 @@ impl IDot11AdHocInterfaceNotificationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionStatusChange: OnConnectionStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IDot11AdHocManager_Vtbl { GetNetwork: GetNetwork::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IDot11AdHocManagerNotificationSink_Vtbl { OnInterfaceRemove: OnInterfaceRemove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IDot11AdHocNetwork_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -384,8 +384,8 @@ impl IDot11AdHocNetworkNotificationSink_Vtbl { OnConnectFail: OnConnectFail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IDot11AdHocSecuritySettings_Vtbl { GetDot11CipherAlgorithm: GetDot11CipherAlgorithm::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -460,8 +460,8 @@ impl IEnumDot11AdHocInterfaces_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IEnumDot11AdHocNetworks_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WiFi\"`, `\"implement\"`*"] @@ -556,7 +556,7 @@ impl IEnumDot11AdHocSecuritySettings_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs index 588a640066..2592a95a16 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsConnectNow/impl.rs @@ -22,8 +22,8 @@ impl IWCNConnectNotify_Vtbl { ConnectFailed: ConnectFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsConnectNow\"`, `\"implement\"`*"] @@ -119,7 +119,7 @@ impl IWCNDevice_Vtbl { SetNFCPasswordParams: SetNFCPasswordParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs index 0778f7b475..6415cc9df2 100644 --- a/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/NetworkManagement/WindowsFirewall/impl.rs @@ -169,8 +169,8 @@ impl IDynamicPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -245,8 +245,8 @@ impl IDynamicPortMappingCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -293,8 +293,8 @@ impl IEnumNetConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl IEnumNetSharingEveryConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -395,8 +395,8 @@ impl IEnumNetSharingPortMapping_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl IEnumNetSharingPrivateConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -497,8 +497,8 @@ impl IEnumNetSharingPublicConnection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -528,8 +528,8 @@ impl INATEventManager_Vtbl { SetNumberOfEntriesCallback: SetNumberOfEntriesCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -546,8 +546,8 @@ impl INATExternalIPAddressCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewExternalIPAddress: NewExternalIPAddress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -564,8 +564,8 @@ impl INATNumberOfEntriesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NewNumberOfEntries: NewNumberOfEntries:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -645,8 +645,8 @@ impl INetConnection_Vtbl { Rename: Rename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl INetConnectionConnectUi_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl INetConnectionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumConnections: EnumConnections:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl INetConnectionProps_Vtbl { Characteristics: Characteristics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -939,8 +939,8 @@ impl INetFwAuthorizedApplication_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1009,8 +1009,8 @@ impl INetFwAuthorizedApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1226,8 +1226,8 @@ impl INetFwIcmpSettings_Vtbl { SetAllowOutboundPacketTooBig: SetAllowOutboundPacketTooBig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1290,8 +1290,8 @@ impl INetFwMgr_Vtbl { IsIcmpTypeAllowed: IsIcmpTypeAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1460,8 +1460,8 @@ impl INetFwOpenPort_Vtbl { BuiltIn: BuiltIn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl INetFwOpenPorts_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1573,8 +1573,8 @@ impl INetFwPolicy_Vtbl { GetProfileByType: GetProfileByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1822,8 +1822,8 @@ impl INetFwPolicy2_Vtbl { LocalPolicyModifyState: LocalPolicyModifyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1892,8 +1892,8 @@ impl INetFwProduct_Vtbl { PathToSignedProductExe: PathToSignedProductExe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl INetFwProducts_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2136,8 +2136,8 @@ impl INetFwProfile_Vtbl { AuthorizedApplications: AuthorizedApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2233,8 +2233,8 @@ impl INetFwRemoteAdminSettings_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2610,8 +2610,8 @@ impl INetFwRule_Vtbl { SetAction: SetAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2647,8 +2647,8 @@ impl INetFwRule2_Vtbl { SetEdgeTraversalOptions: SetEdgeTraversalOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2784,8 +2784,8 @@ impl INetFwRule3_Vtbl { SetSecureFlags: SetSecureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2854,8 +2854,8 @@ impl INetFwRules_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl INetFwService_Vtbl { GloballyOpenPorts: GloballyOpenPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3053,8 +3053,8 @@ impl INetFwServiceRestriction_Vtbl { Rules: Rules::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3109,8 +3109,8 @@ impl INetFwServices_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3226,8 +3226,8 @@ impl INetSharingConfiguration_Vtbl { RemovePortMapping: RemovePortMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3269,8 +3269,8 @@ impl INetSharingEveryConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3364,8 +3364,8 @@ impl INetSharingManager_Vtbl { get_NetConnectionProps: get_NetConnectionProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3415,8 +3415,8 @@ impl INetSharingPortMapping_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3458,8 +3458,8 @@ impl INetSharingPortMappingCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3579,8 +3579,8 @@ impl INetSharingPortMappingProps_Vtbl { Enabled: Enabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3622,8 +3622,8 @@ impl INetSharingPrivateConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3665,8 +3665,8 @@ impl INetSharingPublicConnectionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3801,8 +3801,8 @@ impl IStaticPortMapping_Vtbl { EditInternalPort: EditInternalPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3877,8 +3877,8 @@ impl IStaticPortMappingCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_NetworkManagement_WindowsFirewall\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3933,7 +3933,7 @@ impl IUPnPNAT_Vtbl { NATEventManager: NATEventManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs index 21f5e049a9..835ae57702 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/ActiveDirectory/impl.rs @@ -150,8 +150,8 @@ impl IADs_Vtbl { GetInfoEx: GetInfoEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl IADsADSystemInfo_Vtbl { GetTrees: GetTrees::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -487,8 +487,8 @@ impl IADsAccessControlEntry_Vtbl { SetTrustee: SetTrustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl IADsAccessControlList_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IADsAcl_Vtbl { CopyAcl: CopyAcl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -716,8 +716,8 @@ impl IADsAggregatee_Vtbl { RestoreInterface: RestoreInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -744,8 +744,8 @@ impl IADsAggregator_Vtbl { DisconnectAsAggregator: DisconnectAsAggregator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -801,8 +801,8 @@ impl IADsBackLink_Vtbl { SetObjectName: SetObjectName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -838,8 +838,8 @@ impl IADsCaseIgnoreList_Vtbl { SetCaseIgnoreList: SetCaseIgnoreList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1161,8 +1161,8 @@ impl IADsClass_Vtbl { Qualifiers: Qualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1218,8 +1218,8 @@ impl IADsCollection_Vtbl { GetObject: GetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1561,8 +1561,8 @@ impl IADsComputer_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1594,8 +1594,8 @@ impl IADsComputerOperations_Vtbl { } Self { base__: IADs_Vtbl::new::(), Status: Status::, Shutdown: Shutdown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1736,8 +1736,8 @@ impl IADsContainer_Vtbl { MoveHere: MoveHere::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1793,8 +1793,8 @@ impl IADsDNWithBinary_Vtbl { SetDNString: SetDNString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IADsDNWithString_Vtbl { SetDNString: SetDNString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1871,8 +1871,8 @@ impl IADsDeleteOps_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeleteObject: DeleteObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2061,8 +2061,8 @@ impl IADsDomain_Vtbl { SetLockoutObservationInterval: SetLockoutObservationInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IADsEmail_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IADsExtension_Vtbl { PrivateInvoke: PrivateInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2219,8 +2219,8 @@ impl IADsFaxNumber_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl IADsFileService_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2319,8 +2319,8 @@ impl IADsFileServiceOperations_Vtbl { Resources: Resources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2429,8 +2429,8 @@ impl IADsFileShare_Vtbl { SetMaxUserCount: SetMaxUserCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2506,8 +2506,8 @@ impl IADsGroup_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2563,8 +2563,8 @@ impl IADsHold_Vtbl { SetAmount: SetAmount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2620,8 +2620,8 @@ impl IADsLargeInteger_Vtbl { SetLowPart: SetLowPart::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2717,8 +2717,8 @@ impl IADsLocality_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2780,8 +2780,8 @@ impl IADsMembers_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2858,8 +2858,8 @@ impl IADsNameTranslate_Vtbl { GetEx: GetEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2895,8 +2895,8 @@ impl IADsNamespaces_Vtbl { SetDefaultContainer: SetDefaultContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2952,8 +2952,8 @@ impl IADsNetAddress_Vtbl { SetAddress: SetAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3089,8 +3089,8 @@ impl IADsO_Vtbl { SetSeeAlso: SetSeeAlso::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3246,8 +3246,8 @@ impl IADsOU_Vtbl { SetBusinessCategory: SetBusinessCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl IADsObjectOptions_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3320,8 +3320,8 @@ impl IADsOctetList_Vtbl { SetOctetList: SetOctetList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl IADsOpenDSObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), OpenDSObject: OpenDSObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3424,8 +3424,8 @@ impl IADsPath_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3554,8 +3554,8 @@ impl IADsPathname_Vtbl { SetEscapedMode: SetEscapedMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3591,8 +3591,8 @@ impl IADsPostalAddress_Vtbl { SetPostalAddress: SetPostalAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3806,8 +3806,8 @@ impl IADsPrintJob_Vtbl { SetNotifyPath: SetNotifyPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3896,8 +3896,8 @@ impl IADsPrintJobOperations_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4173,8 +4173,8 @@ impl IADsPrintQueue_Vtbl { SetNetAddresses: SetNetAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4237,8 +4237,8 @@ impl IADsPrintQueueOperations_Vtbl { Purge: Purge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IADsProperty_Vtbl { Qualifiers: Qualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4471,8 +4471,8 @@ impl IADsPropertyEntry_Vtbl { SetValues: SetValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4569,8 +4569,8 @@ impl IADsPropertyList_Vtbl { PurgePropertyList: PurgePropertyList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4833,8 +4833,8 @@ impl IADsPropertyValue_Vtbl { SetUTCTime: SetUTCTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl IADsPropertyValue2_Vtbl { PutObjectProperty: PutObjectProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4981,8 +4981,8 @@ impl IADsReplicaPointer_Vtbl { SetReplicaAddressHints: SetReplicaAddressHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5050,8 +5050,8 @@ impl IADsResource_Vtbl { LockCount: LockCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5280,8 +5280,8 @@ impl IADsSecurityDescriptor_Vtbl { CopySecurityDescriptor: CopySecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5350,8 +5350,8 @@ impl IADsSecurityUtility_Vtbl { SetSecurityMask: SetSecurityMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl IADsService_Vtbl { SetDependencies: SetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5672,8 +5672,8 @@ impl IADsServiceOperations_Vtbl { SetPassword: SetPassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5767,8 +5767,8 @@ impl IADsSession_Vtbl { IdleTime: IdleTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5804,8 +5804,8 @@ impl IADsSyntax_Vtbl { SetOleAutoDataType: SetOleAutoDataType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5861,8 +5861,8 @@ impl IADsTimestamp_Vtbl { SetEventID: SetEventID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5938,8 +5938,8 @@ impl IADsTypedName_Vtbl { SetInterval: SetInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6880,8 +6880,8 @@ impl IADsUser_Vtbl { ChangePassword: ChangePassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6949,8 +6949,8 @@ impl IADsWinNTSystemInfo_Vtbl { PDC: PDC::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -6970,8 +6970,8 @@ impl ICommonQuery_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenQueryWindow: OpenQueryWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7040,8 +7040,8 @@ impl IDirectoryObject_Vtbl { DeleteDSObject: DeleteDSObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7113,8 +7113,8 @@ impl IDirectorySchemaMgmt_Vtbl { DeleteClassDefinition: DeleteClassDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7206,8 +7206,8 @@ impl IDirectorySearch_Vtbl { CloseSearchHandle: CloseSearchHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7243,8 +7243,8 @@ impl IDsAdminCreateObj_Vtbl { CreateModal: CreateModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7274,8 +7274,8 @@ impl IDsAdminNewObj_Vtbl { GetPageCounts: GetPageCounts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7333,8 +7333,8 @@ impl IDsAdminNewObjExt_Vtbl { GetSummaryInfo: GetSummaryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -7361,8 +7361,8 @@ impl IDsAdminNewObjPrimarySite_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7406,8 +7406,8 @@ impl IDsAdminNotifyHandler_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7458,8 +7458,8 @@ impl IDsBrowseDomainTree_Vtbl { SetComputer: SetComputer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7552,8 +7552,8 @@ impl IDsDisplaySpecifier_Vtbl { GetAttributeADsType: GetAttributeADsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7589,8 +7589,8 @@ impl IDsObjectPicker_Vtbl { InvokeDialog: InvokeDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7610,8 +7610,8 @@ impl IDsObjectPickerCredentials_Vtbl { } Self { base__: IDsObjectPicker_Vtbl::new::(), SetCredentials: SetCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7676,8 +7676,8 @@ impl IPersistQuery_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7746,8 +7746,8 @@ impl IPrivateDispatch_Vtbl { ADSIInvoke: ADSIInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"implement\"`*"] @@ -7774,8 +7774,8 @@ impl IPrivateUnknown_Vtbl { ADSIReleaseObject: ADSIReleaseObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_ActiveDirectory\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7812,7 +7812,7 @@ impl IQueryForm_Vtbl { AddPages: AddPages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs index ae182aaf87..3256d6bdf8 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/BackgroundIntelligentTransferService/impl.rs @@ -50,8 +50,8 @@ impl AsyncIBackgroundCopyCallback_Vtbl { Finish_JobModification: Finish_JobModification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IBITSExtensionSetup_Vtbl { GetCleanupTask: GetCleanupTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl IBITSExtensionSetupFactory_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), GetObject: GetObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IBackgroundCopyCallback_Vtbl { JobModification: JobModification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -204,8 +204,8 @@ impl IBackgroundCopyCallback1_Vtbl { OnProgressEx: OnProgressEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IBackgroundCopyCallback2_Vtbl { } Self { base__: IBackgroundCopyCallback_Vtbl::new::(), FileTransferred: FileTransferred:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -240,8 +240,8 @@ impl IBackgroundCopyCallback3_Vtbl { } Self { base__: IBackgroundCopyCallback2_Vtbl::new::(), FileRangesTransferred: FileRangesTransferred:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -313,8 +313,8 @@ impl IBackgroundCopyError_Vtbl { GetProtocol: GetProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -363,8 +363,8 @@ impl IBackgroundCopyFile_Vtbl { GetProgress: GetProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -394,8 +394,8 @@ impl IBackgroundCopyFile2_Vtbl { SetRemoteName: SetRemoteName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -457,8 +457,8 @@ impl IBackgroundCopyFile3_Vtbl { IsDownloadedFromPeer: IsDownloadedFromPeer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl IBackgroundCopyFile4_Vtbl { } Self { base__: IBackgroundCopyFile3_Vtbl::new::(), GetPeerDownloadStats: GetPeerDownloadStats:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -515,8 +515,8 @@ impl IBackgroundCopyFile5_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IBackgroundCopyFile6_Vtbl { GetFilledFileRanges: GetFilledFileRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -723,8 +723,8 @@ impl IBackgroundCopyGroup_Vtbl { SetNotificationPointer: SetNotificationPointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IBackgroundCopyJob_Vtbl { TakeOwnership: TakeOwnership::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1142,8 +1142,8 @@ impl IBackgroundCopyJob1_Vtbl { JobID: JobID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1221,8 +1221,8 @@ impl IBackgroundCopyJob2_Vtbl { RemoveCredentials: RemoveCredentials::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1272,8 +1272,8 @@ impl IBackgroundCopyJob3_Vtbl { GetFileACLFlags: GetFileACLFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1355,8 +1355,8 @@ impl IBackgroundCopyJob4_Vtbl { GetMaximumDownloadTime: GetMaximumDownloadTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1392,8 +1392,8 @@ impl IBackgroundCopyJob5_Vtbl { GetProperty: GetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1474,8 +1474,8 @@ impl IBackgroundCopyJobHttpOptions_Vtbl { GetSecurityFlags: GetSecurityFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1508,8 +1508,8 @@ impl IBackgroundCopyJobHttpOptions2_Vtbl { GetHttpMethod: GetHttpMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1536,8 +1536,8 @@ impl IBackgroundCopyJobHttpOptions3_Vtbl { MakeCustomHeadersWriteOnly: MakeCustomHeadersWriteOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1596,8 +1596,8 @@ impl IBackgroundCopyManager_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1649,8 +1649,8 @@ impl IBackgroundCopyQMgr_Vtbl { EnumGroups: EnumGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IBackgroundCopyServerCertificateValidationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ValidateServerCertificate: ValidateServerCertificate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1723,8 +1723,8 @@ impl IBitsPeer_Vtbl { IsAvailable: IsAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -1871,8 +1871,8 @@ impl IBitsPeerCacheAdministration_Vtbl { DiscoverPeers: DiscoverPeers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1967,8 +1967,8 @@ impl IBitsPeerCacheRecord_Vtbl { GetFileRanges: GetFileRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2028,8 +2028,8 @@ impl IBitsTokenOptions_Vtbl { GetHelperTokenSid: GetHelperTokenSid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl IEnumBackgroundCopyFiles_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2150,8 +2150,8 @@ impl IEnumBackgroundCopyGroups_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2211,8 +2211,8 @@ impl IEnumBackgroundCopyJobs_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2272,8 +2272,8 @@ impl IEnumBackgroundCopyJobs1_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2333,8 +2333,8 @@ impl IEnumBitsPeerCacheRecords_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_BackgroundIntelligentTransferService\"`, `\"implement\"`*"] @@ -2394,7 +2394,7 @@ impl IEnumBitsPeers_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs index 6b1ba7d427..462f5c6a33 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/Clustering/impl.rs @@ -29,8 +29,8 @@ impl IGetClusterDataInfo_Vtbl { GetObjectCount: GetObjectCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -47,8 +47,8 @@ impl IGetClusterGroupInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetGroupHandle: GetGroupHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IGetClusterNetInterfaceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetInterfaceHandle: GetNetInterfaceHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IGetClusterNetworkInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNetworkHandle: GetNetworkHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -101,8 +101,8 @@ impl IGetClusterNodeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNodeHandle: GetNodeHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -129,8 +129,8 @@ impl IGetClusterObjectInfo_Vtbl { GetObjectType: GetObjectType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -167,8 +167,8 @@ impl IGetClusterResourceInfo_Vtbl { GetResourceNetworkName: GetResourceNetworkName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IGetClusterUIInfo_Vtbl { GetIcon: GetIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl ISClusApplication_Vtbl { OpenCluster: OpenCluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -345,8 +345,8 @@ impl ISClusCryptoKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -414,8 +414,8 @@ impl ISClusDisk_Vtbl { Partitions: Partitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -470,8 +470,8 @@ impl ISClusDisks_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl ISClusNetInterface_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -654,8 +654,8 @@ impl ISClusNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl ISClusNetwork_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -871,8 +871,8 @@ impl ISClusNetworkNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -934,8 +934,8 @@ impl ISClusNetworks_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl ISClusNode_Vtbl { NetInterfaces: NetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1178,8 +1178,8 @@ impl ISClusNodeNetInterfaces_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl ISClusNodes_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1349,8 +1349,8 @@ impl ISClusPartition_Vtbl { FileSystem: FileSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1431,8 +1431,8 @@ impl ISClusPartitionEx_Vtbl { VolumeGuid: VolumeGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl ISClusPartitions_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1635,8 +1635,8 @@ impl ISClusProperties_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1823,8 +1823,8 @@ impl ISClusProperty_Vtbl { UseDefaultValue: UseDefaultValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1939,8 +1939,8 @@ impl ISClusPropertyValue_Vtbl { Data: Data::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2015,8 +2015,8 @@ impl ISClusPropertyValueData_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2091,8 +2091,8 @@ impl ISClusPropertyValues_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl ISClusRefObject_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Handle: Handle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2195,8 +2195,8 @@ impl ISClusRegistryKeys_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl ISClusResDependencies_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl ISClusResDependents_Vtbl { RemoveItem: RemoveItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2602,8 +2602,8 @@ impl ISClusResGroup_Vtbl { Cluster: Cluster::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2706,8 +2706,8 @@ impl ISClusResGroupPreferredOwnerNodes_Vtbl { AddItem: AddItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2789,8 +2789,8 @@ impl ISClusResGroupResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2872,8 +2872,8 @@ impl ISClusResGroups_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2962,8 +2962,8 @@ impl ISClusResPossibleOwnerNodes_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3103,8 +3103,8 @@ impl ISClusResType_Vtbl { AvailableDisks: AvailableDisks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3166,8 +3166,8 @@ impl ISClusResTypePossibleOwnerNodes_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3249,8 +3249,8 @@ impl ISClusResTypeResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3332,8 +3332,8 @@ impl ISClusResTypes_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3717,8 +3717,8 @@ impl ISClusResource_Vtbl { SetMaintenanceMode: SetMaintenanceMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl ISClusResources_Vtbl { DeleteItem: DeleteItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3869,8 +3869,8 @@ impl ISClusScsiAddress_Vtbl { Lun: Lun::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4016,8 +4016,8 @@ impl ISClusVersion_Vtbl { MixedVersion: MixedVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4276,8 +4276,8 @@ impl ISCluster_Vtbl { NetInterfaces: NetInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ISClusterNames_Vtbl { DomainName: DomainName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl ISDomainNames_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4433,8 +4433,8 @@ impl IWCContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddExtensionMenuItem: AddExtensionMenuItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl IWCPropertySheetCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertySheetPage: AddPropertySheetPage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4482,8 +4482,8 @@ impl IWCWizard97Callback_Vtbl { EnableNext: EnableNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4513,8 +4513,8 @@ impl IWCWizardCallback_Vtbl { EnableNext: EnableNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4531,8 +4531,8 @@ impl IWEExtendContextMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddContextMenuItems: AddContextMenuItems:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4549,8 +4549,8 @@ impl IWEExtendPropertySheet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePropertySheetPages: CreatePropertySheetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4567,8 +4567,8 @@ impl IWEExtendWizard_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizardPages: CreateWizardPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4585,8 +4585,8 @@ impl IWEExtendWizard97_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateWizard97Pages: CreateWizard97Pages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_Clustering\"`, `\"implement\"`*"] @@ -4603,7 +4603,7 @@ impl IWEInvokeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeCommand: InvokeCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs index 7c18aa4243..1b1ba9c180 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/NetworkListManager/impl.rs @@ -58,8 +58,8 @@ impl IEnumNetworkConnections_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl IEnumNetworks_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl INetwork_Vtbl { SetCategory: SetCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl INetwork2_Vtbl { } Self { base__: INetwork_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl INetworkConnection_Vtbl { GetDomainType: GetDomainType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -446,8 +446,8 @@ impl INetworkConnection2_Vtbl { } Self { base__: INetworkConnection_Vtbl::new::(), IsDomainAuthenticatedBy: IsDomainAuthenticatedBy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -483,8 +483,8 @@ impl INetworkConnectionCost_Vtbl { GetDataPlanStatus: GetDataPlanStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -511,8 +511,8 @@ impl INetworkConnectionCostEvents_Vtbl { ConnectionDataPlanStatusChanged: ConnectionDataPlanStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl INetworkConnectionEvents_Vtbl { NetworkConnectionPropertyChanged: NetworkConnectionPropertyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl INetworkCostManager_Vtbl { SetDestinationAddresses: SetDestinationAddresses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl INetworkCostManagerEvents_Vtbl { DataPlanStatusChanged: DataPlanStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -647,8 +647,8 @@ impl INetworkEvents_Vtbl { NetworkPropertyChanged: NetworkPropertyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -769,8 +769,8 @@ impl INetworkListManager_Vtbl { ClearSimulatedProfileInfo: ClearSimulatedProfileInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_NetworkListManager\"`, `\"implement\"`*"] @@ -787,7 +787,7 @@ impl INetworkListManagerEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectivityChanged: ConnectivityChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs index 435852b5c3..f76efe86af 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/RemoteDifferentialCompression/impl.rs @@ -28,8 +28,8 @@ impl IFindSimilarResults_Vtbl { GetNextFileId: GetNextFileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -49,8 +49,8 @@ impl IRdcComparator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Process: Process:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IRdcFileReader_Vtbl { GetFilePosition: GetFilePosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -143,8 +143,8 @@ impl IRdcFileWriter_Vtbl { DeleteOnClose: DeleteOnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -180,8 +180,8 @@ impl IRdcGenerator_Vtbl { Process: Process::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -234,8 +234,8 @@ impl IRdcGeneratorFilterMaxParameters_Vtbl { SetHashWindowSize: SetHashWindowSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IRdcGeneratorParameters_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl IRdcLibrary_Vtbl { GetRDCVersion: GetRDCVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IRdcSignatureReader_Vtbl { ReadSignatures: ReadSignatures::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IRdcSimilarityGenerator_Vtbl { Results: Results::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -548,8 +548,8 @@ impl ISimilarity_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -638,8 +638,8 @@ impl ISimilarityFileIdTable_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -656,8 +656,8 @@ impl ISimilarityReportProgress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportProgress: ReportProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -677,8 +677,8 @@ impl ISimilarityTableDumpState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextData: GetNextData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -728,8 +728,8 @@ impl ISimilarityTraitsMappedView_Vtbl { GetView: GetView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"implement\"`*"] @@ -815,8 +815,8 @@ impl ISimilarityTraitsMapping_Vtbl { CreateView: CreateView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_RemoteDifferentialCompression\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -905,7 +905,7 @@ impl ISimilarityTraitsTable_Vtbl { GetLastIndex: GetLastIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs index 90fb32f5c2..116db8e7c6 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WinInet/impl.rs @@ -31,8 +31,8 @@ impl IDialBranding_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -106,8 +106,8 @@ impl IDialEngine_Vtbl { GetConnectHandle: GetConnectHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl IDialEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IProofOfPossessionCookieInfoManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCookieInfoForUri: GetCookieInfoForUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Networking_WinInet\"`, `\"implement\"`*"] @@ -163,7 +163,7 @@ impl IProofOfPossessionCookieInfoManager2_Vtbl { GetCookieInfoWithUriForAccount: GetCookieInfoWithUriForAccount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs index 3ef4af8c95..ddb3d462b9 100644 --- a/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Networking/WindowsWebServices/impl.rs @@ -28,7 +28,7 @@ impl IContentPrefetcherTaskTrigger_Vtbl { IsRegisteredForContentPrefetch: IsRegisteredForContentPrefetch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs index 8baef721ed..c549a5e0ef 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/Provider/impl.rs @@ -59,8 +59,8 @@ impl AsyncIAssociatedIdentityProvider_Vtbl { Finish_ChangeCredential: Finish_ChangeCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl AsyncIConnectedIdentityProvider_Vtbl { Finish_GetAccountState: Finish_GetAccountState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -186,8 +186,8 @@ impl AsyncIIdentityAdvise_Vtbl { Finish_IdentityUpdated: Finish_IdentityUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl AsyncIIdentityAuthentication_Vtbl { Finish_ValidateIdentityCredential: Finish_ValidateIdentityCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -390,8 +390,8 @@ impl AsyncIIdentityProvider_Vtbl { Finish_UnAdvise: Finish_UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -503,8 +503,8 @@ impl AsyncIIdentityStore_Vtbl { Finish_Reset: Finish_Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -545,8 +545,8 @@ impl AsyncIIdentityStoreEx_Vtbl { Finish_DeleteConnectedIdentity: Finish_DeleteConnectedIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IAssociatedIdentityProvider_Vtbl { ChangeCredential: ChangeCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IConnectedIdentityProvider_Vtbl { GetAccountState: GetAccountState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IIdentityAdvise_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IdentityUpdated: IdentityUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -702,8 +702,8 @@ impl IIdentityAuthentication_Vtbl { ValidateIdentityCredential: ValidateIdentityCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -799,8 +799,8 @@ impl IIdentityProvider_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -870,8 +870,8 @@ impl IIdentityStore_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authentication_Identity_Provider\"`, `\"implement\"`*"] @@ -898,7 +898,7 @@ impl IIdentityStoreEx_Vtbl { DeleteConnectedIdentity: DeleteConnectedIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs index 1133ca4438..5d57ccd1a5 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authentication/Identity/impl.rs @@ -12,7 +12,7 @@ impl ICcgDomainAuthCredentials_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPasswordCredentials: GetPasswordCredentials:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs index aea0de20d9..d61461d36e 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/UI/impl.rs @@ -15,8 +15,8 @@ impl IEffectivePermission_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEffectivePermission: GetEffectivePermission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IEffectivePermission2_Vtbl { ComputeEffectivePermissionWithSecondarySecurity: ComputeEffectivePermissionWithSecondarySecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -153,8 +153,8 @@ impl ISecurityInformation_Vtbl { PropertySheetPageCallback: PropertySheetPageCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl ISecurityInformation2_Vtbl { LookupSids: LookupSids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -227,8 +227,8 @@ impl ISecurityInformation3_Vtbl { OpenElevatedEditor: OpenElevatedEditor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl ISecurityInformation4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSecondarySecurity: GetSecondarySecurity:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization_UI\"`, `\"implement\"`*"] @@ -266,7 +266,7 @@ impl ISecurityObjectTypeInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInheritSource: GetInheritSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs index 605c701605..c6829843a7 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Authorization/impl.rs @@ -636,8 +636,8 @@ impl IAzApplication_Vtbl { DeleteDelegatedPolicyUserName: DeleteDelegatedPolicyUserName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -679,8 +679,8 @@ impl IAzApplication2_Vtbl { InitializeClientContext2: InitializeClientContext2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -854,8 +854,8 @@ impl IAzApplication3_Vtbl { SetBizRulesEnabled: SetBizRulesEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1167,8 +1167,8 @@ impl IAzApplicationGroup_Vtbl { NonMembersName: NonMembersName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1257,8 +1257,8 @@ impl IAzApplicationGroup2_Vtbl { RoleAssignments: RoleAssignments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IAzApplicationGroups_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1369,8 +1369,8 @@ impl IAzApplications_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1875,8 +1875,8 @@ impl IAzAuthorizationStore_Vtbl { CloseApplication: CloseApplication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1918,8 +1918,8 @@ impl IAzAuthorizationStore2_Vtbl { CreateApplication2: CreateApplication2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1988,8 +1988,8 @@ impl IAzAuthorizationStore3_Vtbl { GetSchemaVersion: GetSchemaVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl IAzBizRuleContext_Vtbl { GetParameter: GetParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2110,8 +2110,8 @@ impl IAzBizRuleInterfaces_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2181,8 +2181,8 @@ impl IAzBizRuleParameters_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2361,8 +2361,8 @@ impl IAzClientContext_Vtbl { SetRoleForAccessCheck: SetRoleForAccessCheck::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2426,8 +2426,8 @@ impl IAzClientContext2_Vtbl { LDAPQueryDN: LDAPQueryDN::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IAzClientContext3_Vtbl { Sids: Sids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2578,8 +2578,8 @@ impl IAzNameResolver_Vtbl { NamesFromSids: NamesFromSids::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2615,8 +2615,8 @@ impl IAzObjectPicker_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2752,8 +2752,8 @@ impl IAzOperation_Vtbl { Submit: Submit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2779,8 +2779,8 @@ impl IAzOperation2_Vtbl { } Self { base__: IAzOperation_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2835,8 +2835,8 @@ impl IAzOperations_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2878,8 +2878,8 @@ impl IAzPrincipalLocator_Vtbl { ObjectPicker: ObjectPicker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3144,8 +3144,8 @@ impl IAzRole_Vtbl { MembersName: MembersName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3201,8 +3201,8 @@ impl IAzRoleAssignment_Vtbl { Scope: Scope::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3257,8 +3257,8 @@ impl IAzRoleAssignments_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3314,8 +3314,8 @@ impl IAzRoleDefinition_Vtbl { RoleDefinitions: RoleDefinitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3370,8 +3370,8 @@ impl IAzRoleDefinitions_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3426,8 +3426,8 @@ impl IAzRoles_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3829,8 +3829,8 @@ impl IAzScope_Vtbl { DeletePolicyReaderName: DeletePolicyReaderName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3938,8 +3938,8 @@ impl IAzScope2_Vtbl { DeleteRoleAssignment: DeleteRoleAssignment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3994,8 +3994,8 @@ impl IAzScopes_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4259,8 +4259,8 @@ impl IAzTask_Vtbl { Submit: Submit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4286,8 +4286,8 @@ impl IAzTask2_Vtbl { } Self { base__: IAzTask_Vtbl::new::(), RoleAssignments: RoleAssignments:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Authorization\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4342,7 +4342,7 @@ impl IAzTasks_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs index 1c89b8423c..9916425795 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ConfigurationSnapin/impl.rs @@ -36,8 +36,8 @@ impl ISceSvcAttachmentData_Vtbl { CloseHandle: CloseHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ConfigurationSnapin\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -74,7 +74,7 @@ impl ISceSvcAttachmentPersistInfo_Vtbl { FreeBuffer: FreeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs index c5b8086493..e4fe0906d0 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/Certificates/impl.rs @@ -84,8 +84,8 @@ impl IAlternativeName_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IAlternativeNames_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -217,8 +217,8 @@ impl IBinaryConverter_Vtbl { StringToVariantByteArray: StringToVariantByteArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -260,8 +260,8 @@ impl IBinaryConverter2_Vtbl { VariantArrayToStringArray: VariantArrayToStringArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl ICEnroll_Vtbl { SetHashAlgorithm: SetHashAlgorithm::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -908,8 +908,8 @@ impl ICEnroll2_Vtbl { SetEnableT61DNEncoding: SetEnableT61DNEncoding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1071,8 +1071,8 @@ impl ICEnroll3_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1403,8 +1403,8 @@ impl ICEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1520,8 +1520,8 @@ impl ICertAdmin_Vtbl { ImportCertificate: ImportCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl ICertAdmin2_Vtbl { DeleteRow: DeleteRow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1725,8 +1725,8 @@ impl ICertConfig_Vtbl { GetConfig: GetConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1746,8 +1746,8 @@ impl ICertConfig2_Vtbl { } Self { base__: ICertConfig_Vtbl::new::(), SetSharedFolder: SetSharedFolder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1836,8 +1836,8 @@ impl ICertEncodeAltName_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1893,8 +1893,8 @@ impl ICertEncodeAltName2_Vtbl { SetNameEntryBlob: SetNameEntryBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1956,8 +1956,8 @@ impl ICertEncodeBitString_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2006,8 +2006,8 @@ impl ICertEncodeBitString2_Vtbl { GetBitStringBlob: GetBitStringBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2116,8 +2116,8 @@ impl ICertEncodeCRLDistInfo_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2153,8 +2153,8 @@ impl ICertEncodeCRLDistInfo2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2230,8 +2230,8 @@ impl ICertEncodeDateArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2267,8 +2267,8 @@ impl ICertEncodeDateArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2344,8 +2344,8 @@ impl ICertEncodeLongArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2381,8 +2381,8 @@ impl ICertEncodeLongArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2471,8 +2471,8 @@ impl ICertEncodeStringArray_Vtbl { Encode: Encode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2508,8 +2508,8 @@ impl ICertEncodeStringArray2_Vtbl { EncodeBlob: EncodeBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl ICertExit_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2585,8 +2585,8 @@ impl ICertExit2_Vtbl { } Self { base__: ICertExit_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2612,8 +2612,8 @@ impl ICertGetConfig_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), GetConfig: GetConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl ICertManageModule_Vtbl { Configure: Configure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2713,8 +2713,8 @@ impl ICertPolicy_Vtbl { ShutDown: ShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2740,8 +2740,8 @@ impl ICertPolicy2_Vtbl { } Self { base__: ICertPolicy_Vtbl::new::(), GetManageModule: GetManageModule:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2824,8 +2824,8 @@ impl ICertProperties_Vtbl { InitializeFromCertificate: InitializeFromCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2902,8 +2902,8 @@ impl ICertProperty_Vtbl { SetValueOnCertificate: SetValueOnCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2939,8 +2939,8 @@ impl ICertPropertyArchived_Vtbl { Archived: Archived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2976,8 +2976,8 @@ impl ICertPropertyArchivedKeyHash_Vtbl { get_ArchivedKeyHash: get_ArchivedKeyHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3013,8 +3013,8 @@ impl ICertPropertyAutoEnroll_Vtbl { TemplateName: TemplateName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3070,8 +3070,8 @@ impl ICertPropertyBackedUp_Vtbl { BackedUpTime: BackedUpTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl ICertPropertyDescription_Vtbl { Description: Description::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3183,8 +3183,8 @@ impl ICertPropertyEnrollment_Vtbl { FriendlyName: FriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3311,8 +3311,8 @@ impl ICertPropertyEnrollmentPolicyServer_Vtbl { GetEnrollmentServerAuthentication: GetEnrollmentServerAuthentication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3348,8 +3348,8 @@ impl ICertPropertyFriendlyName_Vtbl { FriendlyName: FriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3385,8 +3385,8 @@ impl ICertPropertyKeyProvInfo_Vtbl { PrivateKey: PrivateKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3429,8 +3429,8 @@ impl ICertPropertyRenewal_Vtbl { get_Renewal: get_Renewal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3473,8 +3473,8 @@ impl ICertPropertyRequestOriginator_Vtbl { RequestOriginator: RequestOriginator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3510,8 +3510,8 @@ impl ICertPropertySHA1Hash_Vtbl { get_SHA1Hash: get_SHA1Hash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl ICertRequest_Vtbl { GetCertificate: GetCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3713,8 +3713,8 @@ impl ICertRequest2_Vtbl { GetFullResponseProperty: GetFullResponseProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3776,8 +3776,8 @@ impl ICertRequest3_Vtbl { GetRefreshPolicy: GetRefreshPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -3817,8 +3817,8 @@ impl ICertRequestD_Vtbl { Ping: Ping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"implement\"`*"] @@ -3865,8 +3865,8 @@ impl ICertRequestD2_Vtbl { Ping2: Ping2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4008,8 +4008,8 @@ impl ICertServerExit_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4165,8 +4165,8 @@ impl ICertServerPolicy_Vtbl { EnumerateAttributesClose: EnumerateAttributesClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4250,8 +4250,8 @@ impl ICertView_Vtbl { OpenView: OpenView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4271,8 +4271,8 @@ impl ICertView2_Vtbl { } Self { base__: ICertView_Vtbl::new::(), SetTable: SetTable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4321,8 +4321,8 @@ impl ICertificateAttestationChallenge_Vtbl { RequestID: RequestID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ICertificateAttestationChallenge2_Vtbl { put_KeyBlob: put_KeyBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4429,8 +4429,8 @@ impl ICertificatePolicies_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl ICertificatePolicy_Vtbl { PolicyQualifiers: PolicyQualifiers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4576,8 +4576,8 @@ impl ICertificationAuthorities_Vtbl { get_ItemByName: get_ItemByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4603,8 +4603,8 @@ impl ICertificationAuthority_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4660,8 +4660,8 @@ impl ICryptAttribute_Vtbl { Values: Values::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4757,8 +4757,8 @@ impl ICryptAttributes_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4904,8 +4904,8 @@ impl ICspAlgorithm_Vtbl { Operations: Operations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5007,8 +5007,8 @@ impl ICspAlgorithms_Vtbl { get_IndexByObjectId: get_IndexByObjectId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5233,8 +5233,8 @@ impl ICspInformation_Vtbl { GetCspStatusFromOperations: GetCspStatusFromOperations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5382,8 +5382,8 @@ impl ICspInformations_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5478,8 +5478,8 @@ impl ICspStatus_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl ICspStatuses_Vtbl { get_ItemByProvider: get_ItemByProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6114,8 +6114,8 @@ impl IEnroll_Vtbl { CreatePKCS7RequestFromRequest: CreatePKCS7RequestFromRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6257,8 +6257,8 @@ impl IEnroll2_Vtbl { EnableSMIMECapabilities: EnableSMIMECapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6498,8 +6498,8 @@ impl IEnroll4_Vtbl { IncludeSubjectKeyID: IncludeSubjectKeyID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6563,8 +6563,8 @@ impl IEnumCERTVIEWATTRIBUTE_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6656,8 +6656,8 @@ impl IEnumCERTVIEWCOLUMN_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6728,8 +6728,8 @@ impl IEnumCERTVIEWEXTENSION_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6825,8 +6825,8 @@ impl IEnumCERTVIEWROW_Vtbl { GetMaxIndex: GetMaxIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6883,8 +6883,8 @@ impl INDESPolicy_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7006,8 +7006,8 @@ impl IOCSPAdmin_Vtbl { GetHashAlgorithms: GetHashAlgorithms::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7281,8 +7281,8 @@ impl IOCSPCAConfiguration_Vtbl { SetCAConfig: SetCAConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7370,8 +7370,8 @@ impl IOCSPCAConfigurationCollection_Vtbl { DeleteCAConfiguration: DeleteCAConfiguration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7433,8 +7433,8 @@ impl IOCSPProperty_Vtbl { Modified: Modified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7542,8 +7542,8 @@ impl IOCSPPropertyCollection_Vtbl { GetAllProperties: GetAllProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7639,8 +7639,8 @@ impl IObjectId_Vtbl { GetAlgorithmName: GetAlgorithmName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7723,8 +7723,8 @@ impl IObjectIds_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7799,8 +7799,8 @@ impl IPolicyQualifier_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7876,8 +7876,8 @@ impl IPolicyQualifiers_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8006,8 +8006,8 @@ impl ISignerCertificate_Vtbl { SignatureInformation: SignatureInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl ISignerCertificates_Vtbl { Find: Find::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8187,8 +8187,8 @@ impl ISmimeCapabilities_Vtbl { AddAvailableSmimeCapabilities: AddAvailableSmimeCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8237,8 +8237,8 @@ impl ISmimeCapability_Vtbl { BitCount: BitCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8294,8 +8294,8 @@ impl IX500DistinguishedName_Vtbl { get_EncodedName: get_EncodedName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8344,8 +8344,8 @@ impl IX509Attribute_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8414,8 +8414,8 @@ impl IX509AttributeArchiveKey_Vtbl { EncryptionStrength: EncryptionStrength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8458,8 +8458,8 @@ impl IX509AttributeArchiveKeyHash_Vtbl { get_EncryptedKeyHashBlob: get_EncryptedKeyHashBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8541,8 +8541,8 @@ impl IX509AttributeClientId_Vtbl { ProcessName: ProcessName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8611,8 +8611,8 @@ impl IX509AttributeCspProvider_Vtbl { get_Signature: get_Signature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8655,8 +8655,8 @@ impl IX509AttributeExtensions_Vtbl { X509Extensions: X509Extensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8699,8 +8699,8 @@ impl IX509AttributeOSVersion_Vtbl { OSVersion: OSVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8743,8 +8743,8 @@ impl IX509AttributeRenewalCertificate_Vtbl { get_RenewalCertificate: get_RenewalCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8820,8 +8820,8 @@ impl IX509Attributes_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9090,8 +9090,8 @@ impl IX509CertificateRequest_Vtbl { get_RawData: get_RawData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9214,8 +9214,8 @@ impl IX509CertificateRequestCertificate_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9271,8 +9271,8 @@ impl IX509CertificateRequestCertificate2_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9545,8 +9545,8 @@ impl IX509CertificateRequestCmc_Vtbl { SignerCertificates: SignerCertificates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9616,8 +9616,8 @@ impl IX509CertificateRequestCmc2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9943,8 +9943,8 @@ impl IX509CertificateRequestPkcs10_Vtbl { GetCspStatuses: GetCspStatuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10007,8 +10007,8 @@ impl IX509CertificateRequestPkcs10V2_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10137,8 +10137,8 @@ impl IX509CertificateRequestPkcs10V3_Vtbl { NameValuePairs: NameValuePairs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10194,8 +10194,8 @@ impl IX509CertificateRequestPkcs10V4_Vtbl { SetAttestPrivateKeyPreferred: SetAttestPrivateKeyPreferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10279,8 +10279,8 @@ impl IX509CertificateRequestPkcs7_Vtbl { SetSignerCertificate: SetSignerCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10336,8 +10336,8 @@ impl IX509CertificateRequestPkcs7V2_Vtbl { CheckCertificateSignature: CheckCertificateSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10672,8 +10672,8 @@ impl IX509CertificateRevocationList_Vtbl { get_Signature: get_Signature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10769,8 +10769,8 @@ impl IX509CertificateRevocationListEntries_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10865,8 +10865,8 @@ impl IX509CertificateRevocationListEntry_Vtbl { CriticalExtensions: CriticalExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10892,8 +10892,8 @@ impl IX509CertificateTemplate_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), get_Property: get_Property:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10956,8 +10956,8 @@ impl IX509CertificateTemplateWritable_Vtbl { Template: Template::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11059,8 +11059,8 @@ impl IX509CertificateTemplates_Vtbl { get_ItemByOid: get_ItemByOid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11189,8 +11189,8 @@ impl IX509EndorsementKey_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11451,8 +11451,8 @@ impl IX509Enrollment_Vtbl { CAConfigString: CAConfigString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11521,8 +11521,8 @@ impl IX509Enrollment2_Vtbl { RequestIdString: RequestIdString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11572,8 +11572,8 @@ impl IX509EnrollmentHelper_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11865,8 +11865,8 @@ impl IX509EnrollmentPolicyServer_Vtbl { SetCost: SetCost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12002,8 +12002,8 @@ impl IX509EnrollmentStatus_Vtbl { ErrorText: ErrorText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12029,8 +12029,8 @@ impl IX509EnrollmentWebClassFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12099,8 +12099,8 @@ impl IX509Extension_Vtbl { SetCritical: SetCritical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12143,8 +12143,8 @@ impl IX509ExtensionAlternativeNames_Vtbl { AlternativeNames: AlternativeNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12187,8 +12187,8 @@ impl IX509ExtensionAuthorityKeyIdentifier_Vtbl { get_AuthorityKeyIdentifier: get_AuthorityKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12244,8 +12244,8 @@ impl IX509ExtensionBasicConstraints_Vtbl { PathLenConstraint: PathLenConstraint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12288,8 +12288,8 @@ impl IX509ExtensionCertificatePolicies_Vtbl { Policies: Policies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12332,8 +12332,8 @@ impl IX509ExtensionEnhancedKeyUsage_Vtbl { EnhancedKeyUsage: EnhancedKeyUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12376,8 +12376,8 @@ impl IX509ExtensionKeyUsage_Vtbl { KeyUsage: KeyUsage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12420,8 +12420,8 @@ impl IX509ExtensionMSApplicationPolicies_Vtbl { Policies: Policies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12464,8 +12464,8 @@ impl IX509ExtensionSmimeCapabilities_Vtbl { SmimeCapabilities: SmimeCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12508,8 +12508,8 @@ impl IX509ExtensionSubjectKeyIdentifier_Vtbl { get_SubjectKeyIdentifier: get_SubjectKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12578,8 +12578,8 @@ impl IX509ExtensionTemplate_Vtbl { MinorVersion: MinorVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12622,8 +12622,8 @@ impl IX509ExtensionTemplateName_Vtbl { TemplateName: TemplateName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12719,8 +12719,8 @@ impl IX509Extensions_Vtbl { AddRange: AddRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12746,8 +12746,8 @@ impl IX509MachineEnrollmentFactory_Vtbl { } Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12796,8 +12796,8 @@ impl IX509NameValuePair_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12873,8 +12873,8 @@ impl IX509NameValuePairs_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -12957,8 +12957,8 @@ impl IX509PolicyServerListManager_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13115,8 +13115,8 @@ impl IX509PolicyServerUrl_Vtbl { RemoveFromRegistry: RemoveFromRegistry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13706,8 +13706,8 @@ impl IX509PrivateKey_Vtbl { SetDescription: SetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13823,8 +13823,8 @@ impl IX509PrivateKey2_Vtbl { SetParametersExportType: SetParametersExportType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13919,8 +13919,8 @@ impl IX509PublicKey_Vtbl { ComputeKeyIdentifier: ComputeKeyIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14168,8 +14168,8 @@ impl IX509SCEPEnrollment_Vtbl { DeleteRequest: DeleteRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14257,8 +14257,8 @@ impl IX509SCEPEnrollment2_Vtbl { SetActivityId: SetActivityId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14340,8 +14340,8 @@ impl IX509SCEPEnrollmentHelper_Vtbl { ResultMessageText: ResultMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography_Certificates\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14490,7 +14490,7 @@ impl IX509SignatureInformation_Vtbl { SetDefaultValues: SetDefaultValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs index da18d37789..f595389182 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Cryptography/impl.rs @@ -217,8 +217,8 @@ impl ICertSrvSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl ICertSrvSetupKeyInformation_Vtbl { SetExistingCACertificate: SetExistingCACertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl ICertSrvSetupKeyInformationCollection_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -488,8 +488,8 @@ impl ICertificateEnrollmentPolicyServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -566,8 +566,8 @@ impl ICertificateEnrollmentServerSetup_Vtbl { UnInstall: UnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Cryptography\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -703,7 +703,7 @@ impl IMSCEPSetup_Vtbl { PostUnInstall: PostUnInstall::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs index a1a3508bf9..7c77231cbd 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/EnterpriseData/impl.rs @@ -25,8 +25,8 @@ impl IProtectionPolicyManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl IProtectionPolicyManagerInterop2_Vtbl { RequestAccessForAppWithMessageForWindowAsync: RequestAccessForAppWithMessageForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_EnterpriseData\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -136,7 +136,7 @@ impl IProtectionPolicyManagerInterop3_Vtbl { RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync: RequestAccessToFilesForProcessWithMessageAndBehaviorForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs index c0aceccfb0..c2e71c57f6 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/ExtensibleAuthenticationProtocol/impl.rs @@ -52,8 +52,8 @@ impl IAccountingProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl IAuthenticationProviderConfig_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -169,8 +169,8 @@ impl IEAPProviderConfig_Vtbl { RouterInvokeCredentialsUI: RouterInvokeCredentialsUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IEAPProviderConfig2_Vtbl { GetGlobalConfig: GetGlobalConfig::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IEAPProviderConfig3_Vtbl { ServerInvokeCertificateConfigUI: ServerInvokeCertificateConfigUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_ExtensibleAuthenticationProtocol\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -255,7 +255,7 @@ impl IRouterProtocolConfig_Vtbl { RemoveProtocol: RemoveProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs index 099a56f2ed..d409fbc5a4 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Isolation/impl.rs @@ -15,7 +15,7 @@ impl IIsolatedAppLauncher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Launch: Launch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs index 607ff46756..c9f8821854 100644 --- a/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Security/Tpm/impl.rs @@ -47,8 +47,8 @@ impl ITpmVirtualSmartCardManager_Vtbl { DestroyVirtualSmartCard: DestroyVirtualSmartCard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl ITpmVirtualSmartCardManager2_Vtbl { CreateVirtualSmartCardWithPinPolicy: CreateVirtualSmartCardWithPinPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -135,8 +135,8 @@ impl ITpmVirtualSmartCardManager3_Vtbl { CreateVirtualSmartCardWithAttestation: CreateVirtualSmartCardWithAttestation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Security_Tpm\"`, `\"implement\"`*"] @@ -163,7 +163,7 @@ impl ITpmVirtualSmartCardManagerStatusCallback_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs index 6d8523a40c..99fe3b80ce 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/DataDeduplication/impl.rs @@ -12,8 +12,8 @@ impl IDedupBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RestoreFiles: RestoreFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IDedupChunkLibrary_Vtbl { StartChunking: StartChunking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IDedupDataPort_Vtbl { GetRequestResults: GetRequestResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IDedupDataPortManager_Vtbl { GetVolumeDataPort: GetVolumeDataPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IDedupIterateChunksHash32_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_DataDeduplication\"`, `\"implement\"`*"] @@ -336,7 +336,7 @@ impl IDedupReadFileCallback_Vtbl { PreviewContainerRead: PreviewContainerRead::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs index 4bedf25426..aabef152a2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/EnhancedStorage/impl.rs @@ -68,8 +68,8 @@ impl IEnhancedStorageACT_Vtbl { GetSilos: GetSilos::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -111,8 +111,8 @@ impl IEnhancedStorageACT2_Vtbl { IsDeviceRemovable: IsDeviceRemovable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -161,8 +161,8 @@ impl IEnhancedStorageACT3_Vtbl { GetShellExtSupport: GetShellExtSupport::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"Win32_Devices_PortableDevices\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IEnhancedStorageSilo_Vtbl { GetDevicePath: GetDevicePath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"implement\"`*"] @@ -278,8 +278,8 @@ impl IEnhancedStorageSiloAction_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_EnhancedStorage\"`, `\"implement\"`*"] @@ -312,7 +312,7 @@ impl IEnumEnhancedStorageACT_Vtbl { GetMatchingACT: GetMatchingACT::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs index 9466943634..ab6dbe2ae1 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileHistory/impl.rs @@ -139,8 +139,8 @@ impl IFhConfigMgr_Vtbl { QueryProtectionStatus: QueryProtectionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IFhReassociation_Vtbl { PerformReassociation: PerformReassociation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IFhScopeIterator_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileHistory\"`, `\"implement\"`*"] @@ -271,7 +271,7 @@ impl IFhTarget_Vtbl { GetNumericalProperty: GetNumericalProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs index 79525a5dc1..7ba0faf059 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileServerResourceManager/impl.rs @@ -8,8 +8,8 @@ impl DIFsrmClassificationEvents_Vtbl { pub const fn new, Impl: DIFsrmClassificationEvents_Impl, const OFFSET: isize>() -> DIFsrmClassificationEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -35,8 +35,8 @@ impl IFsrmAccessDeniedRemediationClient_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -105,8 +105,8 @@ impl IFsrmAction_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -262,8 +262,8 @@ impl IFsrmActionCommand_Vtbl { SetLogResult: SetLogResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IFsrmActionEmail_Vtbl { SetMessageText: SetMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -456,8 +456,8 @@ impl IFsrmActionEmail2_Vtbl { SetAttachmentFileListSize: SetAttachmentFileListSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -513,8 +513,8 @@ impl IFsrmActionEventLog_Vtbl { SetMessageText: SetMessageText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl IFsrmActionReport_Vtbl { SetMailTo: SetMailTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IFsrmAutoApplyQuota_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -940,8 +940,8 @@ impl IFsrmClassificationManager_Vtbl { ClearFileProperty: ClearFileProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -961,8 +961,8 @@ impl IFsrmClassificationManager2_Vtbl { } Self { base__: IFsrmClassificationManager_Vtbl::new::(), ClassifyFiles: ClassifyFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1038,8 +1038,8 @@ impl IFsrmClassificationRule_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1115,8 +1115,8 @@ impl IFsrmClassifierModuleDefinition_Vtbl { SetNeedsExplicitValue: SetNeedsExplicitValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1180,8 +1180,8 @@ impl IFsrmClassifierModuleImplementation_Vtbl { OnEndFile: OnEndFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IFsrmCollection_Vtbl { GetById: GetById::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1309,8 +1309,8 @@ impl IFsrmCommittableCollection_Vtbl { } Self { base__: IFsrmMutableCollection_Vtbl::new::(), Commit: Commit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1352,8 +1352,8 @@ impl IFsrmDerivedObjectsResult_Vtbl { Results: Results::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1429,8 +1429,8 @@ impl IFsrmExportImport_Vtbl { ImportQuotaTemplates: ImportQuotaTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1466,8 +1466,8 @@ impl IFsrmFileCondition_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1583,8 +1583,8 @@ impl IFsrmFileConditionProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1660,8 +1660,8 @@ impl IFsrmFileGroup_Vtbl { SetNonMembers: SetNonMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1697,8 +1697,8 @@ impl IFsrmFileGroupImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IFsrmFileGroupManager_Vtbl { ImportFileGroups: ImportFileGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2307,8 +2307,8 @@ impl IFsrmFileManagementJob_Vtbl { CreateCustomAction: CreateCustomAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2389,8 +2389,8 @@ impl IFsrmFileManagementJobManager_Vtbl { GetFileManagementJob: GetFileManagementJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2478,8 +2478,8 @@ impl IFsrmFileScreen_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2561,8 +2561,8 @@ impl IFsrmFileScreenBase_Vtbl { EnumActions: EnumActions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2611,8 +2611,8 @@ impl IFsrmFileScreenException_Vtbl { SetAllowedFileGroups: SetAllowedFileGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2745,8 +2745,8 @@ impl IFsrmFileScreenManager_Vtbl { CreateFileScreenCollection: CreateFileScreenCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2802,8 +2802,8 @@ impl IFsrmFileScreenTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl IFsrmFileScreenTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl IFsrmFileScreenTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl IFsrmMutableCollection_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3036,8 +3036,8 @@ impl IFsrmObject_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3066,8 +3066,8 @@ impl IFsrmPathMapper_Vtbl { GetSharePathsForLocalPath: GetSharePathsForLocalPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3142,8 +3142,8 @@ impl IFsrmPipelineModuleConnector_Vtbl { Bind: Bind::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3352,8 +3352,8 @@ impl IFsrmPipelineModuleDefinition_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3389,8 +3389,8 @@ impl IFsrmPipelineModuleImplementation_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3458,8 +3458,8 @@ impl IFsrmProperty_Vtbl { PropertyFlags: PropertyFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3736,8 +3736,8 @@ impl IFsrmPropertyBag_Vtbl { GetFileStreamInterface: GetFileStreamInterface::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3779,8 +3779,8 @@ impl IFsrmPropertyBag2_Vtbl { GetUntrustedInFileProperties: GetUntrustedInFileProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3863,8 +3863,8 @@ impl IFsrmPropertyCondition_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3980,8 +3980,8 @@ impl IFsrmPropertyDefinition_Vtbl { SetParameters: SetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl IFsrmPropertyDefinition2_Vtbl { ValueDefinitions: ValueDefinitions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4125,8 +4125,8 @@ impl IFsrmPropertyDefinitionValue_Vtbl { UniqueID: UniqueID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4195,8 +4195,8 @@ impl IFsrmQuota_Vtbl { RefreshUsageProperties: RefreshUsageProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4312,8 +4312,8 @@ impl IFsrmQuotaBase_Vtbl { EnumThresholdActions: EnumThresholdActions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4479,8 +4479,8 @@ impl IFsrmQuotaManager_Vtbl { CreateQuotaCollection: CreateQuotaCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4506,8 +4506,8 @@ impl IFsrmQuotaManagerEx_Vtbl { } Self { base__: IFsrmQuotaManager_Vtbl::new::(), IsAffectedByQuota: IsAffectedByQuota:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4595,8 +4595,8 @@ impl IFsrmQuotaObject_Vtbl { ApplyTemplate: ApplyTemplate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4652,8 +4652,8 @@ impl IFsrmQuotaTemplate_Vtbl { CommitAndUpdateDerived: CommitAndUpdateDerived::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4689,8 +4689,8 @@ impl IFsrmQuotaTemplateImported_Vtbl { SetOverwriteOnCommit: SetOverwriteOnCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4771,8 +4771,8 @@ impl IFsrmQuotaTemplateManager_Vtbl { ImportTemplates: ImportTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4881,8 +4881,8 @@ impl IFsrmReport_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5083,8 +5083,8 @@ impl IFsrmReportJob_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5212,8 +5212,8 @@ impl IFsrmReportManager_Vtbl { SetReportSizeLimit: SetReportSizeLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5257,8 +5257,8 @@ impl IFsrmReportScheduler_Vtbl { DeleteScheduleTask: DeleteScheduleTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5400,8 +5400,8 @@ impl IFsrmRule_Vtbl { LastModified: LastModified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5544,8 +5544,8 @@ impl IFsrmSetting_Vtbl { GetActionRunLimitInterval: GetActionRunLimitInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5621,8 +5621,8 @@ impl IFsrmStorageModuleDefinition_Vtbl { SetUpdatesFileContent: SetUpdatesFileContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileServerResourceManager\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5659,7 +5659,7 @@ impl IFsrmStorageModuleImplementation_Vtbl { SaveProperties: SaveProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs index 81b3315167..13bf0a10bd 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/FileSystem/impl.rs @@ -188,8 +188,8 @@ impl IDiskQuotaControl_Vtbl { ShutdownNameResolution: ShutdownNameResolution::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -206,8 +206,8 @@ impl IDiskQuotaEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserNameChanged: OnUserNameChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -328,8 +328,8 @@ impl IDiskQuotaUser_Vtbl { GetAccountStatus: GetAccountStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IDiskQuotaUserBatch_Vtbl { FlushToDisk: FlushToDisk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -418,7 +418,7 @@ impl IEnumDiskQuotaUsers_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs index 851a857aac..a6863fc950 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Imapi/impl.rs @@ -15,8 +15,8 @@ impl DDiscFormat2DataEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl DDiscFormat2EraseEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -57,8 +57,8 @@ impl DDiscFormat2RawCDEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -78,8 +78,8 @@ impl DDiscFormat2TrackAtOnceEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -109,8 +109,8 @@ impl DDiscMaster2Events_Vtbl { NotifyDeviceRemoved: NotifyDeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl DFileSystemImageEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -151,8 +151,8 @@ impl DFileSystemImageImportEvents_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), UpdateImport: UpdateImport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -172,8 +172,8 @@ impl DWriteEngine2Events_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -215,8 +215,8 @@ impl IBlockRange_Vtbl { EndLba: EndLba::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -242,8 +242,8 @@ impl IBlockRangeList_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), BlockRanges: BlockRanges:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -352,8 +352,8 @@ impl IBootOptions_Vtbl { AssignBootImage: AssignBootImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -386,8 +386,8 @@ impl IBurnVerification_Vtbl { BurnVerificationLevel: BurnVerificationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -468,8 +468,8 @@ impl IDiscFormat2_Vtbl { SupportedMediaTypes: SupportedMediaTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -841,8 +841,8 @@ impl IDiscFormat2Data_Vtbl { SetWriteSpeed: SetWriteSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IDiscFormat2DataEventArgs_Vtbl { CurrentAction: CurrentAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1007,8 +1007,8 @@ impl IDiscFormat2Erase_Vtbl { EraseMedia: EraseMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1276,8 +1276,8 @@ impl IDiscFormat2RawCD_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1332,8 +1332,8 @@ impl IDiscFormat2RawCDEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1620,8 +1620,8 @@ impl IDiscFormat2TrackAtOnce_Vtbl { SupportedWriteSpeedDescriptors: SupportedWriteSpeedDescriptors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IDiscFormat2TrackAtOnceEventArgs_Vtbl { RemainingTime: RemainingTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IDiscMaster_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1886,8 +1886,8 @@ impl IDiscMaster2_Vtbl { IsSupportedEnvironment: IsSupportedEnvironment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -1969,8 +1969,8 @@ impl IDiscMasterProgressEvents_Vtbl { NotifyEraseComplete: NotifyEraseComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2121,8 +2121,8 @@ impl IDiscRecorder_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2369,8 +2369,8 @@ impl IDiscRecorder2_Vtbl { ExclusiveAccessOwner: ExclusiveAccessOwner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2530,8 +2530,8 @@ impl IDiscRecorder2Ex_Vtbl { GetMaximumPageAlignedTransferSize: GetMaximumPageAlignedTransferSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -2578,8 +2578,8 @@ impl IEnumDiscMasterFormats_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -2626,8 +2626,8 @@ impl IEnumDiscRecorders_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl IEnumFsiItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2728,8 +2728,8 @@ impl IEnumProgressItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3287,8 +3287,8 @@ impl IFileSystemImage_Vtbl { SetMultisessionInterfaces: SetMultisessionInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3324,8 +3324,8 @@ impl IFileSystemImage2_Vtbl { SetBootImageOptionsArray: SetBootImageOptionsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3374,8 +3374,8 @@ impl IFileSystemImage3_Vtbl { ProbeSpecificFileSystem: ProbeSpecificFileSystem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3456,8 +3456,8 @@ impl IFileSystemImageResult_Vtbl { DiscId: DiscId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3483,8 +3483,8 @@ impl IFileSystemImageResult2_Vtbl { } Self { base__: IFileSystemImageResult_Vtbl::new::(), ModifiedBlocks: ModifiedBlocks:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3594,8 +3594,8 @@ impl IFsiDirectoryItem_Vtbl { RemoveTree: RemoveTree::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3615,8 +3615,8 @@ impl IFsiDirectoryItem2_Vtbl { } Self { base__: IFsiDirectoryItem_Vtbl::new::(), AddTreeWithNamedStreams: AddTreeWithNamedStreams:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3691,8 +3691,8 @@ impl IFsiFileItem_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3768,8 +3768,8 @@ impl IFsiFileItem2_Vtbl { SetIsRealTime: SetIsRealTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3917,8 +3917,8 @@ impl IFsiItem_Vtbl { FileSystemPath: FileSystemPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3986,8 +3986,8 @@ impl IFsiNamedStreams_Vtbl { EnumNamedStreams: EnumNamedStreams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4050,8 +4050,8 @@ impl IIsoImageManager_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4133,8 +4133,8 @@ impl IJolietDiscMaster_Vtbl { SetJolietProperties: SetJolietProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4196,8 +4196,8 @@ impl IMultisession_Vtbl { ImportRecorder: ImportRecorder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4252,8 +4252,8 @@ impl IMultisessionRandomWrite_Vtbl { TotalSectorsOnMedia: TotalSectorsOnMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4334,8 +4334,8 @@ impl IMultisessionSequential_Vtbl { FreeSectorsOnMedia: FreeSectorsOnMedia::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4361,8 +4361,8 @@ impl IMultisessionSequential2_Vtbl { } Self { base__: IMultisessionSequential_Vtbl::new::(), WriteUnitSize: WriteUnitSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4430,8 +4430,8 @@ impl IProgressItem_Vtbl { BlockCount: BlockCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IProgressItems_Vtbl { EnumProgressItems: EnumProgressItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4747,8 +4747,8 @@ impl IRawCDImageCreator_Vtbl { ExpectedTableOfContents: ExpectedTableOfContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4903,8 +4903,8 @@ impl IRawCDImageTrackInfo_Vtbl { ClearTrackIndex: ClearTrackIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"implement\"`*"] @@ -5003,8 +5003,8 @@ impl IRedbookDiscMaster_Vtbl { CloseAudioTrack: CloseAudioTrack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5048,8 +5048,8 @@ impl IStreamConcatenate_Vtbl { Append2: Append2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5069,8 +5069,8 @@ impl IStreamInterleave_Vtbl { } Self { base__: super::super::System::Com::IStream_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5120,8 +5120,8 @@ impl IStreamPseudoRandomBased_Vtbl { get_ExtendedSeed: get_ExtendedSeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5264,8 +5264,8 @@ impl IWriteEngine2_Vtbl { WriteInProgress: WriteInProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5372,8 +5372,8 @@ impl IWriteEngine2EventArgs_Vtbl { FreeSystemBuffer: FreeSystemBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Imapi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5428,7 +5428,7 @@ impl IWriteSpeedDescriptor_Vtbl { WriteSpeed: WriteSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs index ab2d7b3ae0..822b12f5a2 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/IndexServer/impl.rs @@ -46,8 +46,8 @@ impl IFilter_Vtbl { BindRegion: BindRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -74,7 +74,7 @@ impl IPhraseSink_Vtbl { PutPhrase: PutPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs index 46940fa15e..665df8bded 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/OfflineFiles/impl.rs @@ -42,8 +42,8 @@ impl IEnumOfflineFilesItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IEnumOfflineFilesSettings_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IOfflineFilesCache_Vtbl { IsPathCacheable: IsPathCacheable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -277,8 +277,8 @@ impl IOfflineFilesCache2_Vtbl { } Self { base__: IOfflineFilesCache_Vtbl::new::(), RenameItemEx: RenameItemEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IOfflineFilesChangeInfo_Vtbl { IsLocallyModifiedTime: IsLocallyModifiedTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl IOfflineFilesConnectionInfo_Vtbl { TransitionOffline: TransitionOffline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -431,8 +431,8 @@ impl IOfflineFilesDirectoryItem_Vtbl { pub const fn new, Impl: IOfflineFilesDirectoryItem_Impl, const OFFSET: isize>() -> IOfflineFilesDirectoryItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IOfflineFilesDirtyInfo_Vtbl { RemoteDirtyByteCount: RemoteDirtyByteCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IOfflineFilesErrorInfo_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl IOfflineFilesEvents_Vtbl { Ping: Ping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -786,8 +786,8 @@ impl IOfflineFilesEvents2_Vtbl { SettingsChangesApplied: SettingsChangesApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -824,8 +824,8 @@ impl IOfflineFilesEvents3_Vtbl { PrefetchFileEnd: PrefetchFileEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IOfflineFilesEvents4_Vtbl { PrefetchCloseHandleEnd: PrefetchCloseHandleEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -890,8 +890,8 @@ impl IOfflineFilesEventsFilter_Vtbl { GetExcludedEvents: GetExcludedEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IOfflineFilesFileItem_Vtbl { IsEncrypted: IsEncrypted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -983,8 +983,8 @@ impl IOfflineFilesFileSysInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1010,8 +1010,8 @@ impl IOfflineFilesGhostInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsGhosted: IsGhosted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1086,8 +1086,8 @@ impl IOfflineFilesItem_Vtbl { IsMarkedForDeletion: IsMarkedForDeletion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IOfflineFilesItemContainer_Vtbl { EnumItemsEx: EnumItemsEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IOfflineFilesItemFilter_Vtbl { GetPatternFilter: GetPatternFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1222,8 +1222,8 @@ impl IOfflineFilesPinInfo_Vtbl { IsPinnedForFolderRedirection: IsPinnedForFolderRedirection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1249,8 +1249,8 @@ impl IOfflineFilesPinInfo2_Vtbl { } Self { base__: IOfflineFilesPinInfo_Vtbl::new::(), IsPartlyPinned: IsPartlyPinned:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1299,8 +1299,8 @@ impl IOfflineFilesProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IOfflineFilesServerItem_Vtbl { pub const fn new, Impl: IOfflineFilesServerItem_Impl, const OFFSET: isize>() -> IOfflineFilesServerItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IOfflineFilesSetting_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1473,8 +1473,8 @@ impl IOfflineFilesShareInfo_Vtbl { IsShareDfsJunction: IsShareDfsJunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1487,8 +1487,8 @@ impl IOfflineFilesShareItem_Vtbl { pub const fn new, Impl: IOfflineFilesShareItem_Impl, const OFFSET: isize>() -> IOfflineFilesShareItem_Vtbl { Self { base__: IOfflineFilesItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl IOfflineFilesSimpleProgress_Vtbl { ItemResult: ItemResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1551,8 +1551,8 @@ impl IOfflineFilesSuspend_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuspendRoot: SuspendRoot:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1572,8 +1572,8 @@ impl IOfflineFilesSuspendInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSuspended: IsSuspended:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"implement\"`*"] @@ -1590,8 +1590,8 @@ impl IOfflineFilesSyncConflictHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveConflict: ResolveConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1686,8 +1686,8 @@ impl IOfflineFilesSyncErrorInfo_Vtbl { GetOriginalInfo: GetOriginalInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1736,8 +1736,8 @@ impl IOfflineFilesSyncErrorItemInfo_Vtbl { GetFileSize: GetFileSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IOfflineFilesSyncProgress_Vtbl { SyncItemResult: SyncItemResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_OfflineFiles\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1806,7 +1806,7 @@ impl IOfflineFilesTransparentCacheInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTransparentlyCached: IsTransparentlyCached:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs index 3323e752fa..6e1c1f7ef0 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Appx/impl.rs @@ -21,8 +21,8 @@ impl IAppxAppInstallerReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXmlDom: GetXmlDom:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -55,8 +55,8 @@ impl IAppxBlockMapBlock_Vtbl { GetCompressedSize: GetCompressedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -111,8 +111,8 @@ impl IAppxBlockMapBlocksEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -193,8 +193,8 @@ impl IAppxBlockMapFile_Vtbl { ValidateFileHash: ValidateFileHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -249,8 +249,8 @@ impl IAppxBlockMapFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -318,8 +318,8 @@ impl IAppxBlockMapReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IAppxBundleFactory_Vtbl { CreateBundleManifestReader: CreateBundleManifestReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -401,8 +401,8 @@ impl IAppxBundleFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBundleReader2: CreateBundleReader2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -454,8 +454,8 @@ impl IAppxBundleManifestOptionalBundleInfo_Vtbl { GetPackageInfoItems: GetPackageInfoItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -510,8 +510,8 @@ impl IAppxBundleManifestOptionalBundleInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -602,8 +602,8 @@ impl IAppxBundleManifestPackageInfo_Vtbl { GetResources: GetResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -658,8 +658,8 @@ impl IAppxBundleManifestPackageInfo2_Vtbl { GetIsDefaultApplicablePackage: GetIsDefaultApplicablePackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -682,8 +682,8 @@ impl IAppxBundleManifestPackageInfo3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetDeviceFamilies: GetTargetDeviceFamilies:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl IAppxBundleManifestPackageInfo4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsStub: GetIsStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl IAppxBundleManifestPackageInfoEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IAppxBundleManifestReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -845,8 +845,8 @@ impl IAppxBundleManifestReader2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOptionalBundles: GetOptionalBundles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -924,8 +924,8 @@ impl IAppxBundleReader_Vtbl { GetPayloadPackage: GetPayloadPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -955,8 +955,8 @@ impl IAppxBundleWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -979,8 +979,8 @@ impl IAppxBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1010,8 +1010,8 @@ impl IAppxBundleWriter3_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IAppxBundleWriter4_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1088,8 +1088,8 @@ impl IAppxContentGroup_Vtbl { GetFiles: GetFiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IAppxContentGroupFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IAppxContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1219,8 +1219,8 @@ impl IAppxContentGroupMapWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1275,8 +1275,8 @@ impl IAppxContentGroupsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -1299,8 +1299,8 @@ impl IAppxDigestProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDigest: GetDigest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1330,8 +1330,8 @@ impl IAppxEncryptedBundleWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1354,8 +1354,8 @@ impl IAppxEncryptedBundleWriter2_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1385,8 +1385,8 @@ impl IAppxEncryptedBundleWriter3_Vtbl { AddExternalPackageReference: AddExternalPackageReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1416,8 +1416,8 @@ impl IAppxEncryptedPackageWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IAppxEncryptedPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFilesEncrypted: AddPayloadFilesEncrypted:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1534,8 +1534,8 @@ impl IAppxEncryptionFactory_Vtbl { CreateEncryptedBundleReader: CreateEncryptedBundleReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1564,8 +1564,8 @@ impl IAppxEncryptionFactory2_Vtbl { CreateEncryptedPackageWriter: CreateEncryptedPackageWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IAppxEncryptionFactory3_Vtbl { CreateEncryptedBundleWriter: CreateEncryptedBundleWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl IAppxEncryptionFactory4_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncryptPackage: EncryptPackage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1685,8 +1685,8 @@ impl IAppxEncryptionFactory5_Vtbl { CreateEncryptedBundleReader2: CreateEncryptedBundleReader2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1767,8 +1767,8 @@ impl IAppxFactory_Vtbl { CreateValidatedBlockMapReader: CreateValidatedBlockMapReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1823,8 +1823,8 @@ impl IAppxFactory2_Vtbl { CreateContentGroupMapWriter: CreateContentGroupMapWriter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1879,8 +1879,8 @@ impl IAppxFactory3_Vtbl { CreateAppInstallerReader: CreateAppInstallerReader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1961,8 +1961,8 @@ impl IAppxFile_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2017,8 +2017,8 @@ impl IAppxFilesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IAppxManifestApplication_Vtbl { GetAppUserModelId: GetAppUserModelId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2113,8 +2113,8 @@ impl IAppxManifestApplicationsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2169,8 +2169,8 @@ impl IAppxManifestCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2225,8 +2225,8 @@ impl IAppxManifestDeviceCapabilitiesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2278,8 +2278,8 @@ impl IAppxManifestDriverConstraint_Vtbl { GetMinDate: GetMinDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2334,8 +2334,8 @@ impl IAppxManifestDriverConstraintsEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2390,8 +2390,8 @@ impl IAppxManifestDriverDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2414,8 +2414,8 @@ impl IAppxManifestDriverDependency_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDriverConstraints: GetDriverConstraints:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2470,8 +2470,8 @@ impl IAppxManifestHostRuntimeDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2523,8 +2523,8 @@ impl IAppxManifestHostRuntimeDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IAppxManifestHostRuntimeDependency2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPackageFamilyName: GetPackageFamilyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IAppxManifestMainPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IAppxManifestMainPackageDependency_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2712,8 +2712,8 @@ impl IAppxManifestOSPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2752,8 +2752,8 @@ impl IAppxManifestOSPackageDependency_Vtbl { GetVersion: GetVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2795,8 +2795,8 @@ impl IAppxManifestOptionalPackageInfo_Vtbl { GetMainPackageName: GetMainPackageName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2851,8 +2851,8 @@ impl IAppxManifestPackageDependenciesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2904,8 +2904,8 @@ impl IAppxManifestPackageDependency_Vtbl { GetMinVersion: GetMinVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -2931,8 +2931,8 @@ impl IAppxManifestPackageDependency2_Vtbl { GetMaxMajorVersionTested: GetMaxMajorVersionTested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2958,8 +2958,8 @@ impl IAppxManifestPackageDependency3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIsOptional: GetIsOptional:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3079,8 +3079,8 @@ impl IAppxManifestPackageId_Vtbl { GetPackageFamilyName: GetPackageFamilyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3106,8 +3106,8 @@ impl IAppxManifestPackageId2_Vtbl { } Self { base__: IAppxManifestPackageId_Vtbl::new::(), GetArchitecture2: GetArchitecture2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3149,8 +3149,8 @@ impl IAppxManifestProperties_Vtbl { GetStringValue: GetStringValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl IAppxManifestQualifiedResource_Vtbl { GetDXFeatureLevel: GetDXFeatureLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3258,8 +3258,8 @@ impl IAppxManifestQualifiedResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3392,8 +3392,8 @@ impl IAppxManifestReader_Vtbl { GetStream: GetStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3419,8 +3419,8 @@ impl IAppxManifestReader2_Vtbl { } Self { base__: IAppxManifestReader_Vtbl::new::(), GetQualifiedResources: GetQualifiedResources:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3462,8 +3462,8 @@ impl IAppxManifestReader3_Vtbl { GetTargetDeviceFamilies: GetTargetDeviceFamilies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3489,8 +3489,8 @@ impl IAppxManifestReader4_Vtbl { } Self { base__: IAppxManifestReader3_Vtbl::new::(), GetOptionalPackageInfo: GetOptionalPackageInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3516,8 +3516,8 @@ impl IAppxManifestReader5_Vtbl { GetMainPackageDependencies: GetMainPackageDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3546,8 +3546,8 @@ impl IAppxManifestReader6_Vtbl { GetIsNonQualifiedResourcePackage: GetIsNonQualifiedResourcePackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3599,8 +3599,8 @@ impl IAppxManifestReader7_Vtbl { GetHostRuntimeDependencies: GetHostRuntimeDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3655,8 +3655,8 @@ impl IAppxManifestResourcesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3711,8 +3711,8 @@ impl IAppxManifestTargetDeviceFamiliesEnumerator_Vtbl { MoveNext: MoveNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3764,8 +3764,8 @@ impl IAppxManifestTargetDeviceFamily_Vtbl { GetMaxVersionTested: GetMaxVersionTested::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3823,8 +3823,8 @@ impl IAppxPackageEditor_Vtbl { UpdatePackageManifest: UpdatePackageManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -3902,8 +3902,8 @@ impl IAppxPackageReader_Vtbl { GetManifest: GetManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3933,8 +3933,8 @@ impl IAppxPackageWriter_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3954,8 +3954,8 @@ impl IAppxPackageWriter2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3975,8 +3975,8 @@ impl IAppxPackageWriter3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPayloadFiles: AddPayloadFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4003,8 +4003,8 @@ impl IAppxPackagingDiagnosticEventSink_Vtbl { ReportError: ReportError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl IAppxPackagingDiagnosticEventSinkManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSinkForProcess: SetSinkForProcess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Appx\"`, `\"implement\"`*"] @@ -4061,7 +4061,7 @@ impl IAppxSourceContentGroupMapReader_Vtbl { GetAutomaticGroups: GetAutomaticGroups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs index 18ce02ecad..eef548eefe 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Packaging/Opc/impl.rs @@ -63,8 +63,8 @@ impl IOpcCertificateEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IOpcCertificateSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IOpcDigitalSignature_Vtbl { GetSignatureXml: GetSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IOpcDigitalSignatureEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl IOpcDigitalSignatureManager_Vtbl { ReplaceSignatureXml: ReplaceSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -581,8 +581,8 @@ impl IOpcFactory_Vtbl { CreateDigitalSignatureManager: CreateDigitalSignatureManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -621,8 +621,8 @@ impl IOpcPackage_Vtbl { GetRelationshipSet: GetRelationshipSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -703,8 +703,8 @@ impl IOpcPart_Vtbl { GetCompressionOptions: GetCompressionOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IOpcPartEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -848,8 +848,8 @@ impl IOpcPartSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IOpcPartUri_Vtbl { IsRelationshipsPartUri: IsRelationshipsPartUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -986,8 +986,8 @@ impl IOpcRelationship_Vtbl { GetTargetMode: GetTargetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1055,8 +1055,8 @@ impl IOpcRelationshipEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IOpcRelationshipSelector_Vtbl { GetSelectionCriterion: GetSelectionCriterion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IOpcRelationshipSelectorEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1211,8 +1211,8 @@ impl IOpcRelationshipSelectorSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1313,8 +1313,8 @@ impl IOpcRelationshipSet_Vtbl { GetRelationshipsContentStream: GetRelationshipsContentStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1331,8 +1331,8 @@ impl IOpcSignatureCustomObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetXml: GetXml:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl IOpcSignatureCustomObjectEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"implement\"`*"] @@ -1447,8 +1447,8 @@ impl IOpcSignatureCustomObjectSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1523,8 +1523,8 @@ impl IOpcSignaturePartReference_Vtbl { GetTransformMethod: GetTransformMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1592,8 +1592,8 @@ impl IOpcSignaturePartReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1642,8 +1642,8 @@ impl IOpcSignaturePartReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1731,8 +1731,8 @@ impl IOpcSignatureReference_Vtbl { GetDigestValue: GetDigestValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl IOpcSignatureReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1850,8 +1850,8 @@ impl IOpcSignatureReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1939,8 +1939,8 @@ impl IOpcSignatureRelationshipReference_Vtbl { GetRelationshipSelectorEnumerator: GetRelationshipSelectorEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2008,8 +2008,8 @@ impl IOpcSignatureRelationshipReferenceEnumerator_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2071,8 +2071,8 @@ impl IOpcSignatureRelationshipReferenceSet_Vtbl { GetEnumerator: GetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2273,8 +2273,8 @@ impl IOpcSigningOptions_Vtbl { SetSignaturePartName: SetSignaturePartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2329,7 +2329,7 @@ impl IOpcUri_Vtbl { CombinePartUri: CombinePartUri::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs index b4d45c6746..6dca3a5534 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/VirtualDiskService/impl.rs @@ -42,8 +42,8 @@ impl IEnumVdsObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IVdsAdmin_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IVdsAdvancedDisk_Vtbl { Clean: Clean::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -196,8 +196,8 @@ impl IVdsAdvancedDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangePartitionType: ChangePartitionType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl IVdsAdvancedDisk3_Vtbl { GetUniqueId: GetUniqueId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl IVdsAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -283,8 +283,8 @@ impl IVdsAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl IVdsController_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IVdsControllerControllerPort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryControllerPorts: QueryControllerPorts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IVdsControllerPort_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -477,8 +477,8 @@ impl IVdsCreatePartitionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePartitionEx: CreatePartitionEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IVdsDisk_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -570,8 +570,8 @@ impl IVdsDisk2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetSANMode: SetSANMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -598,8 +598,8 @@ impl IVdsDisk3_Vtbl { QueryFreeExtents: QueryFreeExtents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -626,8 +626,8 @@ impl IVdsDiskOnline_Vtbl { Offline: Offline::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IVdsDiskPartitionMF_Vtbl { FormatPartitionEx: FormatPartitionEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl IVdsDiskPartitionMF2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FormatPartitionEx2: FormatPartitionEx2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IVdsDrive_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -790,8 +790,8 @@ impl IVdsDrive2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IVdsHbaPort_Vtbl { SetAllPathStatuses: SetAllPathStatuses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -859,8 +859,8 @@ impl IVdsHwProvider_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -886,8 +886,8 @@ impl IVdsHwProviderPrivate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryIfCreatedLun: QueryIfCreatedLun:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -907,8 +907,8 @@ impl IVdsHwProviderPrivateMpio_Vtbl { SetAllPathStatusesFromHbaPort: SetAllPathStatusesFromHbaPort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -963,8 +963,8 @@ impl IVdsHwProviderStoragePools_Vtbl { QueryMaxLunCreateSizeInStoragePool: QueryMaxLunCreateSizeInStoragePool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -987,8 +987,8 @@ impl IVdsHwProviderType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType: GetProviderType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1011,8 +1011,8 @@ impl IVdsHwProviderType2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProviderType2: GetProviderType2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl IVdsIscsiInitiatorAdapter_Vtbl { LogoutFromTarget: LogoutFromTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1135,8 +1135,8 @@ impl IVdsIscsiInitiatorPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1216,8 +1216,8 @@ impl IVdsIscsiPortal_Vtbl { SetIpsecSecurity: SetIpsecSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1302,8 +1302,8 @@ impl IVdsIscsiPortalGroup_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IVdsIscsiPortalLocal_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIpsecSecurityLocal: SetIpsecSecurityLocal:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1437,8 +1437,8 @@ impl IVdsIscsiTarget_Vtbl { GetConnectedInitiators: GetConnectedInitiators::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1627,8 +1627,8 @@ impl IVdsLun_Vtbl { QueryMaxLunExtendSize: QueryMaxLunExtendSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1658,8 +1658,8 @@ impl IVdsLun2_Vtbl { ApplyHints2: ApplyHints2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1692,8 +1692,8 @@ impl IVdsLunControllerPorts_Vtbl { QueryActiveControllerPorts: QueryActiveControllerPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1726,8 +1726,8 @@ impl IVdsLunIscsi_Vtbl { QueryAssociatedTargets: QueryAssociatedTargets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1777,8 +1777,8 @@ impl IVdsLunMpio_Vtbl { GetSupportedLbPolicies: GetSupportedLbPolicies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IVdsLunNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1819,8 +1819,8 @@ impl IVdsLunNumber_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLunNumber: GetLunNumber:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1877,8 +1877,8 @@ impl IVdsLunPlex_Vtbl { ApplyHints: ApplyHints::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1912,8 +1912,8 @@ impl IVdsMaintenance_Vtbl { PulseMaintenance: PulseMaintenance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -1995,8 +1995,8 @@ impl IVdsOpenVDisk_Vtbl { Expand: Expand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IVdsPack_Vtbl { Recover: Recover::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2142,8 +2142,8 @@ impl IVdsPack2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateVolume2: CreateVolume2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2160,8 +2160,8 @@ impl IVdsProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties: GetProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2204,8 +2204,8 @@ impl IVdsProviderPrivate_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2228,8 +2228,8 @@ impl IVdsProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetVersionSupport: GetVersionSupport:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IVdsRemovable_Vtbl { Eject: Eject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2428,8 +2428,8 @@ impl IVdsService_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2452,8 +2452,8 @@ impl IVdsServiceHba_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryHbaPorts: QueryHbaPorts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2470,8 +2470,8 @@ impl IVdsServiceInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2545,8 +2545,8 @@ impl IVdsServiceIscsi_Vtbl { RememberTargetSharedSecret: RememberTargetSharedSecret::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2569,8 +2569,8 @@ impl IVdsServiceLoader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadService: LoadService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2603,8 +2603,8 @@ impl IVdsServiceSAN_Vtbl { SetSANPolicy: SetSANPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2627,8 +2627,8 @@ impl IVdsServiceSw_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiskObject: GetDiskObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2664,8 +2664,8 @@ impl IVdsServiceUninstallDisk_Vtbl { UninstallDisks: UninstallDisks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2741,8 +2741,8 @@ impl IVdsStoragePool_Vtbl { QueryAllocatedStoragePools: QueryAllocatedStoragePools::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2884,8 +2884,8 @@ impl IVdsSubSystem_Vtbl { QueryMaxLunCreateSize: QueryMaxLunCreateSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2947,8 +2947,8 @@ impl IVdsSubSystem2_Vtbl { QueryMaxLunCreateSize2: QueryMaxLunCreateSize2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -2981,8 +2981,8 @@ impl IVdsSubSystemImportTarget_Vtbl { SetImportTarget: SetImportTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl IVdsSubSystemInterconnect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedInterconnects: GetSupportedInterconnects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3065,8 +3065,8 @@ impl IVdsSubSystemIscsi_Vtbl { SetIpsecGroupPresharedKey: SetIpsecGroupPresharedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3083,8 +3083,8 @@ impl IVdsSubSystemNaming_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFriendlyName: SetFriendlyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3123,8 +3123,8 @@ impl IVdsSwProvider_Vtbl { CreatePack: CreatePack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -3186,8 +3186,8 @@ impl IVdsVDisk_Vtbl { GetDeviceName: GetDeviceName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Storage_Vhd\"`, `\"implement\"`*"] @@ -3256,8 +3256,8 @@ impl IVdsVdProvider_Vtbl { GetVDiskFromDisk: GetVDiskFromDisk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3392,8 +3392,8 @@ impl IVdsVolume_Vtbl { ClearFlags: ClearFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3410,8 +3410,8 @@ impl IVdsVolume2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperties2: GetProperties2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3503,8 +3503,8 @@ impl IVdsVolumeMF_Vtbl { ClearFileSystemFlags: ClearFileSystemFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3553,8 +3553,8 @@ impl IVdsVolumeMF2_Vtbl { FormatEx: FormatEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3594,8 +3594,8 @@ impl IVdsVolumeMF3_Vtbl { OfflineVolume: OfflineVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3612,8 +3612,8 @@ impl IVdsVolumeOnline_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Online: Online:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3666,8 +3666,8 @@ impl IVdsVolumePlex_Vtbl { Repair: Repair::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -3706,7 +3706,7 @@ impl IVdsVolumeShrink_Vtbl { Shrink: Shrink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs index d851c0a2e3..4f0ef1bf7d 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Vss/impl.rs @@ -42,8 +42,8 @@ impl IVssAdmin_Vtbl { AbortAllSnapshotsInProgress: AbortAllSnapshotsInProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IVssAdminEx_Vtbl { SetProviderContext: SetProviderContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl IVssAsync_Vtbl { QueryStatus: QueryStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -419,8 +419,8 @@ impl IVssComponent_Vtbl { GetDifferencedFile: GetDifferencedFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -509,8 +509,8 @@ impl IVssComponentEx_Vtbl { GetRestoreName: GetRestoreName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -540,8 +540,8 @@ impl IVssComponentEx2_Vtbl { GetFailure: GetFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -610,8 +610,8 @@ impl IVssCreateExpressWriterMetadata_Vtbl { SaveAsXML: SaveAsXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -807,8 +807,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt_Vtbl { QueryDiffAreasForSnapshot: QueryDiffAreasForSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -858,8 +858,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt2_Vtbl { SetSnapshotPriority: SetSnapshotPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IVssDifferentialSoftwareSnapshotMgmt3_Vtbl { QuerySnapshotDeltaBitmap: QuerySnapshotDeltaBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -952,8 +952,8 @@ impl IVssEnumMgmtObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -994,8 +994,8 @@ impl IVssEnumObject_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1042,8 +1042,8 @@ impl IVssExpressWriter_Vtbl { Unregister: Unregister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1127,8 +1127,8 @@ impl IVssFileShareSnapshotProvider_Vtbl { SetSnapshotProperty: SetSnapshotProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1186,8 +1186,8 @@ impl IVssHardwareSnapshotProvider_Vtbl { OnLunEmpty: OnLunEmpty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_VirtualDiskService\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IVssHardwareSnapshotProviderEx_Vtbl { OnReuseLuns: OnReuseLuns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1306,8 +1306,8 @@ impl IVssProviderCreateSnapshotSet_Vtbl { AbortSnapshots: AbortSnapshots::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1337,8 +1337,8 @@ impl IVssProviderNotifications_Vtbl { OnUnload: OnUnload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IVssSnapshotMgmt_Vtbl { QuerySnapshotsByVolume: QuerySnapshotsByVolume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1414,8 +1414,8 @@ impl IVssSnapshotMgmt2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMinDiffAreaSize: GetMinDiffAreaSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1519,8 +1519,8 @@ impl IVssSoftwareSnapshotProvider_Vtbl { QueryRevertStatus: QueryRevertStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IVssWMDependency_Vtbl { GetComponentName: GetComponentName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IVssWMFiledesc_Vtbl { GetBackupTypeMask: GetBackupTypeMask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Vss\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs index a7d175a004..9b01324c90 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/Printing/impl.rs @@ -18,8 +18,8 @@ impl IPrintDocumentPackageStatusEvent_Vtbl { PackageStatusUpdated: PackageStatusUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IPrintDocumentPackageTarget_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IPrintDocumentPackageTarget2_Vtbl { GetTargetIppPrintDevice: GetTargetIppPrintDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -120,8 +120,8 @@ impl IPrintDocumentPackageTargetFactory_Vtbl { CreateDocumentPackageTargetForPrintJob: CreateDocumentPackageTargetForPrintJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"implement\"`*"] @@ -148,8 +148,8 @@ impl IXpsPrintJob_Vtbl { GetJobStatus: GetJobStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -169,7 +169,7 @@ impl IXpsPrintJobStream_Vtbl { } Self { base__: super::super::super::System::Com::ISequentialStream_Vtbl::new::(), Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs index b9469ffc60..cfbb3a45cb 100644 --- a/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Storage/Xps/impl.rs @@ -50,8 +50,8 @@ impl IXpsDocumentPackageTarget_Vtbl { GetXpsType: GetXpsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl IXpsDocumentPackageTarget3D_Vtbl { GetXpsOMFactory: GetXpsOMFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -127,8 +127,8 @@ impl IXpsOMBrush_Vtbl { SetOpacity: SetOpacity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -283,8 +283,8 @@ impl IXpsOMCanvas_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IXpsOMColorProfileResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IXpsOMColorProfileResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -767,8 +767,8 @@ impl IXpsOMCoreProperties_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -835,8 +835,8 @@ impl IXpsOMDashCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -949,8 +949,8 @@ impl IXpsOMDictionary_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1058,8 +1058,8 @@ impl IXpsOMDocument_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IXpsOMDocumentCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1189,8 +1189,8 @@ impl IXpsOMDocumentSequence_Vtbl { SetPrintTicketResource: SetPrintTicketResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IXpsOMDocumentStructureResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1289,8 +1289,8 @@ impl IXpsOMFontResource_Vtbl { GetEmbeddingOption: GetEmbeddingOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1373,8 +1373,8 @@ impl IXpsOMFontResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1486,8 +1486,8 @@ impl IXpsOMGeometry_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IXpsOMGeometryFigure_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -1724,8 +1724,8 @@ impl IXpsOMGeometryFigureCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2032,8 +2032,8 @@ impl IXpsOMGlyphs_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2217,8 +2217,8 @@ impl IXpsOMGlyphsEditor_Vtbl { SetDeviceFontName: SetDeviceFontName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2337,8 +2337,8 @@ impl IXpsOMGradientBrush_Vtbl { SetColorInterpolationMode: SetColorInterpolationMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2411,8 +2411,8 @@ impl IXpsOMGradientStop_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2479,8 +2479,8 @@ impl IXpsOMGradientStopCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl IXpsOMImageBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2596,8 +2596,8 @@ impl IXpsOMImageResource_Vtbl { GetImageType: GetImageType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2680,8 +2680,8 @@ impl IXpsOMImageResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IXpsOMLinearGradientBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2794,8 +2794,8 @@ impl IXpsOMMatrixTransform_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -2834,8 +2834,8 @@ impl IXpsOMNameCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl IXpsOMObjectFactory_Vtbl { CreateReadOnlyStreamOnFile: CreateReadOnlyStreamOnFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3516,8 +3516,8 @@ impl IXpsOMObjectFactory1_Vtbl { CreateRemoteDictionaryResourceFromStream1: CreateRemoteDictionaryResourceFromStream1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3627,8 +3627,8 @@ impl IXpsOMPackage_Vtbl { WriteToStream: WriteToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IXpsOMPackage1_Vtbl { WriteToStream1: WriteToStream1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3698,8 +3698,8 @@ impl IXpsOMPackageTarget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateXpsOMPackageWriter: CreateXpsOMPackageWriter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3756,8 +3756,8 @@ impl IXpsOMPackageWriter_Vtbl { IsClosed: IsClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3787,8 +3787,8 @@ impl IXpsOMPackageWriter3D_Vtbl { SetModelPrintTicket: SetModelPrintTicket::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4036,8 +4036,8 @@ impl IXpsOMPage_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4073,8 +4073,8 @@ impl IXpsOMPage1_Vtbl { Write1: Write1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4275,8 +4275,8 @@ impl IXpsOMPageReference_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4343,8 +4343,8 @@ impl IXpsOMPageReferenceCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4380,8 +4380,8 @@ impl IXpsOMPart_Vtbl { SetPartName: SetPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -4446,8 +4446,8 @@ impl IXpsOMPartResources_Vtbl { GetRemoteDictionaryResources: GetRemoteDictionaryResources::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4517,8 +4517,8 @@ impl IXpsOMPartUriCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4919,8 +4919,8 @@ impl IXpsOMPath_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4956,8 +4956,8 @@ impl IXpsOMPrintTicketResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5043,8 +5043,8 @@ impl IXpsOMRadialGradientBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5080,8 +5080,8 @@ impl IXpsOMRemoteDictionaryResource_Vtbl { SetDictionary: SetDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5117,8 +5117,8 @@ impl IXpsOMRemoteDictionaryResource1_Vtbl { Write1: Write1::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5201,8 +5201,8 @@ impl IXpsOMRemoteDictionaryResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5215,8 +5215,8 @@ impl IXpsOMResource_Vtbl { pub const fn new, Impl: IXpsOMResource_Impl, const OFFSET: isize>() -> IXpsOMResource_Vtbl { Self { base__: IXpsOMPart_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5255,8 +5255,8 @@ impl IXpsOMShareable_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5305,8 +5305,8 @@ impl IXpsOMSignatureBlockResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5389,8 +5389,8 @@ impl IXpsOMSignatureBlockResourceCollection_Vtbl { GetByPartName: GetByPartName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5430,8 +5430,8 @@ impl IXpsOMSolidColorBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5480,8 +5480,8 @@ impl IXpsOMStoryFragmentsResource_Vtbl { SetContent: SetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5507,8 +5507,8 @@ impl IXpsOMThumbnailGenerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GenerateThumbnail: GenerateThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5634,8 +5634,8 @@ impl IXpsOMTileBrush_Vtbl { SetTileMode: SetTileMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5910,8 +5910,8 @@ impl IXpsOMVisual_Vtbl { SetLanguage: SetLanguage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -5990,8 +5990,8 @@ impl IXpsOMVisualBrush_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6058,8 +6058,8 @@ impl IXpsOMVisualCollection_Vtbl { Append: Append::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6213,8 +6213,8 @@ impl IXpsSignature_Vtbl { SetSignatureXml: SetSignatureXml::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6295,8 +6295,8 @@ impl IXpsSignatureBlock_Vtbl { CreateRequest: CreateRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6342,8 +6342,8 @@ impl IXpsSignatureBlockCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6389,8 +6389,8 @@ impl IXpsSignatureCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Cryptography\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6519,8 +6519,8 @@ impl IXpsSignatureManager_Vtbl { SavePackageToStream: SavePackageToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6656,8 +6656,8 @@ impl IXpsSignatureRequest_Vtbl { GetSignature: GetSignature::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -6703,8 +6703,8 @@ impl IXpsSignatureRequestCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Storage_Xps\"`, `\"Win32_Storage_Packaging_Opc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6899,7 +6899,7 @@ impl IXpsSigningOptions_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs index a37a90d5f0..4a36b4fe01 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AddressBook/impl.rs @@ -51,8 +51,8 @@ impl IABContainer_Vtbl { ResolveNames: ResolveNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IAddrBook_Vtbl { PrepareRecips: PrepareRecips::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IAttach_Vtbl { pub const fn new, Impl: IAttach_Impl, const OFFSET: isize>() -> IAttach_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -265,8 +265,8 @@ impl IDistList_Vtbl { ResolveNames: ResolveNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -286,8 +286,8 @@ impl IMAPIAdviseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNotify: OnNotify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -350,8 +350,8 @@ impl IMAPIContainer_Vtbl { GetSearchCriteria: GetSearchCriteria::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"implement\"`*"] @@ -391,8 +391,8 @@ impl IMAPIControl_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -503,8 +503,8 @@ impl IMAPIFolder_Vtbl { EmptyFolder: EmptyFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"implement\"`*"] @@ -552,8 +552,8 @@ impl IMAPIProgress_Vtbl { SetLimits: SetLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -646,8 +646,8 @@ impl IMAPIProp_Vtbl { GetIDsFromNames: GetIDsFromNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl IMAPIStatus_Vtbl { FlushQueues: FlushQueues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -869,8 +869,8 @@ impl IMAPITable_Vtbl { SetCollapseState: SetCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -883,8 +883,8 @@ impl IMailUser_Vtbl { pub const fn new, Impl: IMailUser_Impl, const OFFSET: isize>() -> IMailUser_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IMessage_Vtbl { SetReadFlag: SetReadFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1106,8 +1106,8 @@ impl IMsgStore_Vtbl { NotifyNewMail: NotifyNewMail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IProfSect_Vtbl { pub const fn new, Impl: IProfSect_Impl, const OFFSET: isize>() -> IProfSect_Vtbl { Self { base__: IMAPIProp_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1165,8 +1165,8 @@ impl IPropData_Vtbl { HrAddObjProps: HrAddObjProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1241,8 +1241,8 @@ impl IProviderAdmin_Vtbl { OpenProfileSection: OpenProfileSection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1321,8 +1321,8 @@ impl ITableData_Vtbl { HrDeleteRows: HrDeleteRows::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl IWABExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AddressBook\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1462,7 +1462,7 @@ impl IWABObject_Vtbl { SetMe: SetMe::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs index 5a0cfcc793..9fcd0bf7f4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Antimalware/impl.rs @@ -22,8 +22,8 @@ impl IAmsiStream_Vtbl { Read: Read::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl IAntimalware_Vtbl { CloseSession: CloseSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -74,8 +74,8 @@ impl IAntimalware2_Vtbl { } Self { base__: IAntimalware_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl IAntimalwareProvider_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl IAntimalwareProvider2_Vtbl { } Self { base__: IAntimalwareProvider_Vtbl::new::(), Notify: Notify:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Antimalware\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -188,7 +188,7 @@ impl IAntimalwareUacProvider_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs index 3a1baceecf..a0feb2ef4d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ApplicationInstallationAndServicing/impl.rs @@ -49,8 +49,8 @@ impl IAssemblyCache_Vtbl { InstallAssembly: InstallAssembly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -87,8 +87,8 @@ impl IAssemblyCacheItem_Vtbl { AbortItem: AbortItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -170,8 +170,8 @@ impl IAssemblyName_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -221,8 +221,8 @@ impl IEnumMsmDependency_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -272,8 +272,8 @@ impl IEnumMsmError_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IEnumMsmString_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -370,8 +370,8 @@ impl IMsmDependencies_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IMsmDependency_Vtbl { Version: Version::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IMsmError_Vtbl { ModuleKeys: ModuleKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IMsmErrors_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -563,8 +563,8 @@ impl IMsmGetFiles_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ModuleFiles: ModuleFiles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IMsmMerge_Vtbl { ExtractFiles: ExtractFiles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -727,8 +727,8 @@ impl IMsmStrings_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1339,8 +1339,8 @@ impl IPMApplicationInfo_Vtbl { set_Title: set_Title::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1363,8 +1363,8 @@ impl IPMApplicationInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl IPMBackgroundServiceAgentInfo_Vtbl { set_IsScheduleAllowed: set_IsScheduleAllowed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1538,8 +1538,8 @@ impl IPMBackgroundServiceAgentInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IPMBackgroundWorkerInfo_Vtbl { IsBootWorker: IsBootWorker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -1645,8 +1645,8 @@ impl IPMBackgroundWorkerInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1921,8 +1921,8 @@ impl IPMDeploymentManager_Vtbl { FixJunctionsForAppsOnSDCard: FixJunctionsForAppsOnSDCard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IPMEnumerationManager_Vtbl { get_StartAppEnumeratorBlob: get_StartAppEnumeratorBlob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2145,8 +2145,8 @@ impl IPMExtensionCachedFileUpdaterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SupportsUpdates: SupportsUpdates:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IPMExtensionContractInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_InvocationInfo: get_InvocationInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2226,8 +2226,8 @@ impl IPMExtensionFileExtensionInfo_Vtbl { get_AllFileTypes: get_AllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IPMExtensionFileOpenPickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2300,8 +2300,8 @@ impl IPMExtensionFileSavePickerInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2362,8 +2362,8 @@ impl IPMExtensionInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2386,8 +2386,8 @@ impl IPMExtensionInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2414,8 +2414,8 @@ impl IPMExtensionProtocolInfo_Vtbl { get_InvocationInfo: get_InvocationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2458,8 +2458,8 @@ impl IPMExtensionShareTargetInfo_Vtbl { SupportsAllFileTypes: SupportsAllFileTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2703,8 +2703,8 @@ impl IPMLiveTileJobInfo_Vtbl { set_DownloadState: set_DownloadState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2727,8 +2727,8 @@ impl IPMLiveTileJobInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2963,8 +2963,8 @@ impl IPMTaskInfo_Vtbl { IsOptedForExtendedMem: IsOptedForExtendedMem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -2987,8 +2987,8 @@ impl IPMTaskInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3250,8 +3250,8 @@ impl IPMTileInfo_Vtbl { set_IsAutoRestoreDisabled: set_IsAutoRestoreDisabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3274,8 +3274,8 @@ impl IPMTileInfoEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3298,8 +3298,8 @@ impl IPMTilePropertyEnumerator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"implement\"`*"] @@ -3339,8 +3339,8 @@ impl IPMTilePropertyInfo_Vtbl { set_Property: set_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ApplicationInstallationAndServicing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3405,7 +3405,7 @@ impl IValidate_Vtbl { Validate: Validate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs index 7dab6c308a..7f3e6d8791 100644 --- a/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/AssessmentTool/impl.rs @@ -18,8 +18,8 @@ impl IAccessibleWinSAT_Vtbl { SetAccessiblityData: SetAccessiblityData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -56,8 +56,8 @@ impl IInitiateWinSATAssessment_Vtbl { CancelAssessment: CancelAssessment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl IProvideWinSATAssessmentInfo_Vtbl { Description: Description::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -194,8 +194,8 @@ impl IProvideWinSATResultsInfo_Vtbl { RatingStateDesc: RatingStateDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -221,8 +221,8 @@ impl IProvideWinSATVisuals_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Bitmap: get_Bitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -248,8 +248,8 @@ impl IQueryAllWinSATAssessments_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), get_AllXML: get_AllXML:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"implement\"`*"] @@ -272,8 +272,8 @@ impl IQueryOEMWinSATCustomization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOEMPrePopulationInfo: GetOEMPrePopulationInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -315,8 +315,8 @@ impl IQueryRecentWinSATAssessment_Vtbl { Info: Info::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_AssessmentTool\"`, `\"implement\"`*"] @@ -343,7 +343,7 @@ impl IWinSATInitiateEvents_Vtbl { WinSATUpdate: WinSATUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs index fb4a30ba1a..9ae42610df 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ClrHosting/impl.rs @@ -12,8 +12,8 @@ impl IActionOnCLREvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEvent: OnEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl IApartmentCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoCallback: DoCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -48,8 +48,8 @@ impl IAppDomainBinding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnAppDomain: OnAppDomain:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl ICLRAppDomainResourceMonitor_Vtbl { GetCurrentCpuTime: GetCurrentCpuTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl ICLRAssemblyIdentityManager_Vtbl { IsStronglyNamed: IsStronglyNamed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl ICLRAssemblyReferenceList_Vtbl { IsAssemblyReferenceInList: IsAssemblyReferenceInList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -235,8 +235,8 @@ impl ICLRControl_Vtbl { SetAppDomainManagerType: SetAppDomainManagerType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_Security\"`, `\"implement\"`*"] @@ -313,8 +313,8 @@ impl ICLRDebugManager_Vtbl { SetSymbolReadingPolicy: SetSymbolReadingPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -344,8 +344,8 @@ impl ICLRDebugging_Vtbl { CanUnloadNow: CanUnloadNow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl ICLRDebuggingLibraryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideLibrary: ProvideLibrary:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl ICLRDomainManager_Vtbl { SetPropertiesForDefaultAppDomain: SetPropertiesForDefaultAppDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -437,8 +437,8 @@ impl ICLRErrorReportingManager_Vtbl { EndCustomDump: EndCustomDump::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl ICLRGCManager_Vtbl { SetGCStartupLimits: SetGCStartupLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -490,8 +490,8 @@ impl ICLRGCManager2_Vtbl { } Self { base__: ICLRGCManager_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -518,8 +518,8 @@ impl ICLRHostBindingPolicyManager_Vtbl { EvaluatePolicy: EvaluatePolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -546,8 +546,8 @@ impl ICLRHostProtectionManager_Vtbl { SetEagerSerializeGrantSets: SetEagerSerializeGrantSets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -564,8 +564,8 @@ impl ICLRIoCompletionManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnComplete: OnComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl ICLRMemoryNotificationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMemoryNotification: OnMemoryNotification:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -660,8 +660,8 @@ impl ICLRMetaHost_Vtbl { ExitProcess: ExitProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -681,8 +681,8 @@ impl ICLRMetaHostPolicy_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestedRuntime: GetRequestedRuntime:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl ICLROnEventManager_Vtbl { UnregisterActionOnEvent: UnregisterActionOnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl ICLRPolicyManager_Vtbl { SetUnhandledExceptionPolicy: SetUnhandledExceptionPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -783,8 +783,8 @@ impl ICLRProbingAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -801,8 +801,8 @@ impl ICLRProfiling_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AttachProfiler: AttachProfiler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -819,8 +819,8 @@ impl ICLRReferenceAssemblyEnum_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -923,8 +923,8 @@ impl ICLRRuntimeHost_Vtbl { ExecuteInDefaultAppDomain: ExecuteInDefaultAppDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl ICLRRuntimeInfo_Vtbl { IsStarted: IsStarted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1270,8 +1270,8 @@ impl ICLRStrongName_Vtbl { StrongNameTokenFromPublicKey: StrongNameTokenFromPublicKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1307,8 +1307,8 @@ impl ICLRStrongName2_Vtbl { StrongNameSignatureVerificationEx2: StrongNameSignatureVerificationEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl ICLRStrongName3_Vtbl { StrongNameDigestEmbed: StrongNameDigestEmbed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1402,8 +1402,8 @@ impl ICLRSyncManager_Vtbl { DeleteRWLockOwnerIterator: DeleteRWLockOwnerIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl ICLRTask_Vtbl { SetTaskIdentifier: SetTaskIdentifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1545,8 +1545,8 @@ impl ICLRTask2_Vtbl { EndPreventAsyncAbort: EndPreventAsyncAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1612,8 +1612,8 @@ impl ICLRTaskManager_Vtbl { GetCurrentTaskType: GetCurrentTaskType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1640,8 +1640,8 @@ impl ICatalogServices_Vtbl { NotAutodone: NotAutodone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -1682,8 +1682,8 @@ impl ICorConfiguration_Vtbl { AddDebuggerSpecialThread: AddDebuggerSpecialThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1898,8 +1898,8 @@ impl ICorRuntimeHost_Vtbl { CurrentDomain: CurrentDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_IO\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -2034,8 +2034,8 @@ impl ICorThreadpool_Vtbl { CorGetAvailableThreads: CorGetAvailableThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2061,8 +2061,8 @@ impl IDebuggerInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsDebuggerAttached: IsDebuggerAttached:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2096,8 +2096,8 @@ impl IDebuggerThreadControl_Vtbl { StartBlockingForDebugger: StartBlockingForDebugger::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2145,8 +2145,8 @@ impl IGCHost_Vtbl { SetVirtualMemLimit: SetVirtualMemLimit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2163,8 +2163,8 @@ impl IGCHost2_Vtbl { } Self { base__: IGCHost_Vtbl::new::(), SetGCStartupLimitsEx: SetGCStartupLimitsEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2181,8 +2181,8 @@ impl IGCHostControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestVirtualMemLimit: RequestVirtualMemLimit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2216,8 +2216,8 @@ impl IGCThreadControl_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IHostAssemblyManager_Vtbl { GetAssemblyStore: GetAssemblyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2287,8 +2287,8 @@ impl IHostAssemblyStore_Vtbl { ProvideModule: ProvideModule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IHostAutoEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Wait: Wait::, Set: Set:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl IHostControl_Vtbl { SetAppDomainManager: SetAppDomainManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2390,8 +2390,8 @@ impl IHostCrst_Vtbl { SetSpinCount: SetSpinCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IHostGCManager_Vtbl { SuspensionEnding: SuspensionEnding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2549,8 +2549,8 @@ impl IHostIoCompletionManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2584,8 +2584,8 @@ impl IHostMalloc_Vtbl { Free: Free::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2619,8 +2619,8 @@ impl IHostManualEvent_Vtbl { Set: Set::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2715,8 +2715,8 @@ impl IHostMemoryManager_Vtbl { ReleasedVirtualAddressSpace: ReleasedVirtualAddressSpace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2750,8 +2750,8 @@ impl IHostPolicyManager_Vtbl { OnFailure: OnFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2774,8 +2774,8 @@ impl IHostSecurityContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Capture: Capture:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2845,8 +2845,8 @@ impl IHostSecurityManager_Vtbl { SetSecurityContext: SetSecurityContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -2879,8 +2879,8 @@ impl IHostSemaphore_Vtbl { ReleaseSemaphore: ReleaseSemaphore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3007,8 +3007,8 @@ impl IHostSyncManager_Vtbl { CreateSemaphoreA: CreateSemaphoreA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3069,8 +3069,8 @@ impl IHostTask_Vtbl { SetCLRTask: SetCLRTask::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IHostTaskManager_Vtbl { SetCLRTaskManager: SetCLRTaskManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl IHostThreadpoolManager_Vtbl { GetMinThreads: GetMinThreads::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3347,8 +3347,8 @@ impl IManagedObject_Vtbl { GetObjectIdentity: GetObjectIdentity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3374,8 +3374,8 @@ impl IObjectHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Unwrap: Unwrap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3461,8 +3461,8 @@ impl ITypeName_Vtbl { GetAssemblyName: GetAssemblyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3565,8 +3565,8 @@ impl ITypeNameBuilder_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ClrHosting\"`, `\"implement\"`*"] @@ -3599,7 +3599,7 @@ impl ITypeNameFactory_Vtbl { GetTypeNameBuilder: GetTypeNameBuilder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs index c1a91bbc3f..059da8b307 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/CallObj/impl.rs @@ -174,8 +174,8 @@ impl ICallFrame_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"implement\"`*"] @@ -192,8 +192,8 @@ impl ICallFrameEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -213,8 +213,8 @@ impl ICallFrameWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnWalkInterface: OnWalkInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -264,8 +264,8 @@ impl ICallIndirect_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl ICallInterceptor_Vtbl { GetRegisteredSink: GetRegisteredSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl ICallUnmarshal_Vtbl { ReleaseMarshalData: ReleaseMarshalData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_CallObj\"`, `\"implement\"`*"] @@ -366,7 +366,7 @@ impl IInterfaceRelated_Vtbl { GetIID: GetIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs index 4b553f8cd7..c77e1b1b70 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/ChannelCredentials/impl.rs @@ -81,7 +81,7 @@ impl IChannelCredentials_Vtbl { SetIssuedToken: SetIssuedToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs index c6fd5d4546..3d2fe574a1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Events/impl.rs @@ -5,8 +5,8 @@ impl IDontSupportEventSubscription_Vtbl { pub const fn new, Impl: IDontSupportEventSubscription_Impl, const OFFSET: isize>() -> IDontSupportEventSubscription_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IEnumEventObject_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -210,8 +210,8 @@ impl IEventClass_Vtbl { SetTypeLib: SetTypeLib::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -307,8 +307,8 @@ impl IEventClass2_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IEventControl_Vtbl { SetDefaultQuery: SetDefaultQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -412,8 +412,8 @@ impl IEventObjectChange_Vtbl { ChangedPublisher: ChangedPublisher::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl IEventObjectChange2_Vtbl { ChangedEventClass: ChangedEventClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -523,8 +523,8 @@ impl IEventObjectCollection_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -580,8 +580,8 @@ impl IEventProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl IEventPublisher_Vtbl { GetDefaultPropertyCollection: GetDefaultPropertyCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1094,8 +1094,8 @@ impl IEventSubscription_Vtbl { SetInterfaceID: SetInterfaceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1171,8 +1171,8 @@ impl IEventSystem_Vtbl { RemoveS: RemoveS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1192,8 +1192,8 @@ impl IFiringControl_Vtbl { } Self { base__: super::IDispatch_Vtbl::new::(), FireSubscription: FireSubscription:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IMultiInterfaceEventControl_Vtbl { SetFireInParallel: SetFireInParallel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -1310,8 +1310,8 @@ impl IMultiInterfacePublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Events\"`, `\"implement\"`*"] @@ -1338,7 +1338,7 @@ impl IPublisherFilter_Vtbl { PrepareToFire: PrepareToFire::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs index 33c54ed402..f500c8918b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Marshal/impl.rs @@ -62,8 +62,8 @@ impl IMarshal_Vtbl { DisconnectObject: DisconnectObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"implement\"`*"] @@ -73,8 +73,8 @@ impl IMarshal2_Vtbl { pub const fn new, Impl: IMarshal2_Impl, const OFFSET: isize>() -> IMarshal2_Vtbl { Self { base__: IMarshal_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Marshal\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -103,7 +103,7 @@ impl IMarshalingStream_Vtbl { GetMarshalingContextAttribute: GetMarshalingContextAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs index c9aaf4cac4..b35c617ea7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/StructuredStorage/impl.rs @@ -29,8 +29,8 @@ impl IDirectWriterLock_Vtbl { HaveWriteAccess: HaveWriteAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IEnumSTATPROPSETSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -131,8 +131,8 @@ impl IEnumSTATPROPSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl IEnumSTATSTG_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -239,8 +239,8 @@ impl IFillLockBytes_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl ILayoutStorage_Vtbl { ReLayoutDocfileOnILockBytes: ReLayoutDocfileOnILockBytes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl ILockBytes_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -413,8 +413,8 @@ impl IPersistStorage_Vtbl { HandsOffStorage: HandsOffStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -440,8 +440,8 @@ impl IPropertyBag_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IPropertyBag2_Vtbl { LoadObject: LoadObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl IPropertySetStorage_Vtbl { Enum: Enum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -665,8 +665,8 @@ impl IPropertyStorage_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl IRootStorage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SwitchToFile: SwitchToFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -835,7 +835,7 @@ impl IStorage_Vtbl { Stat: Stat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs index 16a5d57b05..99e2c4b7eb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/UI/impl.rs @@ -15,8 +15,8 @@ impl IDummyHICONIncluder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Dummy: Dummy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_UI\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -46,7 +46,7 @@ impl IThumbnailExtractor_Vtbl { OnFileUpdated: OnFileUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs index 1cd28b9a46..c043df2e69 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/Urlmon/impl.rs @@ -21,8 +21,8 @@ impl IBindCallbackRedirect_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Redirect: Redirect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -45,8 +45,8 @@ impl IBindHttpSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIgnoreCertMask: GetIgnoreCertMask:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -69,8 +69,8 @@ impl IBindProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateBinding: CreateBinding:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -103,8 +103,8 @@ impl ICatalogFileInfo_Vtbl { GetJavaTrust: GetJavaTrust::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl ICodeInstall_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnCodeInstallProblem: OnCodeInstallProblem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -159,8 +159,8 @@ impl IDataFilter_Vtbl { SetEncodingLevel: SetEncodingLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -199,8 +199,8 @@ impl IEncodingFilterFactory_Vtbl { GetDefaultFilter: GetDefaultFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -226,8 +226,8 @@ impl IGetBindHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBindHandle: GetBindHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl IHttpNegotiate_Vtbl { OnResponse: OnResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -284,8 +284,8 @@ impl IHttpNegotiate2_Vtbl { } Self { base__: IHttpNegotiate_Vtbl::new::(), GetRootSecurityId: GetRootSecurityId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -305,8 +305,8 @@ impl IHttpNegotiate3_Vtbl { GetSerializedClientCertContext: GetSerializedClientCertContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -326,8 +326,8 @@ impl IHttpSecurity_Vtbl { } Self { base__: IWindowForBindingUI_Vtbl::new::(), OnSecurityProblem: OnSecurityProblem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IInternet_Vtbl { pub const fn new, Impl: IInternet_Impl, const OFFSET: isize>() -> IInternet_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IInternetBindInfo_Vtbl { GetBindString: GetBindString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -389,8 +389,8 @@ impl IInternetBindInfoEx_Vtbl { } Self { base__: IInternetBindInfo_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -424,8 +424,8 @@ impl IInternetHostSecurityManager_Vtbl { QueryCustomPolicy: QueryCustomPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -458,8 +458,8 @@ impl IInternetPriority_Vtbl { GetPriority: GetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -509,8 +509,8 @@ impl IInternetProtocol_Vtbl { UnlockRequest: UnlockRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IInternetProtocolEx_Vtbl { } Self { base__: IInternetProtocol_Vtbl::new::(), StartEx: StartEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IInternetProtocolInfo_Vtbl { QueryInfo: QueryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -631,8 +631,8 @@ impl IInternetProtocolRoot_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -673,8 +673,8 @@ impl IInternetProtocolSink_Vtbl { ReportResult: ReportResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -708,8 +708,8 @@ impl IInternetProtocolSinkStackable_Vtbl { RollbackSwitch: RollbackSwitch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -784,8 +784,8 @@ impl IInternetSecurityManager_Vtbl { GetZoneMappings: GetZoneMappings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl IInternetSecurityManagerEx_Vtbl { } Self { base__: IInternetSecurityManager_Vtbl::new::(), ProcessUrlActionEx: ProcessUrlActionEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IInternetSecurityManagerEx2_Vtbl { QueryCustomPolicyEx2: QueryCustomPolicyEx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -881,8 +881,8 @@ impl IInternetSecurityMgrSite_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -944,8 +944,8 @@ impl IInternetSession_Vtbl { GetSessionOption: GetSessionOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IInternetThreadSwitch_Vtbl { Continue: Continue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1079,8 +1079,8 @@ impl IInternetZoneManager_Vtbl { CopyTemplatePoliciesToZone: CopyTemplatePoliciesToZone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1110,8 +1110,8 @@ impl IInternetZoneManagerEx_Vtbl { SetZoneActionPolicyEx: SetZoneActionPolicyEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1155,8 +1155,8 @@ impl IInternetZoneManagerEx2_Vtbl { FixUnsecureSettings: FixUnsecureSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1173,8 +1173,8 @@ impl IMonikerProp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PutProperty: PutProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1244,8 +1244,8 @@ impl IPersistMoniker_Vtbl { GetCurMoniker: GetCurMoniker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Data_Xml_MsXml\"`, `\"implement\"`*"] @@ -1289,8 +1289,8 @@ impl ISoftDistExt_Vtbl { AsyncInstallDistributionUnit: AsyncInstallDistributionUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IUriBuilderFactory_Vtbl { CreateInitializedIUriBuilder: CreateInitializedIUriBuilder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1353,8 +1353,8 @@ impl IUriContainer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIUri: GetIUri:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IWinInetCacheHints_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetCacheExtension: SetCacheExtension:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl IWinInetCacheHints2_Vtbl { } Self { base__: IWinInetCacheHints_Vtbl::new::(), SetCacheExtension2: SetCacheExtension2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IWinInetFileStream_Vtbl { SetDeleteFile: SetDeleteFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IWinInetHttpInfo_Vtbl { } Self { base__: IWinInetInfo_Vtbl::new::(), QueryInfo: QueryInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IWinInetHttpTimeouts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRequestTimeouts: GetRequestTimeouts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IWinInetInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryOption: QueryOption:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1498,8 +1498,8 @@ impl IWindowForBindingUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1516,8 +1516,8 @@ impl IWrappedProtocol_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWrapperCode: GetWrapperCode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1557,8 +1557,8 @@ impl IZoneIdentifier_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com_Urlmon\"`, `\"implement\"`*"] @@ -1625,7 +1625,7 @@ impl IZoneIdentifier2_Vtbl { RemoveAppZoneId: RemoveAppZoneId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs index 6274d1cfd0..b4e5280151 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Com/impl.rs @@ -81,8 +81,8 @@ impl AsyncIAdviseSink_Vtbl { Finish_OnClose: Finish_OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl AsyncIAdviseSink2_Vtbl { Finish_OnLinkSrcChange: Finish_OnLinkSrcChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl AsyncIMultiQI_Vtbl { Finish_QueryMultipleInterfaces: Finish_QueryMultipleInterfaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -182,8 +182,8 @@ impl AsyncIPipeByte_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl AsyncIPipeDouble_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl AsyncIPipeLong_Vtbl { Finish_Push: Finish_Push::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -322,8 +322,8 @@ impl AsyncIUnknown_Vtbl { Finish_Release: Finish_Release::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -346,8 +346,8 @@ impl IActivationFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleActivation: HandleActivation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl IAddrExclusionControl_Vtbl { UpdateAddrExclusionList: UpdateAddrExclusionList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -402,8 +402,8 @@ impl IAddrTrackingControl_Vtbl { DisableCOMDynamicAddrTracking: DisableCOMDynamicAddrTracking::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -454,8 +454,8 @@ impl IAdviseSink_Vtbl { OnClose: OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl IAdviseSink2_Vtbl { } Self { base__: IAdviseSink_Vtbl::new::(), OnLinkSrcChange: OnLinkSrcChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -486,8 +486,8 @@ impl IAgileObject_Vtbl { pub const fn new, Impl: IAgileObject_Impl, const OFFSET: isize>() -> IAgileObject_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl IAsyncManager_Vtbl { GetState: GetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -562,8 +562,8 @@ impl IAsyncRpcChannelBuffer_Vtbl { GetDestCtxEx: GetDestCtxEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -583,8 +583,8 @@ impl IAuthenticate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Authenticate: Authenticate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -604,8 +604,8 @@ impl IAuthenticateEx_Vtbl { } Self { base__: IAuthenticate_Vtbl::new::(), AuthenticateEx: AuthenticateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -706,8 +706,8 @@ impl IBindCtx_Vtbl { RevokeObjectParam: RevokeObjectParam::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -741,8 +741,8 @@ impl IBindHost_Vtbl { MonikerBindToObject: MonikerBindToObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl IBindStatusCallback_Vtbl { OnObjectAvailable: OnObjectAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -841,8 +841,8 @@ impl IBindStatusCallbackEx_Vtbl { } Self { base__: IBindStatusCallback_Vtbl::new::(), GetBindInfoEx: GetBindInfoEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -903,8 +903,8 @@ impl IBinding_Vtbl { GetBindResult: GetBindResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -927,8 +927,8 @@ impl IBlockingLock_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lock: Lock::, Unlock: Unlock:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -951,8 +951,8 @@ impl ICallFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCall: CreateCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -979,8 +979,8 @@ impl ICancelMethodCalls_Vtbl { TestCancel: TestCancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1065,8 +1065,8 @@ impl ICatInformation_Vtbl { EnumReqCategoriesOfClass: EnumReqCategoriesOfClass::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1121,8 +1121,8 @@ impl ICatRegister_Vtbl { UnRegisterClassReqCategories: UnRegisterClassReqCategories::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IChannelHook_Vtbl { ServerFillBuffer: ServerFillBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IClassActivator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassObject: GetClassObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1226,8 +1226,8 @@ impl IClassFactory_Vtbl { LockServer: LockServer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1267,8 +1267,8 @@ impl IClientSecurity_Vtbl { CopyProxy: CopyProxy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1327,8 +1327,8 @@ impl IComThreadingInfo_Vtbl { SetCurrentLogicalThreadId: SetCurrentLogicalThreadId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl IConnectionPoint_Vtbl { EnumConnections: EnumConnections::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1440,8 +1440,8 @@ impl IConnectionPointContainer_Vtbl { FindConnectionPoint: FindConnectionPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IContext_Vtbl { EnumContextProps: EnumContextProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1506,8 +1506,8 @@ impl IContextCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ContextCallback: ContextCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1560,8 +1560,8 @@ impl IDataAdviseHolder_Vtbl { SendOnDataChange: SendOnDataChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1664,8 +1664,8 @@ impl IDataObject_Vtbl { EnumDAdvise: EnumDAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1721,8 +1721,8 @@ impl IDispatch_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1769,8 +1769,8 @@ impl IEnumCATEGORYINFO_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IEnumConnectionPoints_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1865,8 +1865,8 @@ impl IEnumConnections_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1926,8 +1926,8 @@ impl IEnumContextProps_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1974,8 +1974,8 @@ impl IEnumFORMATETC_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2022,8 +2022,8 @@ impl IEnumGUID_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2070,8 +2070,8 @@ impl IEnumMoniker_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2118,8 +2118,8 @@ impl IEnumSTATDATA_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2166,8 +2166,8 @@ impl IEnumString_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2214,8 +2214,8 @@ impl IEnumUnknown_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2293,8 +2293,8 @@ impl IErrorInfo_Vtbl { GetHelpContext: GetHelpContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IErrorLog_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddError: AddError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2342,8 +2342,8 @@ impl IExternalConnection_Vtbl { ReleaseConnection: ReleaseConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2353,8 +2353,8 @@ impl IFastRundown_Vtbl { pub const fn new, Impl: IFastRundown_Impl, const OFFSET: isize>() -> IFastRundown_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2371,8 +2371,8 @@ impl IForegroundTransfer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowForegroundTransfer: AllowForegroundTransfer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2412,8 +2412,8 @@ impl IGlobalInterfaceTable_Vtbl { GetInterfaceFromGlobal: GetInterfaceFromGlobal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2442,8 +2442,8 @@ impl IGlobalOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2484,8 +2484,8 @@ impl IInitializeSpy_Vtbl { PostUninitialize: PostUninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IInternalUnknown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInternalInterface: QueryInternalInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2543,8 +2543,8 @@ impl IMachineGlobalObjectTable_Vtbl { RevokeObject: RevokeObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2599,8 +2599,8 @@ impl IMalloc_Vtbl { HeapMinimize: HeapMinimize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2700,8 +2700,8 @@ impl IMallocSpy_Vtbl { PostHeapMinimize: PostHeapMinimize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2876,8 +2876,8 @@ impl IMoniker_Vtbl { IsSystemMoniker: IsSystemMoniker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2894,8 +2894,8 @@ impl IMultiQI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryMultipleInterfaces: QueryMultipleInterfaces:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2905,8 +2905,8 @@ impl INoMarshal_Vtbl { pub const fn new, Impl: INoMarshal_Impl, const OFFSET: isize>() -> INoMarshal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2933,8 +2933,8 @@ impl IOplockStorage_Vtbl { OpenStorageEx: OpenStorageEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2967,8 +2967,8 @@ impl IPSFactoryBuffer_Vtbl { CreateStub: CreateStub::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2991,8 +2991,8 @@ impl IPersist_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassID: GetClassID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3049,8 +3049,8 @@ impl IPersistFile_Vtbl { GetCurFile: GetCurFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3107,8 +3107,8 @@ impl IPersistMemory_Vtbl { InitNew: InitNew::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3158,8 +3158,8 @@ impl IPersistStream_Vtbl { GetSizeMax: GetSizeMax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3216,8 +3216,8 @@ impl IPersistStreamInit_Vtbl { InitNew: InitNew::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3240,8 +3240,8 @@ impl IPipeByte_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3264,8 +3264,8 @@ impl IPipeDouble_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3288,8 +3288,8 @@ impl IPipeLong_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Pull: Pull::, Push: Push:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3306,8 +3306,8 @@ impl IProcessInitControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResetInitializerTimeout: ResetInitializerTimeout:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3334,8 +3334,8 @@ impl IProcessLock_Vtbl { ReleaseRefOnProcess: ReleaseRefOnProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3355,8 +3355,8 @@ impl IProgressNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnProgress: OnProgress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3373,8 +3373,8 @@ impl IROTData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetComparisonData: GetComparisonData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3391,8 +3391,8 @@ impl IReleaseMarshalBuffers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReleaseMarshalBuffer: ReleaseMarshalBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3440,8 +3440,8 @@ impl IRpcChannelBuffer_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3464,8 +3464,8 @@ impl IRpcChannelBuffer2_Vtbl { } Self { base__: IRpcChannelBuffer_Vtbl::new::(), GetProtocolVersion: GetProtocolVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3533,8 +3533,8 @@ impl IRpcChannelBuffer3_Vtbl { RegisterAsync: RegisterAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IRpcHelper_Vtbl { GetIIDFromOBJREF: GetIIDFromOBJREF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3603,8 +3603,8 @@ impl IRpcOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Set: Set::, Query: Query:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3631,8 +3631,8 @@ impl IRpcProxyBuffer_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IRpcStubBuffer_Vtbl { DebugServerRelease: DebugServerRelease::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3712,8 +3712,8 @@ impl IRpcSyntaxNegotiate_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NegotiateSyntax: NegotiateSyntax:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3770,8 +3770,8 @@ impl IRunnableObject_Vtbl { SetContainedObject: SetContainedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3860,8 +3860,8 @@ impl IRunningObjectTable_Vtbl { EnumRunning: EnumRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3884,8 +3884,8 @@ impl ISequentialStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Read: Read::, Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3929,8 +3929,8 @@ impl IServerSecurity_Vtbl { IsImpersonating: IsImpersonating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3947,8 +3947,8 @@ impl IServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryService: QueryService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3971,8 +3971,8 @@ impl IStdMarshalInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassForHandler: GetClassForHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4057,8 +4057,8 @@ impl IStream_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4068,8 +4068,8 @@ impl ISupportAllowLowerTrustActivation_Vtbl { pub const fn new, Impl: ISupportAllowLowerTrustActivation_Impl, const OFFSET: isize>() -> ISupportAllowLowerTrustActivation_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4089,8 +4089,8 @@ impl ISupportErrorInfo_Vtbl { InterfaceSupportsErrorInfo: InterfaceSupportsErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4117,8 +4117,8 @@ impl ISurrogate_Vtbl { FreeSurrogate: FreeSurrogate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4175,8 +4175,8 @@ impl ISurrogateService_Vtbl { ProcessShutdown: ProcessShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4210,8 +4210,8 @@ impl ISynchronize_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4244,8 +4244,8 @@ impl ISynchronizeContainer_Vtbl { WaitMultiple: WaitMultiple::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4265,8 +4265,8 @@ impl ISynchronizeEvent_Vtbl { } Self { base__: ISynchronizeHandle_Vtbl::new::(), SetEventHandle: SetEventHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4292,8 +4292,8 @@ impl ISynchronizeHandle_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4310,8 +4310,8 @@ impl ISynchronizeMutex_Vtbl { } Self { base__: ISynchronize_Vtbl::new::(), ReleaseMutex: ReleaseMutex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4328,8 +4328,8 @@ impl ITimeAndNoticeControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SuppressChanges: SuppressChanges:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4359,8 +4359,8 @@ impl ITypeComp_Vtbl { BindType: BindType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4557,8 +4557,8 @@ impl ITypeInfo_Vtbl { ReleaseVarDesc: ReleaseVarDesc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4763,8 +4763,8 @@ impl ITypeInfo2_Vtbl { GetAllImplTypeCustData: GetAllImplTypeCustData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4880,8 +4880,8 @@ impl ITypeLib_Vtbl { ReleaseTLibAttr: ReleaseTLibAttr::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4937,8 +4937,8 @@ impl ITypeLib2_Vtbl { GetAllCustData: GetAllCustData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5055,8 +5055,8 @@ impl ITypeLibRegistration_Vtbl { GetHelpDir: GetHelpDir::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5079,8 +5079,8 @@ impl ITypeLibRegistrationReader_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumTypeLibRegistrations: EnumTypeLibRegistrations:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5403,8 +5403,8 @@ impl IUri_Vtbl { IsEqual: IsEqual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5611,8 +5611,8 @@ impl IUriBuilder_Vtbl { HasBeenModified: HasBeenModified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5629,8 +5629,8 @@ impl IUrlMon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AsyncGetClassBits: AsyncGetClassBits:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5663,7 +5663,7 @@ impl IWaitMultiple_Vtbl { AddSynchronize: AddSynchronize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs index 99f9a4c3e0..4399f6f780 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ComponentServices/impl.rs @@ -76,8 +76,8 @@ impl ContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl ContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IAppDomainHelper_Vtbl { DoCallback: DoCallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -190,8 +190,8 @@ impl IAssemblyLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetModules: GetModules:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IAsyncErrorNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl ICOMAdminCatalog_Vtbl { GetEventClassesForIID: GetEventClassesForIID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl ICOMAdminCatalog2_Vtbl { GetComponentVersionCount: GetComponentVersionCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl ICOMLBArguments_Vtbl { SetMachineName: SetMachineName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1004,8 +1004,8 @@ impl ICatalogCollection_Vtbl { PopulateByQuery: PopulateByQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1106,8 +1106,8 @@ impl ICatalogObject_Vtbl { IsPropertyWriteOnly: IsPropertyWriteOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1124,8 +1124,8 @@ impl ICheckSxsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameSxsConfig: IsSameSxsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1187,8 +1187,8 @@ impl IComActivityEvents_Vtbl { OnActivityLeaveSame: OnActivityLeaveSame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IComApp2Events_Vtbl { OnAppRecycle2: OnAppRecycle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1274,8 +1274,8 @@ impl IComAppEvents_Vtbl { OnAppForceShutdown: OnAppForceShutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1396,8 +1396,8 @@ impl IComCRMEvents_Vtbl { OnCRMDeliver: OnCRMDeliver::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1414,8 +1414,8 @@ impl IComExceptionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnExceptionUser: OnExceptionUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IComIdentityEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIISRequestInfo: OnIISRequestInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1460,8 +1460,8 @@ impl IComInstance2Events_Vtbl { OnObjectDestroy2: OnObjectDestroy2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IComInstanceEvents_Vtbl { OnObjectDestroy: OnObjectDestroy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1540,8 +1540,8 @@ impl IComLTxEvents_Vtbl { OnLtxTransactionPromote: OnLtxTransactionPromote::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1575,8 +1575,8 @@ impl IComMethod2Events_Vtbl { OnMethodException2: OnMethodException2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1610,8 +1610,8 @@ impl IComMethodEvents_Vtbl { OnMethodException: OnMethodException::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1664,8 +1664,8 @@ impl IComMtaThreadPoolKnobs_Vtbl { MTAGetThrottleValue: MTAGetThrottleValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1682,8 +1682,8 @@ impl IComObjectConstruction2Events_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct2: OnObjectConstruct2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1700,8 +1700,8 @@ impl IComObjectConstructionEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnObjectConstruct: OnObjectConstruct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1756,8 +1756,8 @@ impl IComObjectEvents_Vtbl { OnSetAbort: OnSetAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1798,8 +1798,8 @@ impl IComObjectPool2Events_Vtbl { OnObjPoolGetFromTx2: OnObjPoolGetFromTx2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1840,8 +1840,8 @@ impl IComObjectPoolEvents_Vtbl { OnObjPoolGetFromTx: OnObjPoolGetFromTx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IComObjectPoolEvents2_Vtbl { OnObjPoolCreatePool: OnObjPoolCreatePool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -1952,8 +1952,8 @@ impl IComQCEvents_Vtbl { OnQCPlayback: OnQCPlayback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2004,8 +2004,8 @@ impl IComResourceEvents_Vtbl { OnResourceTrack: OnResourceTrack::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2035,8 +2035,8 @@ impl IComSecurityEvents_Vtbl { OnAuthenticateFail: OnAuthenticateFail::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2162,8 +2162,8 @@ impl IComStaThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2279,8 +2279,8 @@ impl IComStaThreadPoolKnobs2_Vtbl { SetWaitTimeForThreadCleanup: SetWaitTimeForThreadCleanup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2370,8 +2370,8 @@ impl IComThreadEvents_Vtbl { OnThreadUnassignApartment: OnThreadUnassignApartment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2417,8 +2417,8 @@ impl IComTrackingInfoCollection_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2435,8 +2435,8 @@ impl IComTrackingInfoEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewTrackingInfo: OnNewTrackingInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2462,8 +2462,8 @@ impl IComTrackingInfoObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl IComTrackingInfoProperties_Vtbl { GetPropName: GetPropName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2547,8 +2547,8 @@ impl IComTransaction2Events_Vtbl { OnTransactionCommit2: OnTransactionCommit2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2592,8 +2592,8 @@ impl IComTransactionEvents_Vtbl { OnTransactionCommit: OnTransactionCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2613,8 +2613,8 @@ impl IComUserEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUserEvent: OnUserEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2671,8 +2671,8 @@ impl IContextProperties_Vtbl { RemoveProperty: RemoveProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2702,8 +2702,8 @@ impl IContextSecurityPerimeter_Vtbl { SetPerimeterFlag: SetPerimeterFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2747,8 +2747,8 @@ impl IContextState_Vtbl { GetMyTransactionVote: GetMyTransactionVote::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2765,8 +2765,8 @@ impl ICreateWithLocalTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstanceWithSysTx: CreateInstanceWithSysTx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -2783,8 +2783,8 @@ impl ICreateWithTipTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2804,8 +2804,8 @@ impl ICreateWithTransactionEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateInstance: CreateInstance:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2915,8 +2915,8 @@ impl ICrmCompensator_Vtbl { EndAbort: EndAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3026,8 +3026,8 @@ impl ICrmCompensatorVariants_Vtbl { EndAbortVariants: EndAbortVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3095,8 +3095,8 @@ impl ICrmFormatLogRecords_Vtbl { GetColumnVariants: GetColumnVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3167,8 +3167,8 @@ impl ICrmLogControl_Vtbl { WriteLogRecord: WriteLogRecord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3210,8 +3210,8 @@ impl ICrmMonitor_Vtbl { HoldClerk: HoldClerk::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3318,8 +3318,8 @@ impl ICrmMonitorClerks_Vtbl { ActivityId: ActivityId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl ICrmMonitorLogRecords_Vtbl { GetLogRecordVariants: GetLogRecordVariants::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3453,8 +3453,8 @@ impl IDispenserDriver_Vtbl { DestroyResourceS: DestroyResourceS::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3487,8 +3487,8 @@ impl IDispenserManager_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3535,8 +3535,8 @@ impl IEnumNames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IEventServerTrace_Vtbl { EnumTraceGuid: EnumTraceGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3651,8 +3651,8 @@ impl IGetAppTrackerData_Vtbl { GetSuggestedPollingInterval: GetSuggestedPollingInterval::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3695,8 +3695,8 @@ impl IGetContextProperties_Vtbl { EnumNames: EnumNames::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3722,8 +3722,8 @@ impl IGetSecurityCallContext_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetSecurityCallContext: GetSecurityCallContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3795,8 +3795,8 @@ impl IHolder_Vtbl { RequestDestroyResource: RequestDestroyResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3833,8 +3833,8 @@ impl ILBEvents_Vtbl { EngineDefined: EngineDefined::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3882,8 +3882,8 @@ impl IMTSActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -3900,8 +3900,8 @@ impl IMTSCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3927,8 +3927,8 @@ impl IMTSLocator_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetEventDispatcher: GetEventDispatcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3958,8 +3958,8 @@ impl IManagedActivationEvents_Vtbl { DestroyManagedStub: DestroyManagedStub::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4015,8 +4015,8 @@ impl IManagedObjectInfo_Vtbl { SetWrapperStrength: SetWrapperStrength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4033,8 +4033,8 @@ impl IManagedPoolAction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LastRelease: LastRelease:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4054,8 +4054,8 @@ impl IManagedPooledObj_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetHeld: SetHeld:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4144,8 +4144,8 @@ impl IMessageMover_Vtbl { MoveMessages: MoveMessages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4226,8 +4226,8 @@ impl IMtsEventInfo_Vtbl { get_Value: get_Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4302,8 +4302,8 @@ impl IMtsEvents_Vtbl { GetProcessID: GetProcessID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl IMtsGrp_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl IObjPool_Vtbl { Reserved6: Reserved6::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4436,8 +4436,8 @@ impl IObjectConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4457,8 +4457,8 @@ impl IObjectConstructString_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConstructString: ConstructString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4530,8 +4530,8 @@ impl IObjectContext_Vtbl { IsCallerInRole: IsCallerInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IObjectContextActivity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetActivityId: GetActivityId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4606,8 +4606,8 @@ impl IObjectContextInfo_Vtbl { GetContextId: GetContextId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4644,8 +4644,8 @@ impl IObjectContextInfo2_Vtbl { GetApplicationInstanceId: GetApplicationInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4662,8 +4662,8 @@ impl IObjectContextTip_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTipUrl: GetTipUrl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4700,8 +4700,8 @@ impl IObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4728,8 +4728,8 @@ impl IPlaybackControl_Vtbl { FinalServerRetry: FinalServerRetry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4749,8 +4749,8 @@ impl IPoolManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ShutdownPool: ShutdownPool:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -4777,8 +4777,8 @@ impl IProcessInitializer_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4872,8 +4872,8 @@ impl ISecurityCallContext_Vtbl { IsUserInRole: IsUserInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4928,8 +4928,8 @@ impl ISecurityCallersColl_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4984,8 +4984,8 @@ impl ISecurityIdentityColl_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5036,8 +5036,8 @@ impl ISecurityProperty_Vtbl { ReleaseSID: ReleaseSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5064,8 +5064,8 @@ impl ISelectCOMLBServer_Vtbl { GetLBServer: GetLBServer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5092,8 +5092,8 @@ impl ISendMethodEvents_Vtbl { SendMethodReturn: SendMethodReturn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5134,8 +5134,8 @@ impl IServiceActivity_Vtbl { UnbindFromThread: UnbindFromThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5152,8 +5152,8 @@ impl IServiceCall_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCall: OnCall:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5170,8 +5170,8 @@ impl IServiceComTIIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComTIIntrinsicsConfig: ComTIIntrinsicsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5188,8 +5188,8 @@ impl IServiceIISIntrinsicsConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IISIntrinsicsConfig: IISIntrinsicsConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5209,8 +5209,8 @@ impl IServiceInheritanceConfig_Vtbl { ContainingContextTreatment: ContainingContextTreatment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5237,8 +5237,8 @@ impl IServicePartitionConfig_Vtbl { PartitionID: PartitionID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5272,8 +5272,8 @@ impl IServicePool_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5365,8 +5365,8 @@ impl IServicePoolConfig_Vtbl { ClassFactory: ClassFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5400,8 +5400,8 @@ impl IServiceSxsConfig_Vtbl { SxsDirectory: SxsDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5418,8 +5418,8 @@ impl IServiceSynchronizationConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConfigureSynchronization: ConfigureSynchronization:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -5439,8 +5439,8 @@ impl IServiceSysTxnConfig_Vtbl { } Self { base__: IServiceTransactionConfig_Vtbl::new::(), ConfigureBYOTSysTxn: ConfigureBYOTSysTxn:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5467,8 +5467,8 @@ impl IServiceThreadPoolConfig_Vtbl { SetBindingInfo: SetBindingInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5485,8 +5485,8 @@ impl IServiceTrackerConfig_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TrackerConfig: TrackerConfig:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -5506,8 +5506,8 @@ impl IServiceTransactionConfig_Vtbl { } Self { base__: IServiceTransactionConfigBase_Vtbl::new::(), ConfigureBYOT: ConfigureBYOT:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5555,8 +5555,8 @@ impl IServiceTransactionConfigBase_Vtbl { NewTransactionDescription: NewTransactionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5592,8 +5592,8 @@ impl ISharedProperty_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5649,8 +5649,8 @@ impl ISharedPropertyGroup_Vtbl { get_Property: get_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5699,8 +5699,8 @@ impl ISharedPropertyGroupManager_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5727,8 +5727,8 @@ impl ISystemAppEventData_Vtbl { OnDataChanged: OnDataChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5811,8 +5811,8 @@ impl IThreadPoolKnobs_Vtbl { SetQueueDepth: SetQueueDepth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5855,8 +5855,8 @@ impl ITransactionContext_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -5890,8 +5890,8 @@ impl ITransactionContextEx_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6036,8 +6036,8 @@ impl ITransactionProperty_Vtbl { Reserved17: Reserved17::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6114,8 +6114,8 @@ impl ITransactionProxy_Vtbl { IsReusable: IsReusable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6148,8 +6148,8 @@ impl ITransactionResourcePool_Vtbl { GetResource: GetResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6176,8 +6176,8 @@ impl ITransactionStatus_Vtbl { GetTransactionStatus: GetTransactionStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"implement\"`*"] @@ -6194,8 +6194,8 @@ impl ITxProxyHolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentifier: GetIdentifier:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl ObjectContext_Vtbl { ContextInfo: ContextInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6394,8 +6394,8 @@ impl ObjectControl_Vtbl { CanBePooled: CanBePooled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ComponentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6463,7 +6463,7 @@ impl SecurityProperty_Vtbl { GetOriginalCreatorName: GetOriginalCreatorName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs index 666d3e0b08..d532825a94 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Contacts/impl.rs @@ -29,8 +29,8 @@ impl IContact_Vtbl { CommitChanges: CommitChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -136,8 +136,8 @@ impl IContactAggregationAggregate_Vtbl { Id: Id::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -202,8 +202,8 @@ impl IContactAggregationAggregateCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -399,8 +399,8 @@ impl IContactAggregationContact_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -478,8 +478,8 @@ impl IContactAggregationContactCollection_Vtbl { FindFirstByRemoteId: FindFirstByRemoteId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -586,8 +586,8 @@ impl IContactAggregationGroup_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -652,8 +652,8 @@ impl IContactAggregationGroupCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IContactAggregationLink_Vtbl { SetSyncIdentityHash: SetSyncIdentityHash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -902,8 +902,8 @@ impl IContactAggregationLinkCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1096,8 +1096,8 @@ impl IContactAggregationManager_Vtbl { get_ServerContactLinks: get_ServerContactLinks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IContactAggregationServerPerson_Vtbl { SetObjectId: SetObjectId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1432,8 +1432,8 @@ impl IContactAggregationServerPersonCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1473,8 +1473,8 @@ impl IContactCollection_Vtbl { GetCurrent: GetCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"implement\"`*"] @@ -1547,8 +1547,8 @@ impl IContactManager_Vtbl { GetContactCollection: GetContactCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IContactProperties_Vtbl { GetPropertyCollection: GetPropertyCollection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Contacts\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1721,7 +1721,7 @@ impl IContactPropertyCollection_Vtbl { GetPropertyArrayElementID: GetPropertyArrayElementID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs index 1cfa42026e..7e8fb4185b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DeploymentServices/impl.rs @@ -45,8 +45,8 @@ impl IWdsTransportCacheable_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -212,8 +212,8 @@ impl IWdsTransportClient_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IWdsTransportCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IWdsTransportConfigurationManager_Vtbl { NotifyWdsTransportServices: NotifyWdsTransportServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -396,8 +396,8 @@ impl IWdsTransportConfigurationManager2_Vtbl { MulticastSessionPolicy: MulticastSessionPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl IWdsTransportContent_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -541,8 +541,8 @@ impl IWdsTransportContentProvider_Vtbl { InitializationRoutine: InitializationRoutine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -598,8 +598,8 @@ impl IWdsTransportDiagnosticsPolicy_Vtbl { SetComponents: SetComponents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -625,8 +625,8 @@ impl IWdsTransportManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetWdsTransportServer: GetWdsTransportServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IWdsTransportMulticastSessionPolicy_Vtbl { SetSlowClientFallback: SetSlowClientFallback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IWdsTransportNamespace_Vtbl { RetrieveContents: RetrieveContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -978,8 +978,8 @@ impl IWdsTransportNamespaceAutoCast_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceAutoCast_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceAutoCast_Vtbl { Self { base__: IWdsTransportNamespace_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1034,8 +1034,8 @@ impl IWdsTransportNamespaceManager_Vtbl { RetrieveNamespaces: RetrieveNamespaces::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1055,8 +1055,8 @@ impl IWdsTransportNamespaceScheduledCast_Vtbl { } Self { base__: IWdsTransportNamespace_Vtbl::new::(), StartTransmission: StartTransmission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1112,8 +1112,8 @@ impl IWdsTransportNamespaceScheduledCastAutoStart_Vtbl { SetStartTime: SetStartTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IWdsTransportNamespaceScheduledCastManualStart_Vtbl { pub const fn new, Impl: IWdsTransportNamespaceScheduledCastManualStart_Impl, const OFFSET: isize>() -> IWdsTransportNamespaceScheduledCastManualStart_Vtbl { Self { base__: IWdsTransportNamespaceScheduledCast_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1202,8 +1202,8 @@ impl IWdsTransportServer_Vtbl { DisconnectClient: DisconnectClient::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl IWdsTransportServer2_Vtbl { } Self { base__: IWdsTransportServer_Vtbl::new::(), TftpManager: TftpManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1366,8 +1366,8 @@ impl IWdsTransportServicePolicy_Vtbl { SetNetworkProfile: SetNetworkProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1443,8 +1443,8 @@ impl IWdsTransportServicePolicy2_Vtbl { SetEnableTftpVariableWindowExtension: SetEnableTftpVariableWindowExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IWdsTransportSession_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1628,8 +1628,8 @@ impl IWdsTransportSetupManager_Vtbl { DeregisterContentProvider: DeregisterContentProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1671,8 +1671,8 @@ impl IWdsTransportSetupManager2_Vtbl { ContentProviders: ContentProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IWdsTransportTftpClient_Vtbl { WindowSize: WindowSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DeploymentServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1806,7 +1806,7 @@ impl IWdsTransportTftpManager_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), RetrieveTftpClients: RetrieveTftpClients:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs index 160ff5cf40..e2146407a4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DesktopSharing/impl.rs @@ -83,8 +83,8 @@ impl IRDPSRAPIApplication_Vtbl { Flags: Flags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -146,8 +146,8 @@ impl IRDPSRAPIApplicationFilter_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -189,8 +189,8 @@ impl IRDPSRAPIApplicationList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -298,8 +298,8 @@ impl IRDPSRAPIAttendee_Vtbl { ConnectivityInfo: ConnectivityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IRDPSRAPIAttendeeDisconnectInfo_Vtbl { Code: Code::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -397,8 +397,8 @@ impl IRDPSRAPIAttendeeManager_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IRDPSRAPIAudioStream_Vtbl { FreeBuffer: FreeBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl IRDPSRAPIClipboardUseEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPasteFromClipboard: OnPasteFromClipboard:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -513,8 +513,8 @@ impl IRDPSRAPIDebug_Vtbl { CLXCmdLine: CLXCmdLine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -582,8 +582,8 @@ impl IRDPSRAPIFrameBuffer_Vtbl { GetFrameBufferBits: GetFrameBufferBits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -678,8 +678,8 @@ impl IRDPSRAPIInvitation_Vtbl { SetRevoked: SetRevoked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IRDPSRAPIInvitationManager_Vtbl { CreateInvitation: CreateInvitation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -765,8 +765,8 @@ impl IRDPSRAPIPerfCounterLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LogValue: LogValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -789,8 +789,8 @@ impl IRDPSRAPIPerfCounterLoggingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateLogger: CreateLogger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl IRDPSRAPISessionProperties_Vtbl { put_Property: put_Property::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -977,8 +977,8 @@ impl IRDPSRAPISharingSession_Vtbl { GetDesktopSharedRect: GetDesktopSharedRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1021,8 +1021,8 @@ impl IRDPSRAPISharingSession2_Vtbl { SendControlLevelChangeResponse: SendControlLevelChangeResponse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1103,8 +1103,8 @@ impl IRDPSRAPITcpConnectionInfo_Vtbl { PeerIP: PeerIP::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1165,8 +1165,8 @@ impl IRDPSRAPITransportStream_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1285,8 +1285,8 @@ impl IRDPSRAPITransportStreamBuffer_Vtbl { SetContext: SetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IRDPSRAPITransportStreamEvents_Vtbl { OnStreamClosed: OnStreamClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1483,8 +1483,8 @@ impl IRDPSRAPIViewer_Vtbl { StartReverseConnectListener: StartReverseConnectListener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1553,8 +1553,8 @@ impl IRDPSRAPIVirtualChannel_Vtbl { Priority: Priority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1609,8 +1609,8 @@ impl IRDPSRAPIVirtualChannelManager_Vtbl { CreateVirtualChannel: CreateVirtualChannel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1705,8 +1705,8 @@ impl IRDPSRAPIWindow_Vtbl { Flags: Flags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl IRDPSRAPIWindowList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1821,8 +1821,8 @@ impl IRDPViewerInputSink_Vtbl { EndTouchFrame: EndTouchFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DesktopSharing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1835,7 +1835,7 @@ impl _IRDPSessionEvents_Vtbl { pub const fn new, Impl: _IRDPSessionEvents_Impl, const OFFSET: isize>() -> _IRDPSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IRDPSessionEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IRDPSessionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs index 4dbebdb853..c8d9f30419 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/ClrProfiling/impl.rs @@ -15,8 +15,8 @@ impl ICorProfilerAssemblyReferenceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAssemblyReference: AddAssemblyReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl ICorProfilerCallback_Vtbl { ExceptionCLRCatcherExecute: ExceptionCLRCatcherExecute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl ICorProfilerCallback10_Vtbl { EventPipeProviderCreated: EventPipeProviderCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -593,8 +593,8 @@ impl ICorProfilerCallback11_Vtbl { } Self { base__: ICorProfilerCallback10_Vtbl::new::(), LoadAsNotificationOnly: LoadAsNotificationOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -666,8 +666,8 @@ impl ICorProfilerCallback2_Vtbl { HandleDestroyed: HandleDestroyed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -704,8 +704,8 @@ impl ICorProfilerCallback3_Vtbl { ProfilerDetachSucceeded: ProfilerDetachSucceeded::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -763,8 +763,8 @@ impl ICorProfilerCallback4_Vtbl { SurvivingReferences2: SurvivingReferences2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -787,8 +787,8 @@ impl ICorProfilerCallback5_Vtbl { ConditionalWeakTableElementReferences: ConditionalWeakTableElementReferences::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl ICorProfilerCallback6_Vtbl { } Self { base__: ICorProfilerCallback5_Vtbl::new::(), GetAssemblyReferences: GetAssemblyReferences:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -832,8 +832,8 @@ impl ICorProfilerCallback7_Vtbl { ModuleInMemorySymbolsUpdated: ModuleInMemorySymbolsUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -863,8 +863,8 @@ impl ICorProfilerCallback8_Vtbl { DynamicMethodJITCompilationFinished: DynamicMethodJITCompilationFinished::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -884,8 +884,8 @@ impl ICorProfilerCallback9_Vtbl { } Self { base__: ICorProfilerCallback8_Vtbl::new::(), DynamicMethodUnloaded: DynamicMethodUnloaded:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -922,8 +922,8 @@ impl ICorProfilerFunctionControl_Vtbl { SetILInstrumentedCodeMap: SetILInstrumentedCodeMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -983,8 +983,8 @@ impl ICorProfilerFunctionEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1321,8 +1321,8 @@ impl ICorProfilerInfo_Vtbl { GetILToNativeMapping: GetILToNativeMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1380,8 +1380,8 @@ impl ICorProfilerInfo10_Vtbl { ResumeRuntime: ResumeRuntime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl ICorProfilerInfo11_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1495,19 +1495,19 @@ impl ICorProfilerInfo12_Vtbl { EventPipeWriteEvent: EventPipeWriteEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1550,20 +1550,20 @@ impl ICorProfilerInfo13_Vtbl { GetObjectIDFromHandle: GetObjectIDFromHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1612,21 +1612,21 @@ impl ICorProfilerInfo14_Vtbl { EventPipeCreateProvider2: EventPipeCreateProvider2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID - || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID + || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl ICorProfilerInfo2_Vtbl { GetNotifiedExceptionClauseInfo: GetNotifiedExceptionClauseInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1970,8 +1970,8 @@ impl ICorProfilerInfo3_Vtbl { GetModuleInfo2: GetModuleInfo2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2075,8 +2075,8 @@ impl ICorProfilerInfo4_Vtbl { GetObjectSize2: GetObjectSize2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl ICorProfilerInfo5_Vtbl { SetEventMask2: SetEventMask2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2130,8 +2130,8 @@ impl ICorProfilerInfo6_Vtbl { EnumNgenModuleMethodsInliningThisMethod: EnumNgenModuleMethodsInliningThisMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2174,8 +2174,8 @@ impl ICorProfilerInfo7_Vtbl { ReadInMemorySymbols: ReadInMemorySymbols::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2218,8 +2218,8 @@ impl ICorProfilerInfo8_Vtbl { GetDynamicFunctionInfo: GetDynamicFunctionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"Win32_Foundation\"`, `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl ICorProfilerInfo9_Vtbl { GetCodeInfo4: GetCodeInfo4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2317,8 +2317,8 @@ impl ICorProfilerMethodEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl ICorProfilerModuleEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2439,8 +2439,8 @@ impl ICorProfilerObjectEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2500,8 +2500,8 @@ impl ICorProfilerThreadEnum_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_ClrProfiling\"`, `\"implement\"`*"] @@ -2518,7 +2518,7 @@ impl IMethodMalloc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Alloc: Alloc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs index fca46b1ca8..58382cd7a2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/ActiveScript/impl.rs @@ -64,8 +64,8 @@ impl AsyncIDebugApplicationNodeEvents_Vtbl { Finish_onAttach: Finish_onAttach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -208,8 +208,8 @@ impl IActiveScript_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IActiveScriptAuthor_Vtbl { IsCommitChar: IsCommitChar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -375,8 +375,8 @@ impl IActiveScriptAuthorProcedure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -416,8 +416,8 @@ impl IActiveScriptDebug32_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -457,8 +457,8 @@ impl IActiveScriptDebug64_Vtbl { EnumCodeContextsOfPosition: EnumCodeContextsOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -492,8 +492,8 @@ impl IActiveScriptEncode_Vtbl { GetEncodeProgId: GetEncodeProgId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -536,8 +536,8 @@ impl IActiveScriptError_Vtbl { GetSourceLineText: GetSourceLineText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IActiveScriptError64_Vtbl { } Self { base__: IActiveScriptError_Vtbl::new::(), GetSourcePosition64: GetSourcePosition64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -600,8 +600,8 @@ impl IActiveScriptErrorDebug_Vtbl { GetStackFrame: GetStackFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -624,8 +624,8 @@ impl IActiveScriptErrorDebug110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetExceptionThrownKind: GetExceptionThrownKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -642,8 +642,8 @@ impl IActiveScriptGarbageCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CollectGarbage: CollectGarbage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -660,8 +660,8 @@ impl IActiveScriptHostEncode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EncodeScriptHostFile: EncodeScriptHostFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IActiveScriptParse32_Vtbl { ParseScriptText: ParseScriptText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -738,8 +738,8 @@ impl IActiveScriptParse64_Vtbl { ParseScriptText: ParseScriptText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -752,8 +752,8 @@ impl IActiveScriptParseProcedure2_32_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_32_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_32_Vtbl { Self { base__: IActiveScriptParseProcedure32_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -766,8 +766,8 @@ impl IActiveScriptParseProcedure2_64_Vtbl { pub const fn new, Impl: IActiveScriptParseProcedure2_64_Impl, const OFFSET: isize>() -> IActiveScriptParseProcedure2_64_Vtbl { Self { base__: IActiveScriptParseProcedure64_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -793,8 +793,8 @@ impl IActiveScriptParseProcedure32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -820,8 +820,8 @@ impl IActiveScriptParseProcedure64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -847,8 +847,8 @@ impl IActiveScriptParseProcedureOld32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -874,8 +874,8 @@ impl IActiveScriptParseProcedureOld64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseProcedureText: ParseProcedureText:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IActiveScriptProfilerCallback_Vtbl { OnFunctionExit: OnFunctionExit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -958,8 +958,8 @@ impl IActiveScriptProfilerCallback2_Vtbl { OnFunctionExitByName: OnFunctionExitByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -976,8 +976,8 @@ impl IActiveScriptProfilerCallback3_Vtbl { } Self { base__: IActiveScriptProfilerCallback2_Vtbl::new::(), SetWebWorkerId: SetWebWorkerId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1011,8 +1011,8 @@ impl IActiveScriptProfilerControl_Vtbl { StopProfiling: StopProfiling::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1039,8 +1039,8 @@ impl IActiveScriptProfilerControl2_Vtbl { PrepareProfilerStop: PrepareProfilerStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1063,8 +1063,8 @@ impl IActiveScriptProfilerControl3_Vtbl { } Self { base__: IActiveScriptProfilerControl2_Vtbl::new::(), EnumHeap: EnumHeap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1081,8 +1081,8 @@ impl IActiveScriptProfilerControl4_Vtbl { } Self { base__: IActiveScriptProfilerControl3_Vtbl::new::(), SummarizeHeap: SummarizeHeap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1105,8 +1105,8 @@ impl IActiveScriptProfilerControl5_Vtbl { } Self { base__: IActiveScriptProfilerControl4_Vtbl::new::(), EnumHeap2: EnumHeap2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1147,8 +1147,8 @@ impl IActiveScriptProfilerHeapEnum_Vtbl { GetNameIdMap: GetNameIdMap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1184,8 +1184,8 @@ impl IActiveScriptProperty_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IActiveScriptSIPInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSIPOID: GetSIPOID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1293,8 +1293,8 @@ impl IActiveScriptSite_Vtbl { OnLeaveScript: OnLeaveScript::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1356,8 +1356,8 @@ impl IActiveScriptSiteDebug32_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IActiveScriptSiteDebug64_Vtbl { OnScriptErrorDebug: OnScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1449,8 +1449,8 @@ impl IActiveScriptSiteDebugEx_Vtbl { OnCanNotJITScriptErrorDebug: OnCanNotJITScriptErrorDebug::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1467,8 +1467,8 @@ impl IActiveScriptSiteInterruptPoll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1485,8 +1485,8 @@ impl IActiveScriptSiteTraceInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SendScriptTraceInfo: SendScriptTraceInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1509,8 +1509,8 @@ impl IActiveScriptSiteUIControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIBehavior: GetUIBehavior:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1546,8 +1546,8 @@ impl IActiveScriptSiteWindow_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1581,8 +1581,8 @@ impl IActiveScriptStats_Vtbl { ResetStats: ResetStats::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1605,8 +1605,8 @@ impl IActiveScriptStringCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StrComp: StrComp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1633,8 +1633,8 @@ impl IActiveScriptTraceInfo_Vtbl { StopScriptTracing: StopScriptTracing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IActiveScriptWinRTErrorDebug_Vtbl { GetCapabilitySid: GetCapabilitySid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1751,8 +1751,8 @@ impl IApplicationDebugger_Vtbl { onDebuggerEvent: onDebuggerEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -1779,8 +1779,8 @@ impl IApplicationDebuggerUI_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl IBindEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), BindHandler: BindHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1844,8 +1844,8 @@ impl IDebugApplication11032_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1888,8 +1888,8 @@ impl IDebugApplication11064_Vtbl { CallableWaitForHandles: CallableWaitForHandles::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2081,8 +2081,8 @@ impl IDebugApplication32_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2274,8 +2274,8 @@ impl IDebugApplication64_Vtbl { RemoveGlobalExpressionContextProvider: RemoveGlobalExpressionContextProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2342,8 +2342,8 @@ impl IDebugApplicationNode_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2383,8 +2383,8 @@ impl IDebugApplicationNode100_Vtbl { QueryIsChildNode: QueryIsChildNode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2425,8 +2425,8 @@ impl IDebugApplicationNodeEvents_Vtbl { onAttach: onAttach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2474,8 +2474,8 @@ impl IDebugApplicationThread_Vtbl { SetStateString: SetStateString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2537,8 +2537,8 @@ impl IDebugApplicationThread11032_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2600,8 +2600,8 @@ impl IDebugApplicationThread11064_Vtbl { AsynchronousCallIntoThread: AsynchronousCallIntoThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2621,8 +2621,8 @@ impl IDebugApplicationThread64_Vtbl { SynchronousCallIntoThread64: SynchronousCallIntoThread64::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2663,8 +2663,8 @@ impl IDebugApplicationThreadEvents110_Vtbl { OnBeginThreadRequest: OnBeginThreadRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2718,8 +2718,8 @@ impl IDebugAsyncOperation_Vtbl { GetResult: GetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2736,8 +2736,8 @@ impl IDebugAsyncOperationCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2770,8 +2770,8 @@ impl IDebugCodeContext_Vtbl { SetBreakPoint: SetBreakPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2788,8 +2788,8 @@ impl IDebugCookie_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetDebugCookie: SetDebugCookie:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2799,8 +2799,8 @@ impl IDebugDocument_Vtbl { pub const fn new, Impl: IDebugDocument_Impl, const OFFSET: isize>() -> IDebugDocument_Vtbl { Self { base__: IDebugDocumentInfo_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl IDebugDocumentContext_Vtbl { EnumCodeContexts: EnumCodeContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl IDebugDocumentHelper32_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3161,8 +3161,8 @@ impl IDebugDocumentHelper64_Vtbl { BringDocumentContextToTop: BringDocumentContextToTop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3232,8 +3232,8 @@ impl IDebugDocumentHost_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3272,8 +3272,8 @@ impl IDebugDocumentInfo_Vtbl { GetDocumentClassId: GetDocumentClassId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl IDebugDocumentProvider_Vtbl { } Self { base__: IDebugDocumentInfo_Vtbl::new::(), GetDocument: GetDocument:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3377,8 +3377,8 @@ impl IDebugDocumentText_Vtbl { GetContextOfPosition: GetContextOfPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3412,8 +3412,8 @@ impl IDebugDocumentTextAuthor_Vtbl { ReplaceText: ReplaceText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3468,8 +3468,8 @@ impl IDebugDocumentTextEvents_Vtbl { onUpdateDocumentAttributes: onUpdateDocumentAttributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3512,8 +3512,8 @@ impl IDebugDocumentTextExternalAuthor_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3561,8 +3561,8 @@ impl IDebugExpression_Vtbl { GetResultAsDebugProperty: GetResultAsDebugProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3579,8 +3579,8 @@ impl IDebugExpressionCallBack_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), onComplete: onComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3613,8 +3613,8 @@ impl IDebugExpressionContext_Vtbl { GetLanguageInfo: GetLanguageInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3669,8 +3669,8 @@ impl IDebugFormatter_Vtbl { GetStringForVarType: GetStringForVarType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3725,8 +3725,8 @@ impl IDebugHelper_Vtbl { CreateSimpleConnectionPoint: CreateSimpleConnectionPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3743,8 +3743,8 @@ impl IDebugSessionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), StartDebugSession: StartDebugSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3825,8 +3825,8 @@ impl IDebugStackFrame_Vtbl { GetDebugProperty: GetDebugProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3868,8 +3868,8 @@ impl IDebugStackFrame110_Vtbl { GetScriptInvocationContext: GetScriptInvocationContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3892,8 +3892,8 @@ impl IDebugStackFrameSniffer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumStackFrames: EnumStackFrames:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3916,8 +3916,8 @@ impl IDebugStackFrameSnifferEx32_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx32: EnumStackFramesEx32:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3940,8 +3940,8 @@ impl IDebugStackFrameSnifferEx64_Vtbl { } Self { base__: IDebugStackFrameSniffer_Vtbl::new::(), EnumStackFramesEx64: EnumStackFramesEx64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -3987,8 +3987,8 @@ impl IDebugSyncOperation_Vtbl { InProgressAbort: InProgressAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4005,8 +4005,8 @@ impl IDebugThreadCall32_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4023,8 +4023,8 @@ impl IDebugThreadCall64_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ThreadCallHandler: ThreadCallHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4071,8 +4071,8 @@ impl IEnumDebugApplicationNodes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4119,8 +4119,8 @@ impl IEnumDebugCodeContexts_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4167,8 +4167,8 @@ impl IEnumDebugExpressionContexts_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4218,8 +4218,8 @@ impl IEnumDebugStackFrames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4239,8 +4239,8 @@ impl IEnumDebugStackFrames64_Vtbl { } Self { base__: IEnumDebugStackFrames_Vtbl::new::(), Next64: Next64:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4263,8 +4263,8 @@ impl IEnumJsStackFrames_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4311,8 +4311,8 @@ impl IEnumRemoteDebugApplicationThreads_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4359,8 +4359,8 @@ impl IEnumRemoteDebugApplications_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4383,8 +4383,8 @@ impl IJsDebug_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenVirtualProcess: OpenVirtualProcess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4441,8 +4441,8 @@ impl IJsDebugBreakPoint_Vtbl { GetDocumentPosition: GetDocumentPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IJsDebugDataTarget_Vtbl { GetThreadContext: GetThreadContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4629,8 +4629,8 @@ impl IJsDebugFrame_Vtbl { Evaluate: Evaluate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4692,8 +4692,8 @@ impl IJsDebugProcess_Vtbl { GetExternalStepAddress: GetExternalStepAddress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4726,8 +4726,8 @@ impl IJsDebugProperty_Vtbl { GetMembers: GetMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4750,8 +4750,8 @@ impl IJsDebugStackWalker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNext: GetNext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4784,8 +4784,8 @@ impl IJsEnumDebugProperty_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4831,8 +4831,8 @@ impl IMachineDebugManager_Vtbl { EnumApplications: EnumApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4878,8 +4878,8 @@ impl IMachineDebugManagerCookie_Vtbl { EnumApplications: EnumApplications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4906,8 +4906,8 @@ impl IMachineDebugManagerEvents_Vtbl { onRemoveApplication: onRemoveApplication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -4979,8 +4979,8 @@ impl IProcessDebugManager32_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5052,8 +5052,8 @@ impl IProcessDebugManager64_Vtbl { CreateDebugDocumentHelper: CreateDebugDocumentHelper::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5076,8 +5076,8 @@ impl IProvideExpressionContexts_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumExpressionContexts: EnumExpressionContexts:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5203,8 +5203,8 @@ impl IRemoteDebugApplication_Vtbl { EnumGlobalExpressionContexts: EnumGlobalExpressionContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5250,8 +5250,8 @@ impl IRemoteDebugApplication110_Vtbl { GetMainThread: GetMainThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5334,8 +5334,8 @@ impl IRemoteDebugApplicationEvents_Vtbl { OnBreakFlagChange: OnBreakFlagChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5453,8 +5453,8 @@ impl IRemoteDebugApplicationThread_Vtbl { GetSuspendCount: GetSuspendCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5471,8 +5471,8 @@ impl IRemoteDebugCriticalErrorEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5489,8 +5489,8 @@ impl IRemoteDebugInfoEvent110_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEventInfo: GetEventInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5607,8 +5607,8 @@ impl IScriptEntry_Vtbl { GetRange: GetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"implement\"`*"] @@ -5660,8 +5660,8 @@ impl IScriptInvocationContext_Vtbl { GetContextObject: GetContextObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5795,8 +5795,8 @@ impl IScriptNode_Vtbl { CreateChildHandler: CreateChildHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5872,8 +5872,8 @@ impl IScriptScriptlet_Vtbl { SetSimpleEventName: SetSimpleEventName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5929,8 +5929,8 @@ impl ISimpleConnectionPoint_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5950,8 +5950,8 @@ impl ITridentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FireEvent: FireEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5971,8 +5971,8 @@ impl IWebAppDiagnosticsObjectInitialization_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_ActiveScript\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6008,7 +6008,7 @@ impl IWebAppDiagnosticsSetup_Vtbl { CreateObjectWithSiteAtWebApp: CreateObjectWithSiteAtWebApp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs index 58766fecd2..ecbaa6d087 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/Extensions/impl.rs @@ -8,8 +8,8 @@ impl DebugBaseEventCallbacks_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacks_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacks_Vtbl { Self { base__: IDebugEventCallbacks_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22,8 +22,8 @@ impl DebugBaseEventCallbacksWide_Vtbl { pub const fn new, Impl: DebugBaseEventCallbacksWide_Impl, const OFFSET: isize>() -> DebugBaseEventCallbacksWide_Vtbl { Self { base__: IDebugEventCallbacksWide_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -46,8 +46,8 @@ impl ICodeAddressConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetContainingSymbol: GetContainingSymbol:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -70,8 +70,8 @@ impl IComparableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CompareObjects: CompareObjects:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IDataModelConcept_Vtbl { GetName: GetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -333,8 +333,8 @@ impl IDataModelManager_Vtbl { AcquireNamedModel: AcquireNamedModel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -376,8 +376,8 @@ impl IDataModelManager2_Vtbl { CreateTypedIntrinsicObjectEx: CreateTypedIntrinsicObjectEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -430,8 +430,8 @@ impl IDataModelNameBinder_Vtbl { EnumerateReferences: EnumerateReferences::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -508,8 +508,8 @@ impl IDataModelScript_Vtbl { InvokeMain: InvokeMain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -526,8 +526,8 @@ impl IDataModelScriptClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IDataModelScriptDebug_Vtbl { StopDebugging: StopDebugging::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -664,8 +664,8 @@ impl IDataModelScriptDebug2_Vtbl { } Self { base__: IDataModelScriptDebug_Vtbl::new::(), SetBreakpointAtFunction: SetBreakpointAtFunction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -720,8 +720,8 @@ impl IDataModelScriptDebugBreakpoint_Vtbl { GetPosition: GetPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IDataModelScriptDebugBreakpointEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IDataModelScriptDebugClient_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyDebugEvent: NotifyDebugEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -806,8 +806,8 @@ impl IDataModelScriptDebugStack_Vtbl { GetStackFrame: GetStackFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IDataModelScriptDebugStackFrame_Vtbl { EnumerateArguments: EnumerateArguments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -927,8 +927,8 @@ impl IDataModelScriptDebugVariableSetEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -961,8 +961,8 @@ impl IDataModelScriptHostContext_Vtbl { GetNamespaceObject: GetNamespaceObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1041,8 +1041,8 @@ impl IDataModelScriptManager_Vtbl { EnumerateScriptProviders: EnumerateScriptProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IDataModelScriptProvider_Vtbl { EnumerateTemplates: EnumerateTemplates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1154,8 +1154,8 @@ impl IDataModelScriptProviderEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1210,8 +1210,8 @@ impl IDataModelScriptTemplate_Vtbl { GetContent: GetContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1244,8 +1244,8 @@ impl IDataModelScriptTemplateEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1272,8 +1272,8 @@ impl IDebugAdvanced_Vtbl { SetThreadContext: SetThreadContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1335,8 +1335,8 @@ impl IDebugAdvanced2_Vtbl { GetSystemObjectInformation: GetSystemObjectInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1419,8 +1419,8 @@ impl IDebugAdvanced3_Vtbl { GetSymbolInformationWide: GetSymbolInformationWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1510,8 +1510,8 @@ impl IDebugAdvanced4_Vtbl { GetSymbolInformationWideEx: GetSymbolInformationWideEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1713,8 +1713,8 @@ impl IDebugBreakpoint_Vtbl { GetParameters: GetParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -1944,8 +1944,8 @@ impl IDebugBreakpoint2_Vtbl { SetOffsetExpressionWide: SetOffsetExpressionWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -2188,8 +2188,8 @@ impl IDebugBreakpoint3_Vtbl { GetGuid: GetGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -2583,8 +2583,8 @@ impl IDebugClient_Vtbl { FlushCallbacks: FlushCallbacks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -3034,8 +3034,8 @@ impl IDebugClient2_Vtbl { AbandonCurrentProcess: AbandonCurrentProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -3519,8 +3519,8 @@ impl IDebugClient3_Vtbl { CreateProcessAndAttachWide: CreateProcessAndAttachWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -4052,8 +4052,8 @@ impl IDebugClient4_Vtbl { GetDumpFileWide: GetDumpFileWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -4836,8 +4836,8 @@ impl IDebugClient5_Vtbl { SetQuitLockStringWide: SetQuitLockStringWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -5627,8 +5627,8 @@ impl IDebugClient6_Vtbl { SetEventContextCallbacks: SetEventContextCallbacks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -6425,8 +6425,8 @@ impl IDebugClient7_Vtbl { SetClientContext: SetClientContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -7230,8 +7230,8 @@ impl IDebugClient8_Vtbl { OpenDumpFileWide2: OpenDumpFileWide2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -8042,8 +8042,8 @@ impl IDebugControl_Vtbl { GetLastEventInformation: GetLastEventInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -8934,8 +8934,8 @@ impl IDebugControl2_Vtbl { OutputTextReplacements: OutputTextReplacements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -9953,8 +9953,8 @@ impl IDebugControl3_Vtbl { SetNextEventIndex: SetNextEventIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -11379,8 +11379,8 @@ impl IDebugControl4_Vtbl { ResetManagedStatus: ResetManagedStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -12846,8 +12846,8 @@ impl IDebugControl5_Vtbl { GetBreakpointByGuid: GetBreakpointByGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -14333,8 +14333,8 @@ impl IDebugControl6_Vtbl { GetSynchronizationStatus: GetSynchronizationStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Kernel\"`, `\"implement\"`*"] @@ -15827,8 +15827,8 @@ impl IDebugControl7_Vtbl { GetDebuggeeType2: GetDebuggeeType2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -15993,8 +15993,8 @@ impl IDebugDataSpaces_Vtbl { ReadProcessorSystemData: ReadProcessorSystemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"implement\"`*"] @@ -16210,8 +16210,8 @@ impl IDebugDataSpaces2_Vtbl { QueryVirtual: QueryVirtual::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`, `\"implement\"`*"] @@ -16468,8 +16468,8 @@ impl IDebugDataSpaces3_Vtbl { EndEnumTagged: EndEnumTagged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_System_Memory\"`, `\"Win32_System_SystemInformation\"`, `\"implement\"`*"] @@ -16808,8 +16808,8 @@ impl IDebugDataSpaces4_Vtbl { WritePhysical2: WritePhysical2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16930,8 +16930,8 @@ impl IDebugEventCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17052,8 +17052,8 @@ impl IDebugEventCallbacksWide_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17188,8 +17188,8 @@ impl IDebugEventContextCallbacks_Vtbl { ChangeSymbolState: ChangeSymbolState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17346,8 +17346,8 @@ impl IDebugFailureAnalysis_Vtbl { NextEntry: NextEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -17536,8 +17536,8 @@ impl IDebugFailureAnalysis2_Vtbl { AddStructuredAnalysisData: AddStructuredAnalysisData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17869,8 +17869,8 @@ impl IDebugFailureAnalysis3_Vtbl { DeleteAdditionalXML: DeleteAdditionalXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17922,8 +17922,8 @@ impl IDebugHost_Vtbl { GetDefaultMetadata: GetDefaultMetadata::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17946,8 +17946,8 @@ impl IDebugHostBaseClass_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetOffset: GetOffset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17973,8 +17973,8 @@ impl IDebugHostConstant_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -17997,8 +17997,8 @@ impl IDebugHostContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualTo: IsEqualTo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18053,8 +18053,8 @@ impl IDebugHostData_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18071,8 +18071,8 @@ impl IDebugHostErrorSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ReportError: ReportError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18099,8 +18099,8 @@ impl IDebugHostEvaluator_Vtbl { EvaluateExtendedExpression: EvaluateExtendedExpression::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18117,8 +18117,8 @@ impl IDebugHostEvaluator2_Vtbl { } Self { base__: IDebugHostEvaluator_Vtbl::new::(), AssignTo: AssignTo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18145,8 +18145,8 @@ impl IDebugHostExtensibility_Vtbl { DestroyFunctionAlias: DestroyFunctionAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18214,8 +18214,8 @@ impl IDebugHostField_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18269,8 +18269,8 @@ impl IDebugHostMemory_Vtbl { GetDisplayStringForLocation: GetDisplayStringForLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18293,8 +18293,8 @@ impl IDebugHostMemory2_Vtbl { } Self { base__: IDebugHostMemory_Vtbl::new::(), LinearizeLocation: LinearizeLocation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18379,8 +18379,8 @@ impl IDebugHostModule_Vtbl { FindSymbolByName: FindSymbolByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18397,8 +18397,8 @@ impl IDebugHostModule2_Vtbl { } Self { base__: IDebugHostModule_Vtbl::new::(), FindContainingSymbolByRVA: FindContainingSymbolByRVA:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18421,8 +18421,8 @@ impl IDebugHostModuleSignature_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMatch: IsMatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18461,8 +18461,8 @@ impl IDebugHostPublic_Vtbl { GetLocation: GetLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18485,8 +18485,8 @@ impl IDebugHostScriptHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateContext: CreateContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18509,8 +18509,8 @@ impl IDebugHostStatus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PollUserInterrupt: PollUserInterrupt:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18614,8 +18614,8 @@ impl IDebugHostSymbol_Vtbl { CompareAgainst: CompareAgainst::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18638,8 +18638,8 @@ impl IDebugHostSymbol2_Vtbl { } Self { base__: IDebugHostSymbol_Vtbl::new::(), GetLanguage: GetLanguage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18672,8 +18672,8 @@ impl IDebugHostSymbolEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -18771,8 +18771,8 @@ impl IDebugHostSymbols_Vtbl { GetMostDerivedObject: GetMostDerivedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19014,8 +19014,8 @@ impl IDebugHostType_Vtbl { GetGenericArgumentAt: GetGenericArgumentAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19093,8 +19093,8 @@ impl IDebugHostType2_Vtbl { GetFunctionInstancePointerType: GetFunctionInstancePointerType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19140,8 +19140,8 @@ impl IDebugHostTypeSignature_Vtbl { CompareAgainst: CompareAgainst::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19168,8 +19168,8 @@ impl IDebugInputCallbacks_Vtbl { EndInput: EndInput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19186,8 +19186,8 @@ impl IDebugOutputCallbacks_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19227,8 +19227,8 @@ impl IDebugOutputCallbacks2_Vtbl { Output2: Output2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19245,8 +19245,8 @@ impl IDebugOutputCallbacksWide_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Output: Output:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19263,8 +19263,8 @@ impl IDebugOutputStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19284,8 +19284,8 @@ impl IDebugPlmClient_Vtbl { LaunchPlmPackageForDebugWide: LaunchPlmPackageForDebugWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19312,8 +19312,8 @@ impl IDebugPlmClient2_Vtbl { LaunchPlmBgTaskForDebugWide: LaunchPlmBgTaskForDebugWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -19403,8 +19403,8 @@ impl IDebugPlmClient3_Vtbl { ActivateAndDebugPlmBgTaskWide: ActivateAndDebugPlmBgTaskWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19527,8 +19527,8 @@ impl IDebugRegisters_Vtbl { GetFrameOffset: GetFrameOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19798,8 +19798,8 @@ impl IDebugRegisters2_Vtbl { GetFrameOffset2: GetFrameOffset2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19891,8 +19891,8 @@ impl IDebugSymbolGroup_Vtbl { OutputAsType: OutputAsType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20093,8 +20093,8 @@ impl IDebugSymbolGroup2_Vtbl { GetSymbolEntryInformation: GetSymbolEntryInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20532,8 +20532,8 @@ impl IDebugSymbols_Vtbl { GetSourceFileLineOffsets: GetSourceFileLineOffsets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21033,8 +21033,8 @@ impl IDebugSymbols2_Vtbl { SetTypeOptions: SetTypeOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22062,8 +22062,8 @@ impl IDebugSymbols3_Vtbl { GetSourceEntryBySourceEntry: GetSourceEntryBySourceEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -23140,8 +23140,8 @@ impl IDebugSymbols4_Vtbl { OutputSymbolByInlineContext: OutputSymbolByInlineContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -24238,8 +24238,8 @@ impl IDebugSymbols5_Vtbl { SetScopeFrameByIndexEx: SetScopeFrameByIndexEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -24593,8 +24593,8 @@ impl IDebugSystemObjects_Vtbl { GetCurrentProcessExecutableName: GetCurrentProcessExecutableName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -25001,8 +25001,8 @@ impl IDebugSystemObjects2_Vtbl { SetImplicitProcessDataOffset: SetImplicitProcessDataOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -25502,8 +25502,8 @@ impl IDebugSystemObjects3_Vtbl { GetCurrentSystemServerName: GetCurrentSystemServerName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26017,8 +26017,8 @@ impl IDebugSystemObjects4_Vtbl { GetCurrentSystemServerNameWide: GetCurrentSystemServerNameWide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26066,8 +26066,8 @@ impl IDynamicConceptProviderConcept_Vtbl { NotifyDestruct: NotifyDestruct::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26107,8 +26107,8 @@ impl IDynamicKeyProviderConcept_Vtbl { EnumerateKeys: EnumerateKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26131,8 +26131,8 @@ impl IEquatableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreObjectsEqual: AreObjectsEqual:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26149,8 +26149,8 @@ impl IHostDataModelAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataModel: GetDataModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26190,8 +26190,8 @@ impl IIndexableConcept_Vtbl { SetAt: SetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26230,8 +26230,8 @@ impl IIterableConcept_Vtbl { GetIterator: GetIterator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26258,8 +26258,8 @@ impl IKeyEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26307,8 +26307,8 @@ impl IKeyStore_Vtbl { ClearKeys: ClearKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26335,8 +26335,8 @@ impl IModelIterator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26416,8 +26416,8 @@ impl IModelKeyReference_Vtbl { SetKeyValue: SetKeyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26434,8 +26434,8 @@ impl IModelKeyReference2_Vtbl { } Self { base__: IModelKeyReference_Vtbl::new::(), OverrideContextObject: OverrideContextObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26452,8 +26452,8 @@ impl IModelMethod_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Call: Call:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -26808,8 +26808,8 @@ impl IModelObject_Vtbl { IsEqualTo: IsEqualTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26842,8 +26842,8 @@ impl IModelPropertyAccessor_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26869,8 +26869,8 @@ impl IPreferredRuntimeTypeConcept_Vtbl { CastToPreferredRuntimeType: CastToPreferredRuntimeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26897,8 +26897,8 @@ impl IRawEnumerator_Vtbl { GetNext: GetNext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug_Extensions\"`, `\"implement\"`*"] @@ -26921,7 +26921,7 @@ impl IStringDisplayableConcept_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ToDisplayString: ToDisplayString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs index 653f0612c2..e2401aaa6a 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Debug/impl.rs @@ -31,8 +31,8 @@ impl IDebugExtendedProperty_Vtbl { EnumExtendedMembers: EnumExtendedMembers::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IDebugProperty_Vtbl { GetParent: GetParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -119,8 +119,8 @@ impl IDebugPropertyEnumType_All_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetName: GetName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -130,8 +130,8 @@ impl IDebugPropertyEnumType_Arguments_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Arguments_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Arguments_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -141,8 +141,8 @@ impl IDebugPropertyEnumType_Locals_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Locals_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Locals_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -152,8 +152,8 @@ impl IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_LocalsPlusArgs_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_LocalsPlusArgs_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -163,8 +163,8 @@ impl IDebugPropertyEnumType_Registers_Vtbl { pub const fn new, Impl: IDebugPropertyEnumType_Registers_Impl, const OFFSET: isize>() -> IDebugPropertyEnumType_Registers_Vtbl { Self { base__: IDebugPropertyEnumType_All_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -227,8 +227,8 @@ impl IEnumDebugExtendedPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -288,8 +288,8 @@ impl IEnumDebugPropertyInfo_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"implement\"`*"] @@ -316,8 +316,8 @@ impl IObjectSafety_Vtbl { SetInterfaceSafetyOptions: SetInterfaceSafetyOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Debug\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -373,7 +373,7 @@ impl IPerPropertyBrowsing2_Vtbl { SetPredefinedValue: SetPredefinedValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs index 683e690aea..46138e11f2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Diagnostics/Etw/impl.rs @@ -110,8 +110,8 @@ impl ITraceEvent_Vtbl { SetProviderId: SetProviderId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl ITraceEventCallback_Vtbl { OnEvent: OnEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Diagnostics_Etw\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -243,7 +243,7 @@ impl ITraceRelogger_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs index 5dab589499..a48cb24f5f 100644 --- a/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/DistributedTransactionCoordinator/impl.rs @@ -18,8 +18,8 @@ impl IDtcLuConfigure_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add::, Delete: Delete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -29,8 +29,8 @@ impl IDtcLuRecovery_Vtbl { pub const fn new, Impl: IDtcLuRecovery_Impl, const OFFSET: isize>() -> IDtcLuRecovery_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl IDtcLuRecoveryFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IDtcLuRecoveryInitiatedByDtc_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWork: GetWork:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IDtcLuRecoveryInitiatedByDtcStatusWork_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleCheckLuStatus: HandleCheckLuStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IDtcLuRecoveryInitiatedByDtcTransWork_Vtbl { ObsoleteRecoverySeqNum: ObsoleteRecoverySeqNum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -224,8 +224,8 @@ impl IDtcLuRecoveryInitiatedByLu_Vtbl { GetObjectToHandleWorkFromLu: GetObjectToHandleWorkFromLu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl IDtcLuRecoveryInitiatedByLuWork_Vtbl { ConversationLost: ConversationLost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl IDtcLuRmEnlistment_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -371,8 +371,8 @@ impl IDtcLuRmEnlistmentFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl IDtcLuRmEnlistmentSink_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -514,8 +514,8 @@ impl IDtcLuSubordinateDtc_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -545,8 +545,8 @@ impl IDtcLuSubordinateDtcFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl IDtcLuSubordinateDtcSink_Vtbl { RequestCommit: RequestCommit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -759,8 +759,8 @@ impl IDtcNetworkAccessConfig_Vtbl { RestartDtcService: RestartDtcService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -836,8 +836,8 @@ impl IDtcNetworkAccessConfig2_Vtbl { SetAuthenticationLevel: SetAuthenticationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -873,8 +873,8 @@ impl IDtcNetworkAccessConfig3_Vtbl { SetLUAccess: SetLUAccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -904,8 +904,8 @@ impl IDtcToXaHelper_Vtbl { TranslateTridToXid: TranslateTridToXid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -922,8 +922,8 @@ impl IDtcToXaHelperFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -973,8 +973,8 @@ impl IDtcToXaHelperSinglePipe_Vtbl { ReleaseRMCookie: ReleaseRMCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1015,8 +1015,8 @@ impl IDtcToXaMapper_Vtbl { ReleaseResourceManager: ReleaseResourceManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1033,8 +1033,8 @@ impl IGetDispenser_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDispenser: GetDispenser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1060,8 +1060,8 @@ impl IKernelTransaction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHandle: GetHandle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1088,8 +1088,8 @@ impl ILastResourceManager_Vtbl { RecoveryDone: RecoveryDone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1116,8 +1116,8 @@ impl IPrepareInfo_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1150,8 +1150,8 @@ impl IPrepareInfo2_Vtbl { GetPrepareInfo: GetPrepareInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1181,8 +1181,8 @@ impl IRMHelper_Vtbl { RMInfo: RMInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1229,8 +1229,8 @@ impl IResourceManager_Vtbl { GetDistributedTransactionManager: GetDistributedTransactionManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1263,8 +1263,8 @@ impl IResourceManager2_Vtbl { Reenlist2: Reenlist2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1287,8 +1287,8 @@ impl IResourceManagerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1305,8 +1305,8 @@ impl IResourceManagerFactory2_Vtbl { } Self { base__: IResourceManagerFactory_Vtbl::new::(), CreateEx: CreateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IResourceManagerRejoinable_Vtbl { } Self { base__: IResourceManager2_Vtbl::new::(), Rejoin: Rejoin:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1347,8 +1347,8 @@ impl IResourceManagerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TMDown: TMDown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1400,8 +1400,8 @@ impl ITipHelper_Vtbl { GetLocalTmUrl: GetLocalTmUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1418,8 +1418,8 @@ impl ITipPullSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PullComplete: PullComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1458,8 +1458,8 @@ impl ITipTransaction_Vtbl { GetTransactionUrl: GetTransactionUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1492,8 +1492,8 @@ impl ITmNodeName_Vtbl { GetNodeName: GetNodeName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1530,8 +1530,8 @@ impl ITransaction_Vtbl { GetTransactionInfo: GetTransactionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1551,8 +1551,8 @@ impl ITransaction2_Vtbl { } Self { base__: ITransactionCloner_Vtbl::new::(), GetTransactionInfo2: GetTransactionInfo2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl ITransactionCloner_Vtbl { } Self { base__: ITransaction_Vtbl::new::(), CloneWithCommitDisabled: CloneWithCommitDisabled:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ITransactionDispenser_Vtbl { BeginTransaction: BeginTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl ITransactionEnlistmentAsync_Vtbl { AbortRequestDone: AbortRequestDone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1690,8 +1690,8 @@ impl ITransactionExport_Vtbl { GetTransactionCookie: GetTransactionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl ITransactionExportFactory_Vtbl { Create: Create::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl ITransactionImport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Import: Import:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1782,8 +1782,8 @@ impl ITransactionImportWhereabouts_Vtbl { GetWhereabouts: GetWhereabouts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1800,8 +1800,8 @@ impl ITransactionLastEnlistmentAsync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TransactionOutcome: TransactionOutcome:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1828,8 +1828,8 @@ impl ITransactionLastResourceAsync_Vtbl { ForgetRequest: ForgetRequest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1856,8 +1856,8 @@ impl ITransactionOptions_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1901,8 +1901,8 @@ impl ITransactionOutcomeEvents_Vtbl { Indoubt: Indoubt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1956,8 +1956,8 @@ impl ITransactionPhase0EnlistmentAsync_Vtbl { GetTransaction: GetTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -1980,8 +1980,8 @@ impl ITransactionPhase0Factory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2011,8 +2011,8 @@ impl ITransactionPhase0NotifyAsync_Vtbl { EnlistCompleted: EnlistCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2065,8 +2065,8 @@ impl ITransactionReceiver_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl ITransactionReceiverFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2134,8 +2134,8 @@ impl ITransactionResource_Vtbl { TMDown: TMDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2179,8 +2179,8 @@ impl ITransactionResourceAsync_Vtbl { TMDown: TMDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2234,8 +2234,8 @@ impl ITransactionTransmitter_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2258,8 +2258,8 @@ impl ITransactionTransmitterFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl ITransactionVoterBallotAsync2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), VoteRequestDone: VoteRequestDone:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2300,8 +2300,8 @@ impl ITransactionVoterFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2321,8 +2321,8 @@ impl ITransactionVoterNotifyAsync2_Vtbl { } Self { base__: ITransactionOutcomeEvents_Vtbl::new::(), VoteRequest: VoteRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2349,8 +2349,8 @@ impl IXAConfig_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2367,8 +2367,8 @@ impl IXAObtainRMInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ObtainRMInfo: ObtainRMInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2391,8 +2391,8 @@ impl IXATransLookup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -2415,7 +2415,7 @@ impl IXATransLookup2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Lookup: Lookup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs index 9d4a071d85..ffc70b0e6e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/EventNotificationService/impl.rs @@ -60,8 +60,8 @@ impl ISensLogon_Vtbl { StopScreenSaver: StopScreenSaver::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -112,8 +112,8 @@ impl ISensLogon2_Vtbl { PostShell: PostShell::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -164,8 +164,8 @@ impl ISensNetwork_Vtbl { DestinationReachableNoQOCInfo: DestinationReachableNoQOCInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_EventNotificationService\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -202,7 +202,7 @@ impl ISensOnNow_Vtbl { BatteryLow: BatteryLow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs index 95f68a1ce1..1cea6c968b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/GroupPolicy/impl.rs @@ -74,8 +74,8 @@ impl IGPEInformation_Vtbl { PolicyChanged: PolicyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IGPM_Vtbl { InitializeReporting: InitializeReporting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -278,8 +278,8 @@ impl IGPM2_Vtbl { InitializeReportingEx: InitializeReportingEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -299,8 +299,8 @@ impl IGPMAsyncCancel_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -320,8 +320,8 @@ impl IGPMAsyncProgress_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Status: Status:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -455,8 +455,8 @@ impl IGPMBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -511,8 +511,8 @@ impl IGPMBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -567,8 +567,8 @@ impl IGPMBackupDir_Vtbl { SearchBackups: SearchBackups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -636,8 +636,8 @@ impl IGPMBackupDirEx_Vtbl { SearchBackups: SearchBackups::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -692,8 +692,8 @@ impl IGPMCSECollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -761,8 +761,8 @@ impl IGPMClientSideExtension_Vtbl { IsComputerEnabled: IsComputerEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IGPMConstants_Vtbl { RsopPlanningAssumeCompWQLFilterTrue: RsopPlanningAssumeCompWQLFilterTrue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1770,8 +1770,8 @@ impl IGPMConstants2_Vtbl { ReportComments: ReportComments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1911,8 +1911,8 @@ impl IGPMDomain_Vtbl { SearchWMIFilters: SearchWMIFilters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1994,8 +1994,8 @@ impl IGPMDomain2_Vtbl { RestoreStarterGPO: RestoreStarterGPO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl IGPMDomain3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2367,8 +2367,8 @@ impl IGPMGPO_Vtbl { MakeACLConsistent: MakeACLConsistent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2404,8 +2404,8 @@ impl IGPMGPO2_Vtbl { SetDescription: SetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2448,8 +2448,8 @@ impl IGPMGPO3_Vtbl { SetInfrastructureFlags: SetInfrastructureFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2504,8 +2504,8 @@ impl IGPMGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2620,8 +2620,8 @@ impl IGPMGPOLink_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2676,8 +2676,8 @@ impl IGPMGPOLinksCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2745,8 +2745,8 @@ impl IGPMMapEntry_Vtbl { EntryType: EntryType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2801,8 +2801,8 @@ impl IGPMMapEntryCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2904,8 +2904,8 @@ impl IGPMMigrationTable_Vtbl { GetEntries: GetEntries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2986,8 +2986,8 @@ impl IGPMPermission_Vtbl { Trustee: Trustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3356,8 +3356,8 @@ impl IGPMRSOP_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3406,8 +3406,8 @@ impl IGPMResult_Vtbl { OverallStatus: OverallStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3541,8 +3541,8 @@ impl IGPMSOM_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3597,8 +3597,8 @@ impl IGPMSOMCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IGPMSearchCriteria_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Add: Add:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3695,8 +3695,8 @@ impl IGPMSecurityInfo_Vtbl { RemoveTrustee: RemoveTrustee::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3777,8 +3777,8 @@ impl IGPMSitesContainer_Vtbl { SearchSites: SearchSites::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4032,8 +4032,8 @@ impl IGPMStarterGPO_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4180,8 +4180,8 @@ impl IGPMStarterGPOBackup_Vtbl { GenerateReportToFile: GenerateReportToFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4236,8 +4236,8 @@ impl IGPMStarterGPOBackupCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4292,8 +4292,8 @@ impl IGPMStarterGPOCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4375,8 +4375,8 @@ impl IGPMStatusMessage_Vtbl { Message: Message::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4431,8 +4431,8 @@ impl IGPMStatusMsgCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4513,8 +4513,8 @@ impl IGPMTrustee_Vtbl { TrusteeType: TrusteeType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4616,8 +4616,8 @@ impl IGPMWMIFilter_Vtbl { SetSecurityInfo: SetSecurityInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4672,8 +4672,8 @@ impl IGPMWMIFilterCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -4815,8 +4815,8 @@ impl IGroupPolicyObject_Vtbl { GetPropertySheetPages: GetPropertySheetPages::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_GroupPolicy\"`, `\"implement\"`*"] @@ -4856,7 +4856,7 @@ impl IRSOPInformation_Vtbl { GetEventLogEntryText: GetEventLogEntryText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs index 6a0f45ec24..ae14d59cbb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Iis/impl.rs @@ -25,8 +25,8 @@ impl AsyncIFtpAuthenticationProvider_Vtbl { Finish_AuthenticateUser: Finish_AuthenticateUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -59,8 +59,8 @@ impl AsyncIFtpAuthorizationProvider_Vtbl { Finish_GetUserAccessPermission: Finish_GetUserAccessPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl AsyncIFtpHomeDirectoryProvider_Vtbl { Finish_GetUserHomeDirectoryData: Finish_GetUserHomeDirectoryData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -121,8 +121,8 @@ impl AsyncIFtpLogProvider_Vtbl { Finish_Log: Finish_Log::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -158,8 +158,8 @@ impl AsyncIFtpPostprocessProvider_Vtbl { Finish_HandlePostprocess: Finish_HandlePostprocess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl AsyncIFtpPreprocessProvider_Vtbl { Finish_HandlePreprocess: Finish_HandlePreprocess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -232,8 +232,8 @@ impl AsyncIFtpRoleProvider_Vtbl { Finish_IsUserInRole: Finish_IsUserInRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -274,8 +274,8 @@ impl AsyncIMSAdminBaseSinkW_Vtbl { Finish_ShutdownNotify: Finish_ShutdownNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IADMEXT_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -330,8 +330,8 @@ impl IFtpAuthenticationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AuthenticateUser: AuthenticateUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -354,8 +354,8 @@ impl IFtpAuthorizationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserAccessPermission: GetUserAccessPermission:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -378,8 +378,8 @@ impl IFtpHomeDirectoryProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUserHomeDirectoryData: GetUserHomeDirectoryData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -396,8 +396,8 @@ impl IFtpLogProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Log: Log:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -423,8 +423,8 @@ impl IFtpPostprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePostprocess: HandlePostprocess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -450,8 +450,8 @@ impl IFtpPreprocessProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePreprocess: HandlePreprocess:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -471,8 +471,8 @@ impl IFtpProviderConstruct_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Construct: Construct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -498,8 +498,8 @@ impl IFtpRoleProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsUserInRole: IsUserInRole:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -557,8 +557,8 @@ impl IMSAdminBase2W_Vtbl { EnumHistory: EnumHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -578,8 +578,8 @@ impl IMSAdminBase3W_Vtbl { } Self { base__: IMSAdminBase2W_Vtbl::new::(), GetChildPaths: GetChildPaths:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -606,8 +606,8 @@ impl IMSAdminBaseSinkW_Vtbl { ShutdownNotify: ShutdownNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -870,8 +870,8 @@ impl IMSAdminBaseW_Vtbl { GetServerGuid: GetServerGuid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Iis\"`, `\"implement\"`*"] @@ -888,7 +888,7 @@ impl IMSImpExpHelpW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumeratePathsInFile: EnumeratePathsInFile:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs index 6af979c302..1adf19ad1b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/MessageQueuing/impl.rs @@ -21,8 +21,8 @@ impl IMSMQApplication_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), MachineIdOfMachineName: MachineIdOfMachineName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -123,8 +123,8 @@ impl IMSMQApplication2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IMSMQApplication3_Vtbl { Tidy: Tidy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -302,8 +302,8 @@ impl IMSMQCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -329,8 +329,8 @@ impl IMSMQCoordinatedTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -372,8 +372,8 @@ impl IMSMQCoordinatedTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -415,8 +415,8 @@ impl IMSMQCoordinatedTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -572,8 +572,8 @@ impl IMSMQDestination_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -586,8 +586,8 @@ impl IMSMQEvent_Vtbl { pub const fn new, Impl: IMSMQEvent_Impl, const OFFSET: isize>() -> IMSMQEvent_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -613,8 +613,8 @@ impl IMSMQEvent2_Vtbl { } Self { base__: IMSMQEvent_Vtbl::new::(), Properties: Properties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -627,8 +627,8 @@ impl IMSMQEvent3_Vtbl { pub const fn new, Impl: IMSMQEvent3_Impl, const OFFSET: isize>() -> IMSMQEvent3_Vtbl { Self { base__: IMSMQEvent2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -755,8 +755,8 @@ impl IMSMQManagement_Vtbl { BytesInQueue: BytesInQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1283,8 +1283,8 @@ impl IMSMQMessage_Vtbl { AttachCurrentSecurityContext: AttachCurrentSecurityContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2089,8 +2089,8 @@ impl IMSMQMessage2_Vtbl { ReceivedAuthenticationLevel: ReceivedAuthenticationLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl IMSMQMessage3_Vtbl { SetSoapBody: SetSoapBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4045,8 +4045,8 @@ impl IMSMQMessage4_Vtbl { SetSoapBody: SetSoapBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4122,8 +4122,8 @@ impl IMSMQOutgoingQueueManagement_Vtbl { EodResend: EodResend::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4159,8 +4159,8 @@ impl IMSMQPrivateDestination_Vtbl { SetHandle: SetHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4203,8 +4203,8 @@ impl IMSMQPrivateEvent_Vtbl { FireArrivedErrorEvent: FireArrivedErrorEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4230,8 +4230,8 @@ impl IMSMQQuery_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), LookupQueue: LookupQueue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4273,8 +4273,8 @@ impl IMSMQQuery2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4341,8 +4341,8 @@ impl IMSMQQuery3_Vtbl { LookupQueue: LookupQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4409,8 +4409,8 @@ impl IMSMQQuery4_Vtbl { LookupQueue: LookupQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4577,8 +4577,8 @@ impl IMSMQQueue_Vtbl { PeekCurrent: PeekCurrent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4823,8 +4823,8 @@ impl IMSMQQueue2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5232,8 +5232,8 @@ impl IMSMQQueue3_Vtbl { IsOpen2: IsOpen2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5654,8 +5654,8 @@ impl IMSMQQueue4_Vtbl { ReceiveByLookupIdAllowPeek: ReceiveByLookupIdAllowPeek::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5977,8 +5977,8 @@ impl IMSMQQueueInfo_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6346,8 +6346,8 @@ impl IMSMQQueueInfo2_Vtbl { SetSecurity: SetSecurity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6774,8 +6774,8 @@ impl IMSMQQueueInfo3_Vtbl { ADsPath: ADsPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7202,8 +7202,8 @@ impl IMSMQQueueInfo4_Vtbl { ADsPath: ADsPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7239,8 +7239,8 @@ impl IMSMQQueueInfos_Vtbl { Next: Next::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7289,8 +7289,8 @@ impl IMSMQQueueInfos2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7339,8 +7339,8 @@ impl IMSMQQueueInfos3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7389,8 +7389,8 @@ impl IMSMQQueueInfos4_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7445,8 +7445,8 @@ impl IMSMQQueueManagement_Vtbl { EodGetReceiveInfo: EodGetReceiveInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7489,8 +7489,8 @@ impl IMSMQTransaction_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7526,8 +7526,8 @@ impl IMSMQTransaction2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7553,8 +7553,8 @@ impl IMSMQTransaction3_Vtbl { } Self { base__: IMSMQTransaction2_Vtbl::new::(), ITransaction: ITransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7580,8 +7580,8 @@ impl IMSMQTransactionDispenser_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), BeginTransaction: BeginTransaction:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7623,8 +7623,8 @@ impl IMSMQTransactionDispenser2_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7666,8 +7666,8 @@ impl IMSMQTransactionDispenser3_Vtbl { Properties: Properties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_MessageQueuing\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7680,7 +7680,7 @@ impl _DMSMQEventEvents_Vtbl { pub const fn new, Impl: _DMSMQEventEvents_Impl, const OFFSET: isize>() -> _DMSMQEventEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_DMSMQEventEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_DMSMQEventEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs index b172d7a8d5..dd2a5d6c94 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Mmc/impl.rs @@ -8,8 +8,8 @@ impl AppEvents_Vtbl { pub const fn new, Impl: AppEvents_Impl, const OFFSET: isize>() -> AppEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl Column_Vtbl { IsSortColumn: IsSortColumn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -174,8 +174,8 @@ impl Columns_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -230,8 +230,8 @@ impl ContextMenu_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -425,8 +425,8 @@ impl Document_Vtbl { Application: Application::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -521,8 +521,8 @@ impl Extension_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl Extensions_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl Frame_Vtbl { SetRight: SetRight::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -749,8 +749,8 @@ impl IColumnData_Vtbl { GetColumnSortData: GetColumnSortData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -821,8 +821,8 @@ impl IComponent_Vtbl { CompareObjects: CompareObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -865,8 +865,8 @@ impl IComponent2_Vtbl { RestoreResultView: RestoreResultView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -943,8 +943,8 @@ impl IComponentData_Vtbl { CompareObjects: CompareObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -970,8 +970,8 @@ impl IComponentData2_Vtbl { } Self { base__: IComponentData_Vtbl::new::(), QueryDispatch: QueryDispatch:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1100,8 +1100,8 @@ impl IConsole_Vtbl { NewWindow: NewWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1138,8 +1138,8 @@ impl IConsole2_Vtbl { SetStatusText: SetStatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1159,8 +1159,8 @@ impl IConsole3_Vtbl { } Self { base__: IConsole2_Vtbl::new::(), RenameScopeItem: RenameScopeItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1225,8 +1225,8 @@ impl IConsoleNameSpace_Vtbl { GetParentItem: GetParentItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IConsoleNameSpace2_Vtbl { AddExtension: AddExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1284,8 +1284,8 @@ impl IConsolePower_Vtbl { ResetIdleTimer: ResetIdleTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1311,8 +1311,8 @@ impl IConsolePowerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPowerBroadcast: OnPowerBroadcast:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1368,8 +1368,8 @@ impl IConsoleVerb_Vtbl { GetDefaultVerb: GetDefaultVerb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1386,8 +1386,8 @@ impl IContextMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1404,8 +1404,8 @@ impl IContextMenuCallback2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddItem: AddItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1455,8 +1455,8 @@ impl IContextMenuProvider_Vtbl { ShowContextMenu: ShowContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1496,8 +1496,8 @@ impl IControlbar_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1514,8 +1514,8 @@ impl IDisplayHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowTopic: ShowTopic:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl IEnumTASK_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1593,8 +1593,8 @@ impl IExtendContextMenu_Vtbl { Command: Command::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1624,8 +1624,8 @@ impl IExtendControlbar_Vtbl { ControlbarNotify: ControlbarNotify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1655,8 +1655,8 @@ impl IExtendPropertySheet_Vtbl { QueryPagesFor: QueryPagesFor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1676,8 +1676,8 @@ impl IExtendPropertySheet2_Vtbl { } Self { base__: IExtendPropertySheet_Vtbl::new::(), GetWatermarks: GetWatermarks:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1765,8 +1765,8 @@ impl IExtendTaskPad_Vtbl { GetListPadInfo: GetListPadInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1786,8 +1786,8 @@ impl IExtendView_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetViews: GetViews:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1854,8 +1854,8 @@ impl IHeaderCtrl_Vtbl { GetColumnWidth: GetColumnWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1889,8 +1889,8 @@ impl IHeaderCtrl2_Vtbl { GetColumnFilter: GetColumnFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1920,8 +1920,8 @@ impl IImageList_Vtbl { ImageListSetStrip: ImageListSetStrip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -1938,8 +1938,8 @@ impl IMMCVersionInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMMCVersion: GetMMCVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1976,8 +1976,8 @@ impl IMenuButton_Vtbl { SetButtonState: SetButtonState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2018,8 +2018,8 @@ impl IMessageView_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2045,8 +2045,8 @@ impl INodeProperties_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetProperty: GetProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -2076,8 +2076,8 @@ impl IPropertySheetCallback_Vtbl { RemovePage: RemovePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2128,8 +2128,8 @@ impl IPropertySheetProvider_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2175,8 +2175,8 @@ impl IRequiredExtensions_Vtbl { GetNextExtension: GetNextExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2309,8 +2309,8 @@ impl IResultData_Vtbl { SetItemCount: SetItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2330,8 +2330,8 @@ impl IResultData2_Vtbl { } Self { base__: IResultData_Vtbl::new::(), RenameResultItem: RenameResultItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IResultDataCompare_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl IResultDataCompareEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Compare: Compare:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2422,8 +2422,8 @@ impl IResultOwnerData_Vtbl { SortItems: SortItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2498,8 +2498,8 @@ impl ISnapinAbout_Vtbl { GetStaticFolderImage: GetStaticFolderImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2522,8 +2522,8 @@ impl ISnapinHelp_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHelpTopic: GetHelpTopic:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2546,8 +2546,8 @@ impl ISnapinHelp2_Vtbl { } Self { base__: ISnapinHelp_Vtbl::new::(), GetLinkedTopics: GetLinkedTopics:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2584,8 +2584,8 @@ impl ISnapinProperties_Vtbl { PropertiesChanged: PropertiesChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"implement\"`*"] @@ -2602,8 +2602,8 @@ impl ISnapinPropertiesCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddPropertyName: AddPropertyName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IStringTable_Vtbl { Enumerate: Enumerate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2757,8 +2757,8 @@ impl IToolbar_Vtbl { SetButtonState: SetButtonState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2778,8 +2778,8 @@ impl IViewExtensionCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddView: AddView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2867,8 +2867,8 @@ impl MenuItem_Vtbl { Enabled: Enabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2949,8 +2949,8 @@ impl Node_Vtbl { Nodetype: Nodetype::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3005,8 +3005,8 @@ impl Nodes_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3068,8 +3068,8 @@ impl Properties_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3118,8 +3118,8 @@ impl Property_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3194,8 +3194,8 @@ impl ScopeNamespace_Vtbl { Expand: Expand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl SnapIn_Vtbl { EnableAllExtensions: EnableAllExtensions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3372,8 +3372,8 @@ impl SnapIns_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3785,8 +3785,8 @@ impl View_Vtbl { ControlObject: ControlObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3848,8 +3848,8 @@ impl Views_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3949,8 +3949,8 @@ impl _AppEvents_Vtbl { OnListUpdated: OnListUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_AppEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_AppEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4086,8 +4086,8 @@ impl _Application_Vtbl { VersionMinor: VersionMinor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_Application as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_Application as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Mmc\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4117,7 +4117,7 @@ impl _EventConnector_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_EventConnector as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_EventConnector as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs index 284933636c..b09a730ed8 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Ole/impl.rs @@ -15,8 +15,8 @@ impl IAdviseSinkEx_Vtbl { } Self { base__: super::Com::IAdviseSink_Vtbl::new::(), OnViewStatusChange: OnViewStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl ICanHandleException_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanHandleException: CanHandleException:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -80,8 +80,8 @@ impl IClassFactory2_Vtbl { CreateInstanceLic: CreateInstanceLic::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FContinue: FContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl IContinueCallback_Vtbl { FContinuePrinting: FContinuePrinting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ICreateErrorInfo_Vtbl { SetHelpContext: SetHelpContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -353,8 +353,8 @@ impl ICreateTypeInfo_Vtbl { LayOut: LayOut::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -475,8 +475,8 @@ impl ICreateTypeInfo2_Vtbl { SetName: SetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -568,8 +568,8 @@ impl ICreateTypeLib_Vtbl { SaveAllChanges: SaveAllChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -613,8 +613,8 @@ impl ICreateTypeLib2_Vtbl { SetHelpStringDll: SetHelpStringDll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl IDispError_Vtbl { GetDescription: GetDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -802,8 +802,8 @@ impl IDispatchEx_Vtbl { GetNameSpaceParent: GetNameSpaceParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -833,8 +833,8 @@ impl IDropSource_Vtbl { GiveFeedback: GiveFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl IDropSourceNotify_Vtbl { DragLeaveTarget: DragLeaveTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl IDropTarget_Vtbl { Drop: Drop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -946,8 +946,8 @@ impl IEnterpriseDropTarget_Vtbl { IsEvaluatingEdpPolicy: IsEvaluatingEdpPolicy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -997,8 +997,8 @@ impl IEnumOLEVERB_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IEnumOleDocumentViews_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1093,8 +1093,8 @@ impl IEnumOleUndoUnits_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IEnumVARIANT_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1389,8 +1389,8 @@ impl IFont_Vtbl { SetHdc: SetHdc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1403,8 +1403,8 @@ impl IFontDisp_Vtbl { pub const fn new, Impl: IFontDisp_Impl, const OFFSET: isize>() -> IFontDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1417,8 +1417,8 @@ impl IFontEventsDisp_Vtbl { pub const fn new, Impl: IFontEventsDisp_Impl, const OFFSET: isize>() -> IFontEventsDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1435,8 +1435,8 @@ impl IGetOleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOleObject: GetOleObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IGetVBAObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetObject: GetObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IObjectIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEqualObject: IsEqualObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IObjectWithSite_Vtbl { GetSite: GetSite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1570,8 +1570,8 @@ impl IOleAdviseHolder_Vtbl { SendOnClose: SendOnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1634,8 +1634,8 @@ impl IOleCache_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1665,8 +1665,8 @@ impl IOleCache2_Vtbl { DiscardCache: DiscardCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1696,8 +1696,8 @@ impl IOleCacheControl_Vtbl { OnStop: OnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1767,8 +1767,8 @@ impl IOleClientSite_Vtbl { RequestNewObjectLayout: RequestNewObjectLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1798,8 +1798,8 @@ impl IOleCommandTarget_Vtbl { Exec: Exec::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1835,8 +1835,8 @@ impl IOleContainer_Vtbl { LockContainer: LockContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1880,8 +1880,8 @@ impl IOleControl_Vtbl { FreezeEvents: FreezeEvents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1952,8 +1952,8 @@ impl IOleControlSite_Vtbl { ShowPropertyFrame: ShowPropertyFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2002,8 +2002,8 @@ impl IOleDocument_Vtbl { EnumViews: EnumViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2020,8 +2020,8 @@ impl IOleDocumentSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ActivateMe: ActivateMe:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2152,8 +2152,8 @@ impl IOleDocumentView_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2204,8 +2204,8 @@ impl IOleInPlaceActiveObject_Vtbl { EnableModeless: EnableModeless::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IOleInPlaceFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2308,8 +2308,8 @@ impl IOleInPlaceObject_Vtbl { ReactivateAndUndo: ReactivateAndUndo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2351,8 +2351,8 @@ impl IOleInPlaceObjectWindowless_Vtbl { GetDropTarget: GetDropTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2438,8 +2438,8 @@ impl IOleInPlaceSite_Vtbl { OnPosRectChange: OnPosRectChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2476,8 +2476,8 @@ impl IOleInPlaceSiteEx_Vtbl { RequestUIActivate: RequestUIActivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2589,8 +2589,8 @@ impl IOleInPlaceSiteWindowless_Vtbl { OnDefWindowMessage: OnDefWindowMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2640,8 +2640,8 @@ impl IOleInPlaceUIWindow_Vtbl { SetActiveObject: SetActiveObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2678,8 +2678,8 @@ impl IOleItemContainer_Vtbl { IsRunning: IsRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2796,8 +2796,8 @@ impl IOleLink_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3020,8 +3020,8 @@ impl IOleObject_Vtbl { SetColorScheme: SetColorScheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3078,8 +3078,8 @@ impl IOleParentUndoUnit_Vtbl { GetParentState: GetParentState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3157,8 +3157,8 @@ impl IOleUILinkContainerA_Vtbl { CancelLink: CancelLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IOleUILinkContainerW_Vtbl { CancelLink: CancelLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3263,8 +3263,8 @@ impl IOleUILinkInfoA_Vtbl { } Self { base__: IOleUILinkContainerA_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3290,8 +3290,8 @@ impl IOleUILinkInfoW_Vtbl { } Self { base__: IOleUILinkContainerW_Vtbl::new::(), GetLastUpdate: GetLastUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3342,8 +3342,8 @@ impl IOleUIObjInfoA_Vtbl { SetViewInfo: SetViewInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3394,8 +3394,8 @@ impl IOleUIObjInfoW_Vtbl { SetViewInfo: SetViewInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3525,8 +3525,8 @@ impl IOleUndoManager_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IOleUndoUnit_Vtbl { OnNextAdd: OnNextAdd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3610,8 +3610,8 @@ impl IOleWindow_Vtbl { ContextSensitiveHelp: ContextSensitiveHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3631,8 +3631,8 @@ impl IParseDisplayName_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ParseDisplayName: ParseDisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IPerPropertyBrowsing_Vtbl { GetPredefinedValue: GetPredefinedValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IPersistPropertyBag_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3777,8 +3777,8 @@ impl IPersistPropertyBag2_Vtbl { IsDirty: IsDirty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3946,8 +3946,8 @@ impl IPicture_Vtbl { Attributes: Attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4115,8 +4115,8 @@ impl IPicture2_Vtbl { Attributes: Attributes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4129,8 +4129,8 @@ impl IPictureDisp_Vtbl { pub const fn new, Impl: IPictureDisp_Impl, const OFFSET: isize>() -> IPictureDisp_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4173,8 +4173,8 @@ impl IPointerInactive_Vtbl { OnInactiveSetCursor: OnInactiveSetCursor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl IPrint_Vtbl { Print: Print::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4239,8 +4239,8 @@ impl IPropertyNotifySink_Vtbl { OnRequestEdit: OnRequestEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4333,8 +4333,8 @@ impl IPropertyPage_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4354,8 +4354,8 @@ impl IPropertyPage2_Vtbl { } Self { base__: IPropertyPage_Vtbl::new::(), EditProperty: EditProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4411,8 +4411,8 @@ impl IPropertyPageSite_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4438,8 +4438,8 @@ impl IProtectFocus_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowFocusChange: AllowFocusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -4494,8 +4494,8 @@ impl IProtectedModeMenuServices_Vtbl { LoadMenuID: LoadMenuID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4521,8 +4521,8 @@ impl IProvideClassInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClassInfo: GetClassInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4548,8 +4548,8 @@ impl IProvideClassInfo2_Vtbl { } Self { base__: IProvideClassInfo_Vtbl::new::(), GetGUID: GetGUID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4585,8 +4585,8 @@ impl IProvideMultipleClassInfo_Vtbl { GetInfoOfIndex: GetInfoOfIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4606,8 +4606,8 @@ impl IProvideRuntimeContext_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrentSourceContext: GetCurrentSourceContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4650,8 +4650,8 @@ impl IQuickActivate_Vtbl { GetContentExtent: GetContentExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4809,8 +4809,8 @@ impl IRecordInfo_Vtbl { RecordDestroy: RecordDestroy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4840,8 +4840,8 @@ impl ISimpleFrameSite_Vtbl { PostMessageFilter: PostMessageFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl ISpecifyPropertyPages_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPages: GetPages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4901,8 +4901,8 @@ impl ITypeChangeEvents_Vtbl { AfterTypeChange: AfterTypeChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4928,8 +4928,8 @@ impl ITypeFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromTypeInfo: CreateFromTypeInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4976,8 +4976,8 @@ impl ITypeMarshal_Vtbl { Free: Free::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4997,8 +4997,8 @@ impl IVBFormat_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Format: Format:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5024,8 +5024,8 @@ impl IVBGetControl_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumControls: EnumControls:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5045,8 +5045,8 @@ impl IVariantChangeType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ChangeType: ChangeType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5104,8 +5104,8 @@ impl IViewObject_Vtbl { GetAdvise: GetAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5131,8 +5131,8 @@ impl IViewObject2_Vtbl { } Self { base__: IViewObject_Vtbl::new::(), GetExtent: GetExtent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5213,8 +5213,8 @@ impl IViewObjectEx_Vtbl { GetNaturalExtent: GetNaturalExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5231,7 +5231,7 @@ impl IZoomEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnZoomPercentChanged: OnZoomPercentChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs index 3e40dc6e07..b63abbd1e4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ParentalControls/impl.rs @@ -21,8 +21,8 @@ impl IWPCGamesSettings_Vtbl { } Self { base__: IWPCSettings_Vtbl::new::(), IsBlocked: IsBlocked:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IWPCProviderConfig_Vtbl { RequestOverride: RequestOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -93,8 +93,8 @@ impl IWPCProviderState_Vtbl { Disable: Disable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -117,8 +117,8 @@ impl IWPCProviderSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCurrent: GetCurrent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -173,8 +173,8 @@ impl IWPCSettings_Vtbl { GetRestrictions: GetRestrictions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -216,8 +216,8 @@ impl IWPCWebSettings_Vtbl { RequestURLOverride: RequestURLOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -240,8 +240,8 @@ impl IWindowsParentalControls_Vtbl { } Self { base__: IWindowsParentalControlsCore_Vtbl::new::(), GetGamesSettings: GetGamesSettings:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ParentalControls\"`, `\"implement\"`*"] @@ -300,7 +300,7 @@ impl IWindowsParentalControlsCore_Vtbl { GetWebFilterInfo: GetWebFilterInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs index 70961ce06e..3b850be4c6 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Performance/impl.rs @@ -8,8 +8,8 @@ impl DICounterItem_Vtbl { pub const fn new, Impl: DICounterItem_Impl, const OFFSET: isize>() -> DICounterItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22,8 +22,8 @@ impl DILogFileItem_Vtbl { pub const fn new, Impl: DILogFileItem_Impl, const OFFSET: isize>() -> DILogFileItem_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl DISystemMonitor_Vtbl { pub const fn new, Impl: DISystemMonitor_Impl, const OFFSET: isize>() -> DISystemMonitor_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -50,8 +50,8 @@ impl DISystemMonitorEvents_Vtbl { pub const fn new, Impl: DISystemMonitorEvents_Impl, const OFFSET: isize>() -> DISystemMonitorEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl DISystemMonitorInternal_Vtbl { pub const fn new, Impl: DISystemMonitorInternal_Impl, const OFFSET: isize>() -> DISystemMonitorInternal_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -241,8 +241,8 @@ impl IAlertDataCollector_Vtbl { SetTriggerDataCollectorSet: SetTriggerDataCollectorSet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -398,8 +398,8 @@ impl IApiTracingDataCollector_Vtbl { SetExcludeApis: SetExcludeApis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -595,8 +595,8 @@ impl IConfigurationDataCollector_Vtbl { SetSystemStateFile: SetSystemStateFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -729,8 +729,8 @@ impl ICounterItem_Vtbl { GetStatistics: GetStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -799,8 +799,8 @@ impl ICounterItem2_Vtbl { GetDataAt: GetDataAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -875,8 +875,8 @@ impl ICounters_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1157,8 +1157,8 @@ impl IDataCollector_Vtbl { CreateOutputLocation: CreateOutputLocation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1261,8 +1261,8 @@ impl IDataCollectorCollection_Vtbl { CreateDataCollector: CreateDataCollector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1902,8 +1902,8 @@ impl IDataCollectorSet_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1993,8 +1993,8 @@ impl IDataCollectorSetCollection_Vtbl { GetDataCollectorSets: GetDataCollectorSets::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2263,8 +2263,8 @@ impl IDataManager_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2360,8 +2360,8 @@ impl IFolderAction_Vtbl { SetSendCabTo: SetSendCabTo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2457,8 +2457,8 @@ impl IFolderActionCollection_Vtbl { CreateFolderAction: CreateFolderAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -2481,8 +2481,8 @@ impl ILogFileItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Path: Path:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2557,8 +2557,8 @@ impl ILogFiles_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2674,8 +2674,8 @@ impl IPerformanceCounterDataCollector_Vtbl { SetSegmentMaxRecords: SetSegmentMaxRecords::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2771,8 +2771,8 @@ impl ISchedule_Vtbl { SetDays: SetDays::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2868,8 +2868,8 @@ impl IScheduleCollection_Vtbl { CreateSchedule: CreateSchedule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3633,8 +3633,8 @@ impl ISystemMonitor_Vtbl { SqlLogSetName: SqlLogSetName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3832,8 +3832,8 @@ impl ISystemMonitor2_Vtbl { LoadSettings: LoadSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"implement\"`*"] @@ -3881,8 +3881,8 @@ impl ISystemMonitorEvents_Vtbl { OnDblClick: OnDblClick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4304,8 +4304,8 @@ impl ITraceDataCollector_Vtbl { TraceDataProviders: TraceDataProviders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4520,8 +4520,8 @@ impl ITraceDataProvider_Vtbl { GetRegisteredProcesses: GetRegisteredProcesses::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4631,8 +4631,8 @@ impl ITraceDataProviderCollection_Vtbl { GetTraceDataProvidersByProcess: GetTraceDataProvidersByProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4788,8 +4788,8 @@ impl IValueMap_Vtbl { CreateValueMapItem: CreateValueMapItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4905,8 +4905,8 @@ impl IValueMapItem_Vtbl { SetValueMapType: SetValueMapType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5095,8 +5095,8 @@ impl _ICounterItemUnion_Vtbl { GetDataAt: GetDataAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ICounterItemUnion as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ICounterItemUnion as ::windows_core::ComInterface>::IID } } #[doc = "*Required features: `\"Win32_System_Performance\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -6042,7 +6042,7 @@ impl _ISystemMonitorUnion_Vtbl { LoadSettings: LoadSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ISystemMonitorUnion as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ISystemMonitorUnion as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs index 6c4e2b8bdc..d2a32655a2 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RealTimeCommunications/impl.rs @@ -25,8 +25,8 @@ impl INetworkTransportSettings_Vtbl { QuerySetting: QuerySetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -53,8 +53,8 @@ impl INotificationTransportSync_Vtbl { Flush: Flush::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IRTCBuddy_Vtbl { Notes: Notes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -211,8 +211,8 @@ impl IRTCBuddy2_Vtbl { SubscriptionType: SubscriptionType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -238,8 +238,8 @@ impl IRTCBuddyEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Buddy: Buddy:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl IRTCBuddyEvent2_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IRTCBuddyGroup_Vtbl { Profile: Profile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IRTCBuddyGroupEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -910,8 +910,8 @@ impl IRTCClient_Vtbl { IsTuned: IsTuned::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_Media_DirectShow\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1048,8 +1048,8 @@ impl IRTCClient2_Vtbl { get_AllowedPorts: get_AllowedPorts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IRTCClientEvent_Vtbl { Client: Client::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1126,8 +1126,8 @@ impl IRTCClientPortManagement_Vtbl { GetPortRange: GetPortRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1329,8 +1329,8 @@ impl IRTCClientPresence_Vtbl { SetPrivacyMode: SetPrivacyMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1499,8 +1499,8 @@ impl IRTCClientPresence2_Vtbl { AddBuddyEx: AddBuddyEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1589,8 +1589,8 @@ impl IRTCClientProvisioning_Vtbl { SessionCapabilities: SessionCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1610,8 +1610,8 @@ impl IRTCClientProvisioning2_Vtbl { } Self { base__: IRTCClientProvisioning_Vtbl::new::(), EnableProfileEx: EnableProfileEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1666,8 +1666,8 @@ impl IRTCCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1680,8 +1680,8 @@ impl IRTCDispatchEventNotification_Vtbl { pub const fn new, Impl: IRTCDispatchEventNotification_Impl, const OFFSET: isize>() -> IRTCDispatchEventNotification_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1728,8 +1728,8 @@ impl IRTCEnumBuddies_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl IRTCEnumGroups_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1824,8 +1824,8 @@ impl IRTCEnumParticipants_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1872,8 +1872,8 @@ impl IRTCEnumPresenceDevices_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1920,8 +1920,8 @@ impl IRTCEnumProfiles_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -1968,8 +1968,8 @@ impl IRTCEnumUserSearchResults_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2016,8 +2016,8 @@ impl IRTCEnumWatchers_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2037,8 +2037,8 @@ impl IRTCEventNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Event: Event:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2106,8 +2106,8 @@ impl IRTCInfoEvent_Vtbl { InfoHeader: InfoHeader::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2175,8 +2175,8 @@ impl IRTCIntensityEvent_Vtbl { Direction: Direction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2231,8 +2231,8 @@ impl IRTCMediaEvent_Vtbl { EventReason: EventReason::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2327,8 +2327,8 @@ impl IRTCMediaRequestEvent_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2422,8 +2422,8 @@ impl IRTCMessagingEvent_Vtbl { UserStatus: UserStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2504,8 +2504,8 @@ impl IRTCParticipant_Vtbl { Session: Session::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2560,8 +2560,8 @@ impl IRTCParticipantStateChangeEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2595,8 +2595,8 @@ impl IRTCPortManager_Vtbl { ReleaseMapping: ReleaseMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2692,8 +2692,8 @@ impl IRTCPresenceContact_Vtbl { SetPersistent: SetPersistent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2742,8 +2742,8 @@ impl IRTCPresenceDataEvent_Vtbl { GetPresenceData: GetPresenceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -2802,8 +2802,8 @@ impl IRTCPresenceDevice_Vtbl { GetPresenceData: GetPresenceData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2871,8 +2871,8 @@ impl IRTCPresencePropertyEvent_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2921,8 +2921,8 @@ impl IRTCPresenceStatusEvent_Vtbl { GetLocalPresenceInfo: GetLocalPresenceInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3166,8 +3166,8 @@ impl IRTCProfile_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3223,8 +3223,8 @@ impl IRTCProfile2_Vtbl { SetAllowedAuth: SetAllowedAuth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3279,8 +3279,8 @@ impl IRTCProfileEvent_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3306,8 +3306,8 @@ impl IRTCProfileEvent2_Vtbl { } Self { base__: IRTCProfileEvent_Vtbl::new::(), EventType: EventType:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3370,8 +3370,8 @@ impl IRTCReInviteEvent_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3439,8 +3439,8 @@ impl IRTCRegistrationStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3508,8 +3508,8 @@ impl IRTCRoamingEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3725,8 +3725,8 @@ impl IRTCSession_Vtbl { put_EncryptionKey: put_EncryptionKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3796,8 +3796,8 @@ impl IRTCSession2_Vtbl { ReInviteWithSessionDescription: ReInviteWithSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3894,8 +3894,8 @@ impl IRTCSessionCallControl_Vtbl { IsReferred: IsReferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3918,8 +3918,8 @@ impl IRTCSessionDescriptionManager_Vtbl { EvaluateSessionDescription: EvaluateSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3987,8 +3987,8 @@ impl IRTCSessionOperationCompleteEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4024,8 +4024,8 @@ impl IRTCSessionOperationCompleteEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4042,8 +4042,8 @@ impl IRTCSessionPortManagement_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetPortManager: SetPortManager:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4111,8 +4111,8 @@ impl IRTCSessionReferStatusEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4201,8 +4201,8 @@ impl IRTCSessionReferredEvent_Vtbl { SetReferredSessionState: SetReferredSessionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4270,8 +4270,8 @@ impl IRTCSessionStateChangeEvent_Vtbl { StatusText: StatusText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4333,8 +4333,8 @@ impl IRTCSessionStateChangeEvent2_Vtbl { GetRemoteSessionDescription: GetRemoteSessionDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4367,8 +4367,8 @@ impl IRTCUserSearch_Vtbl { ExecuteSearch: ExecuteSearch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4454,8 +4454,8 @@ impl IRTCUserSearchQuery_Vtbl { SearchDomain: SearchDomain::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"implement\"`*"] @@ -4478,8 +4478,8 @@ impl IRTCUserSearchResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), get_Value: get_Value:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4586,8 +4586,8 @@ impl IRTCUserSearchResultsEvent_Vtbl { MoreAvailable: MoreAvailable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4623,8 +4623,8 @@ impl IRTCWatcher_Vtbl { SetState: SetState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4662,8 +4662,8 @@ impl IRTCWatcher2_Vtbl { } Self { base__: IRTCWatcher_Vtbl::new::(), Profile: Profile::, Scope: Scope:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4689,8 +4689,8 @@ impl IRTCWatcherEvent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Watcher: Watcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4732,8 +4732,8 @@ impl IRTCWatcherEvent2_Vtbl { StatusCode: StatusCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RealTimeCommunications\"`, `\"Win32_Networking_WinSock\"`, `\"implement\"`*"] @@ -4763,7 +4763,7 @@ impl ITransportSettingsInternal_Vtbl { QuerySetting: QuerySetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs index 2f926cc390..ec47898038 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteAssistance/impl.rs @@ -8,8 +8,8 @@ impl DRendezvousSessionEvents_Vtbl { pub const fn new, Impl: DRendezvousSessionEvents_Impl, const OFFSET: isize>() -> DRendezvousSessionEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`, `\"implement\"`*"] @@ -26,8 +26,8 @@ impl IRendezvousApplication_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRendezvousSession: SetRendezvousSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteAssistance\"`, `\"implement\"`*"] @@ -93,7 +93,7 @@ impl IRendezvousSession_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs index 5027198532..5dfd7743f1 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteDesktop/impl.rs @@ -311,8 +311,8 @@ impl IADsTSUserEx_Vtbl { SetTerminalServicesInitialProgram: SetTerminalServicesInitialProgram::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -368,8 +368,8 @@ impl IAudioDeviceEndpoint_Vtbl { WriteExclusiveModeParametersToSharedMemory: WriteExclusiveModeParametersToSharedMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_Media_Audio\"`, `\"implement\"`*"] @@ -438,8 +438,8 @@ impl IAudioEndpoint_Vtbl { SetEventHandle: SetEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -473,8 +473,8 @@ impl IAudioEndpointControl_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -515,8 +515,8 @@ impl IAudioEndpointRT_Vtbl { SetPinActive: SetPinActive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl IAudioInputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Media_Audio_Apo\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl IAudioOutputEndpointRT_Vtbl { PulseEndpoint: PulseEndpoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -696,8 +696,8 @@ impl IRemoteDesktopClient_Vtbl { detachEvent: detachEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -747,8 +747,8 @@ impl IRemoteDesktopClientActions_Vtbl { GetSnapshot: GetSnapshot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -804,8 +804,8 @@ impl IRemoteDesktopClientSettings_Vtbl { SetRdpProperty: SetRdpProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -881,8 +881,8 @@ impl IRemoteDesktopClientTouchPointer_Vtbl { PointerSpeed: PointerSpeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -899,8 +899,8 @@ impl IRemoteSystemAdditionalInfoProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAdditionalInfo: GetAdditionalInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -917,8 +917,8 @@ impl ITSGAccountingEngine_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoAccounting: DoAccounting:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -962,8 +962,8 @@ impl ITSGAuthenticateUserSink_Vtbl { DisconnectUser: DisconnectUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -990,8 +990,8 @@ impl ITSGAuthenticationEngine_Vtbl { CancelAuthentication: CancelAuthentication::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1008,8 +1008,8 @@ impl ITSGAuthorizeConnectionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnectionAuthorized: OnConnectionAuthorized:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl ITSGAuthorizeResourceSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChannelAuthorized: OnChannelAuthorized:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1092,8 +1092,8 @@ impl ITSGPolicyEngine_Vtbl { IsQuarantineEnabled: IsQuarantineEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl ITsSbBaseNotifySink_Vtbl { OnReportStatus: OnReportStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl ITsSbClientConnection_Vtbl { GetDisconnectedSession: GetDisconnectedSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1334,8 +1334,8 @@ impl ITsSbClientConnectionPropertySet_Vtbl { pub const fn new, Impl: ITsSbClientConnectionPropertySet_Impl, const OFFSET: isize>() -> ITsSbClientConnectionPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1397,8 +1397,8 @@ impl ITsSbEnvironment_Vtbl { SetEnvironmentPropertySet: SetEnvironmentPropertySet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1411,8 +1411,8 @@ impl ITsSbEnvironmentPropertySet_Vtbl { pub const fn new, Impl: ITsSbEnvironmentPropertySet_Impl, const OFFSET: isize>() -> ITsSbEnvironmentPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1455,8 +1455,8 @@ impl ITsSbFilterPluginStore_Vtbl { DeleteProperties: DeleteProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1492,8 +1492,8 @@ impl ITsSbGenericNotifySink_Vtbl { GetWaitTimeout: GetWaitTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1570,8 +1570,8 @@ impl ITsSbGlobalStore_Vtbl { GetFarmProperty: GetFarmProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1594,8 +1594,8 @@ impl ITsSbLoadBalanceResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TargetName: TargetName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl ITsSbLoadBalancing_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), GetMostSuitableTarget: GetMostSuitableTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1636,8 +1636,8 @@ impl ITsSbLoadBalancingNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnGetMostSuitableTarget: OnGetMostSuitableTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1657,8 +1657,8 @@ impl ITsSbOrchestration_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), PrepareTargetForConnect: PrepareTargetForConnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1675,8 +1675,8 @@ impl ITsSbOrchestrationNotifySink_Vtbl { } Self { base__: ITsSbBaseNotifySink_Vtbl::new::(), OnReadyToConnect: OnReadyToConnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1696,8 +1696,8 @@ impl ITsSbPlacement_Vtbl { } Self { base__: ITsSbPlugin_Vtbl::new::(), QueryEnvironmentForTarget: QueryEnvironmentForTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1717,8 +1717,8 @@ impl ITsSbPlacementNotifySink_Vtbl { OnQueryEnvironmentCompleted: OnQueryEnvironmentCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1748,8 +1748,8 @@ impl ITsSbPlugin_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -1776,8 +1776,8 @@ impl ITsSbPluginNotifySink_Vtbl { OnTerminated: OnTerminated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1790,8 +1790,8 @@ impl ITsSbPluginPropertySet_Vtbl { pub const fn new, Impl: ITsSbPluginPropertySet_Impl, const OFFSET: isize>() -> ITsSbPluginPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1804,8 +1804,8 @@ impl ITsSbPropertySet_Vtbl { pub const fn new, Impl: ITsSbPropertySet_Impl, const OFFSET: isize>() -> ITsSbPropertySet_Vtbl { Self { base__: super::Com::StructuredStorage::IPropertyBag_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -1965,8 +1965,8 @@ impl ITsSbProvider_Vtbl { CreateEnvironmentPropertySetObject: CreateEnvironmentPropertySetObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2010,8 +2010,8 @@ impl ITsSbProvisioning_Vtbl { CancelJob: CancelJob::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2066,8 +2066,8 @@ impl ITsSbProvisioningPluginNotifySink_Vtbl { OnVirtualMachineHostStatusChanged: OnVirtualMachineHostStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2101,8 +2101,8 @@ impl ITsSbResourceNotification_Vtbl { NotifyClientConnectionStateChange: NotifyClientConnectionStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2136,8 +2136,8 @@ impl ITsSbResourceNotificationEx_Vtbl { NotifyClientConnectionStateChangeEx: NotifyClientConnectionStateChangeEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2150,8 +2150,8 @@ impl ITsSbResourcePlugin_Vtbl { pub const fn new, Impl: ITsSbResourcePlugin_Impl, const OFFSET: isize>() -> ITsSbResourcePlugin_Vtbl { Self { base__: ITsSbPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2405,8 +2405,8 @@ impl ITsSbResourcePluginStore_Vtbl { SetServerDrainMode: SetServerDrainMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -2433,8 +2433,8 @@ impl ITsSbServiceNotification_Vtbl { NotifyServiceSuccess: NotifyServiceSuccess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2629,8 +2629,8 @@ impl ITsSbSession_Vtbl { SetProtocolType: SetProtocolType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2839,8 +2839,8 @@ impl ITsSbTarget_Vtbl { TargetLoad: TargetLoad::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2853,8 +2853,8 @@ impl ITsSbTargetPropertySet_Vtbl { pub const fn new, Impl: ITsSbTargetPropertySet_Impl, const OFFSET: isize>() -> ITsSbTargetPropertySet_Vtbl { Self { base__: ITsSbPropertySet_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2987,8 +2987,8 @@ impl ITsSbTaskInfo_Vtbl { Status: Status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -3018,8 +3018,8 @@ impl ITsSbTaskPlugin_Vtbl { SetTaskQueue: SetTaskQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3063,8 +3063,8 @@ impl ITsSbTaskPluginNotifySink_Vtbl { OnReportTasks: OnReportTasks::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3090,8 +3090,8 @@ impl IWRdsEnhancedFastReconnectArbitrator_Vtbl { GetSessionForEnhancedFastReconnect: GetSessionForEnhancedFastReconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3125,8 +3125,8 @@ impl IWRdsGraphicsChannel_Vtbl { Open: Open::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3177,8 +3177,8 @@ impl IWRdsGraphicsChannelEvents_Vtbl { OnMetricsUpdate: OnMetricsUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3201,8 +3201,8 @@ impl IWRdsGraphicsChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateChannel: CreateChannel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3422,8 +3422,8 @@ impl IWRdsProtocolConnection_Vtbl { NotifyCommandProcessCreated: NotifyCommandProcessCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3477,8 +3477,8 @@ impl IWRdsProtocolConnectionCallback_Vtbl { GetConnectionId: GetConnectionId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3505,8 +3505,8 @@ impl IWRdsProtocolConnectionSettings_Vtbl { GetConnectionSetting: GetConnectionSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3550,8 +3550,8 @@ impl IWRdsProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3591,8 +3591,8 @@ impl IWRdsProtocolListener_Vtbl { StopListen: StopListen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3618,8 +3618,8 @@ impl IWRdsProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3678,8 +3678,8 @@ impl IWRdsProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3757,8 +3757,8 @@ impl IWRdsProtocolManager_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3788,8 +3788,8 @@ impl IWRdsProtocolSettings_Vtbl { MergeSettings: MergeSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3817,8 +3817,8 @@ impl IWRdsProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3852,8 +3852,8 @@ impl IWRdsProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3897,8 +3897,8 @@ impl IWRdsWddmIddProps_Vtbl { EnableWddmIdd: EnableWddmIdd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3921,8 +3921,8 @@ impl IWTSBitmapRenderService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMappedRenderer: GetMappedRenderer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -3962,8 +3962,8 @@ impl IWTSBitmapRenderer_Vtbl { RemoveMapping: RemoveMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3983,8 +3983,8 @@ impl IWTSBitmapRendererCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTargetSizeChanged: OnTargetSizeChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -4010,8 +4010,8 @@ impl IWTSListener_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConfiguration: GetConfiguration:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4031,8 +4031,8 @@ impl IWTSListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnNewChannelConnection: OnNewChannelConnection:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4073,8 +4073,8 @@ impl IWTSPlugin_Vtbl { Terminated: Terminated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4097,8 +4097,8 @@ impl IWTSPluginServiceProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetService: GetService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4305,8 +4305,8 @@ impl IWTSProtocolConnection_Vtbl { GetShadowConnection: GetShadowConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4354,8 +4354,8 @@ impl IWTSProtocolConnectionCallback_Vtbl { DisplayIOCtl: DisplayIOCtl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4399,8 +4399,8 @@ impl IWTSProtocolLicenseConnection_Vtbl { ProtocolComplete: ProtocolComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4427,8 +4427,8 @@ impl IWTSProtocolListener_Vtbl { StopListen: StopListen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4451,8 +4451,8 @@ impl IWTSProtocolListenerCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConnected: OnConnected:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4511,8 +4511,8 @@ impl IWTSProtocolLogonErrorRedirector_Vtbl { RedirectLogonError: RedirectLogonError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4566,8 +4566,8 @@ impl IWTSProtocolManager_Vtbl { NotifySessionStateChange: NotifySessionStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4595,8 +4595,8 @@ impl IWTSProtocolShadowCallback_Vtbl { InvokeTargetShadow: InvokeTargetShadow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4630,8 +4630,8 @@ impl IWTSProtocolShadowConnection_Vtbl { DoTarget: DoTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4695,8 +4695,8 @@ impl IWTSSBPlugin_Vtbl { WTSSBX_GetUserExternalSession: WTSSBX_GetUserExternalSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4719,8 +4719,8 @@ impl IWTSVirtualChannel_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Write: Write::, Close: Close:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4747,8 +4747,8 @@ impl IWTSVirtualChannelCallback_Vtbl { OnClose: OnClose::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4771,8 +4771,8 @@ impl IWTSVirtualChannelManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateListener: CreateListener:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4821,8 +4821,8 @@ impl IWorkspace_Vtbl { GetProcessId: GetProcessId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4842,8 +4842,8 @@ impl IWorkspace2_Vtbl { } Self { base__: IWorkspace_Vtbl::new::(), StartRemoteApplicationEx: StartRemoteApplicationEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4879,8 +4879,8 @@ impl IWorkspace3_Vtbl { SetClaimsToken: SetClaimsToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4926,8 +4926,8 @@ impl IWorkspaceClientExt_Vtbl { IssueDisconnect: IssueDisconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4960,8 +4960,8 @@ impl IWorkspaceRegistration_Vtbl { RemoveResource: RemoveResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -4988,8 +4988,8 @@ impl IWorkspaceRegistration2_Vtbl { RemoveResourceEx: RemoveResourceEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5032,8 +5032,8 @@ impl IWorkspaceReportMessage_Vtbl { RegisterErrorEvent: RegisterErrorEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5096,8 +5096,8 @@ impl IWorkspaceResTypeRegistry_Vtbl { ModifyResourceType: ModifyResourceType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5174,8 +5174,8 @@ impl IWorkspaceScriptable_Vtbl { DisconnectWorkspaceByFriendlyName: DisconnectWorkspaceByFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5205,8 +5205,8 @@ impl IWorkspaceScriptable2_Vtbl { ResourceDismissed: ResourceDismissed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5240,8 +5240,8 @@ impl IWorkspaceScriptable3_Vtbl { } Self { base__: IWorkspaceScriptable2_Vtbl::new::(), StartWorkspaceEx2: StartWorkspaceEx2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl ItsPubPlugin_Vtbl { ResolveResource: ResolveResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"implement\"`*"] @@ -5356,8 +5356,8 @@ impl ItsPubPlugin2_Vtbl { DeletePersonalDesktopAssignment: DeletePersonalDesktopAssignment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteDesktop\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5370,7 +5370,7 @@ impl _ITSWkspEvents_Vtbl { pub const fn new, Impl: _ITSWkspEvents_Impl, const OFFSET: isize>() -> _ITSWkspEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_ITSWkspEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_ITSWkspEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs index 411655f55b..b97bcb9542 100644 --- a/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/RemoteManagement/impl.rs @@ -63,8 +63,8 @@ impl IWSMan_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -107,8 +107,8 @@ impl IWSManConnectionOptions_Vtbl { SetPassword: SetPassword::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -144,8 +144,8 @@ impl IWSManConnectionOptionsEx_Vtbl { SetCertificateThumbprint: SetCertificateThumbprint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IWSManConnectionOptionsEx2_Vtbl { ProxyAuthenticationUseDigest: ProxyAuthenticationUseDigest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -315,8 +315,8 @@ impl IWSManEnumerator_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -592,8 +592,8 @@ impl IWSManEx_Vtbl { EnumerationFlagReturnObject: EnumerationFlagReturnObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -622,8 +622,8 @@ impl IWSManEx2_Vtbl { SessionFlagUseClientCertificate: SessionFlagUseClientCertificate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -730,8 +730,8 @@ impl IWSManEx3_Vtbl { SessionFlagUseSsl: SessionFlagUseSsl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -757,8 +757,8 @@ impl IWSManInternal_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), ConfigSDDL: ConfigSDDL:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -895,8 +895,8 @@ impl IWSManResourceLocator_Vtbl { Error: Error::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"implement\"`*"] @@ -906,8 +906,8 @@ impl IWSManResourceLocatorInternal_Vtbl { pub const fn new, Impl: IWSManResourceLocatorInternal_Impl, const OFFSET: isize>() -> IWSManResourceLocatorInternal_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_RemoteManagement\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1061,7 +1061,7 @@ impl IWSManSession_Vtbl { SetTimeout: SetTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs index b223abfac2..a2c5a5b963 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Search/impl.rs @@ -61,8 +61,8 @@ impl DataSource_Vtbl { removeDataSourceListener: removeDataSourceListener::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl DataSourceListener_Vtbl { dataMemberRemoved: dataMemberRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl DataSourceObject_Vtbl { pub const fn new, Impl: DataSourceObject_Impl, const OFFSET: isize>() -> DataSourceObject_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IAccessor_Vtbl { ReleaseAccessor: ReleaseAccessor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -176,8 +176,8 @@ impl IAlterIndex_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AlterIndex: AlterIndex:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -207,8 +207,8 @@ impl IAlterTable_Vtbl { AlterTable: AlterTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -228,8 +228,8 @@ impl IBindResource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Bind: Bind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IChapteredRowset_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -301,8 +301,8 @@ impl IColumnMapper_Vtbl { IsMapUpToDate: IsMapUpToDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl IColumnMapperCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetColumnMapper: GetColumnMapper:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -356,8 +356,8 @@ impl IColumnsInfo_Vtbl { MapColumnIDs: MapColumnIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -377,8 +377,8 @@ impl IColumnsInfo2_Vtbl { } Self { base__: IColumnsInfo_Vtbl::new::(), GetRestrictedColumnInfo: GetRestrictedColumnInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -408,8 +408,8 @@ impl IColumnsRowset_Vtbl { GetColumnsRowset: GetColumnsRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -449,8 +449,8 @@ impl ICommand_Vtbl { GetDBSession: GetDBSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -505,8 +505,8 @@ impl ICommandCost_Vtbl { SetCostLimits: SetCostLimits::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -556,8 +556,8 @@ impl ICommandPersist_Vtbl { SaveCommand: SaveCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -584,8 +584,8 @@ impl ICommandPrepare_Vtbl { Unprepare: Unprepare::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -615,8 +615,8 @@ impl ICommandProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -643,8 +643,8 @@ impl ICommandStream_Vtbl { SetCommandStream: SetCommandStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl ICommandText_Vtbl { SetCommandText: SetCommandText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -699,8 +699,8 @@ impl ICommandValidate_Vtbl { ValidateSyntax: ValidateSyntax::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -737,8 +737,8 @@ impl ICommandWithParameters_Vtbl { SetParameterInfo: SetParameterInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -827,8 +827,8 @@ impl ICondition_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl ICondition2_Vtbl { GetLeafConditionInfo: GetLeafConditionInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl IConditionFactory_Vtbl { Resolve: Resolve::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IConditionFactory2_Vtbl { ResolveCondition: ResolveCondition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IConditionGenerator_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1090,8 +1090,8 @@ impl IConvertType_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanConvert: CanConvert:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1111,8 +1111,8 @@ impl ICreateRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateRow: CreateRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1146,8 +1146,8 @@ impl IDBAsynchNotify_Vtbl { OnStop: OnStop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1174,8 +1174,8 @@ impl IDBAsynchStatus_Vtbl { GetStatus: GetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IDBBinderProperties_Vtbl { } Self { base__: IDBProperties_Vtbl::new::(), Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1219,8 +1219,8 @@ impl IDBCreateCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateCommand: CreateCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1243,8 +1243,8 @@ impl IDBCreateSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1288,8 +1288,8 @@ impl IDBDataSourceAdmin_Vtbl { ModifyDataSource: ModifyDataSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1325,8 +1325,8 @@ impl IDBInfo_Vtbl { GetLiteralInfo: GetLiteralInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1353,8 +1353,8 @@ impl IDBInitialize_Vtbl { Uninitialize: Uninitialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1390,8 +1390,8 @@ impl IDBPromptInitialize_Vtbl { PromptFileName: PromptFileName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1428,8 +1428,8 @@ impl IDBProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1462,8 +1462,8 @@ impl IDBSchemaCommand_Vtbl { GetSchemas: GetSchemas::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1493,8 +1493,8 @@ impl IDBSchemaRowset_Vtbl { GetSchemas: GetSchemas::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1524,8 +1524,8 @@ impl IDCInfo_Vtbl { SetInfo: SetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1573,8 +1573,8 @@ impl IDataConvert_Vtbl { GetConversionSize: GetConversionSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1650,8 +1650,8 @@ impl IDataInitialize_Vtbl { WriteStringToStorage: WriteStringToStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1707,8 +1707,8 @@ impl IDataSourceLocator_Vtbl { PromptEdit: PromptEdit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1795,8 +1795,8 @@ impl IEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1859,8 +1859,8 @@ impl IEnumItemProperties_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1907,8 +1907,8 @@ impl IEnumSearchRoots_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -1955,8 +1955,8 @@ impl IEnumSearchScopeRules_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2016,8 +2016,8 @@ impl IEnumSubscription_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2054,8 +2054,8 @@ impl IErrorLookup_Vtbl { ReleaseErrors: ReleaseErrors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2137,8 +2137,8 @@ impl IErrorRecords_Vtbl { GetRecordCount: GetRecordCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2161,8 +2161,8 @@ impl IGetDataSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDataSource: GetDataSource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2201,8 +2201,8 @@ impl IGetRow_Vtbl { GetURLFromHROW: GetURLFromHROW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2225,8 +2225,8 @@ impl IGetSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSession: GetSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2249,8 +2249,8 @@ impl IGetSourceRow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourceRow: GetSourceRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2280,8 +2280,8 @@ impl IIndexDefinition_Vtbl { DropIndex: DropIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2301,8 +2301,8 @@ impl IInterval_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLimits: GetLimits:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2339,8 +2339,8 @@ impl ILoadFilter_Vtbl { LoadIFilterFromStream: LoadIFilterFromStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -2363,8 +2363,8 @@ impl ILoadFilterWithPrivateComActivation_Vtbl { LoadIFilterWithPrivateComActivation: LoadIFilterWithPrivateComActivation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2421,8 +2421,8 @@ impl IMDDataset_Vtbl { GetSpecification: GetSpecification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2461,8 +2461,8 @@ impl IMDFind_Vtbl { FindTuple: FindTuple::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2482,8 +2482,8 @@ impl IMDRangeRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRangeRowset: GetRangeRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2500,8 +2500,8 @@ impl IMetaData_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2518,8 +2518,8 @@ impl IMultipleResults_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResult: GetResult:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2552,8 +2552,8 @@ impl INamedEntity_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2570,8 +2570,8 @@ impl INamedEntityCollector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Add: Add:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -2634,8 +2634,8 @@ impl IObjectAccessControl_Vtbl { SetObjectOwner: SetObjectOwner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2690,8 +2690,8 @@ impl IOpLockStatus_Vtbl { GetOplockEventHandle: GetOplockEventHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2711,8 +2711,8 @@ impl IOpenRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OpenRowset: OpenRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2735,8 +2735,8 @@ impl IParentRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetChildRowset: GetChildRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -2762,8 +2762,8 @@ impl IProtocolHandlerSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFilter: GetFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2789,8 +2789,8 @@ impl IProvideMoniker_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMoniker: GetMoniker:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2892,8 +2892,8 @@ impl IQueryParser_Vtbl { RestatePropertyValueToString: RestatePropertyValueToString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2930,8 +2930,8 @@ impl IQueryParserManager_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2968,8 +2968,8 @@ impl IQuerySolution_Vtbl { GetLexicalData: GetLexicalData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -2996,8 +2996,8 @@ impl IReadData_Vtbl { ReleaseChapter: ReleaseChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3037,8 +3037,8 @@ impl IRegisterProvider_Vtbl { UnregisterProvider: UnregisterProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3101,8 +3101,8 @@ impl IRelationship_Vtbl { DefaultPhrase: DefaultPhrase::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3122,8 +3122,8 @@ impl IRichChunk_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -3160,8 +3160,8 @@ impl IRow_Vtbl { Open: Open::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -3181,8 +3181,8 @@ impl IRowChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetColumns: SetColumns:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IRowPosition_Vtbl { SetRowPosition: SetRowPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3257,8 +3257,8 @@ impl IRowPositionChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnRowPositionChange: OnRowPositionChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3288,8 +3288,8 @@ impl IRowSchemaChange_Vtbl { AddColumns: AddColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3337,8 +3337,8 @@ impl IRowset_Vtbl { RestartPosition: RestartPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3368,8 +3368,8 @@ impl IRowsetAsynch_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3386,8 +3386,8 @@ impl IRowsetBookmark_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PositionOnBookmark: PositionOnBookmark:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3427,8 +3427,8 @@ impl IRowsetChange_Vtbl { InsertRow: InsertRow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3455,8 +3455,8 @@ impl IRowsetChangeExtInfo_Vtbl { GetPendingColumns: GetPendingColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3473,8 +3473,8 @@ impl IRowsetChapterMember_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsRowInChapter: IsRowInChapter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3527,8 +3527,8 @@ impl IRowsetCopyRows_Vtbl { DefineSource: DefineSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3564,8 +3564,8 @@ impl IRowsetCurrentIndex_Vtbl { SetIndex: SetIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3609,8 +3609,8 @@ impl IRowsetEvents_Vtbl { OnRowsetEvent: OnRowsetEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3627,8 +3627,8 @@ impl IRowsetExactScroll_Vtbl { } Self { base__: IRowsetScroll_Vtbl::new::(), GetExactPosition: GetExactPosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3658,8 +3658,8 @@ impl IRowsetFastLoad_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3676,8 +3676,8 @@ impl IRowsetFind_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindNextRow: FindNextRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3694,8 +3694,8 @@ impl IRowsetIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsSameRow: IsSameRow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3732,8 +3732,8 @@ impl IRowsetIndex_Vtbl { SetRange: SetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3782,8 +3782,8 @@ impl IRowsetInfo_Vtbl { GetSpecification: GetSpecification::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3800,8 +3800,8 @@ impl IRowsetKeys_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ListKeys: ListKeys:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3848,8 +3848,8 @@ impl IRowsetLocate_Vtbl { Hash: Hash::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3872,8 +3872,8 @@ impl IRowsetNewRowAfter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetNewDataAfter: SetNewDataAfter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3896,8 +3896,8 @@ impl IRowsetNextRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetNextRowset: GetNextRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3934,8 +3934,8 @@ impl IRowsetNotify_Vtbl { OnRowsetChange: OnRowsetChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3969,8 +3969,8 @@ impl IRowsetPrioritization_Vtbl { GetScopeStatistics: GetScopeStatistics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -3997,8 +3997,8 @@ impl IRowsetQueryStatus_Vtbl { GetStatusEx: GetStatusEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4028,8 +4028,8 @@ impl IRowsetRefresh_Vtbl { GetLastVisibleData: GetLastVisibleData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl IRowsetResynch_Vtbl { ResynchRows: ResynchRows::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4084,8 +4084,8 @@ impl IRowsetScroll_Vtbl { GetRowsAtRatio: GetRowsAtRatio::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4133,8 +4133,8 @@ impl IRowsetUpdate_Vtbl { Update: Update::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4167,8 +4167,8 @@ impl IRowsetView_Vtbl { GetView: GetView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4202,8 +4202,8 @@ impl IRowsetWatchAll_Vtbl { StopWatching: StopWatching::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4220,8 +4220,8 @@ impl IRowsetWatchNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4282,8 +4282,8 @@ impl IRowsetWatchRegion_Vtbl { ShrinkWatchRegion: ShrinkWatchRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4313,8 +4313,8 @@ impl IRowsetWithParameters_Vtbl { Requery: Requery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4331,8 +4331,8 @@ impl ISQLErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSQLInfo: GetSQLInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4352,8 +4352,8 @@ impl ISQLGetDiagField_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDiagField: GetDiagField:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4373,8 +4373,8 @@ impl ISQLRequestDiagFields_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestDiagFields: RequestDiagFields:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4391,8 +4391,8 @@ impl ISQLServerErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetErrorInfo: GetErrorInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4415,8 +4415,8 @@ impl ISchemaLocalizerSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Localize: Localize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -4446,8 +4446,8 @@ impl ISchemaLock_Vtbl { ReleaseSchemaLock: ReleaseSchemaLock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -4521,8 +4521,8 @@ impl ISchemaProvider_Vtbl { LookupAuthoredNamedEntity: LookupAuthoredNamedEntity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4566,8 +4566,8 @@ impl IScopedOperations_Vtbl { OpenRowset: OpenRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4843,8 +4843,8 @@ impl ISearchCatalogManager_Vtbl { GetCrawlScopeManager: GetCrawlScopeManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4864,8 +4864,8 @@ impl ISearchCatalogManager2_Vtbl { } Self { base__: ISearchCatalogManager_Vtbl::new::(), PrioritizeMatchingURLs: PrioritizeMatchingURLs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5029,8 +5029,8 @@ impl ISearchCrawlScopeManager_Vtbl { RemoveDefaultScopeRule: RemoveDefaultScopeRule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5050,8 +5050,8 @@ impl ISearchCrawlScopeManager2_Vtbl { } Self { base__: ISearchCrawlScopeManager_Vtbl::new::(), GetVersion: GetVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5088,8 +5088,8 @@ impl ISearchItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5152,8 +5152,8 @@ impl ISearchLanguageSupport_Vtbl { IsPrefixNormalized: IsPrefixNormalized::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5314,8 +5314,8 @@ impl ISearchManager_Vtbl { PortNumber: PortNumber::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5351,8 +5351,8 @@ impl ISearchManager2_Vtbl { DeleteCatalog: DeleteCatalog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5379,8 +5379,8 @@ impl ISearchNotifyInlineSite_Vtbl { OnCatalogStatusChange: OnCatalogStatusChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5414,8 +5414,8 @@ impl ISearchPersistentItemsChangedSink_Vtbl { OnItemsChanged: OnItemsChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5465,8 +5465,8 @@ impl ISearchProtocol_Vtbl { ShutDown: ShutDown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5492,8 +5492,8 @@ impl ISearchProtocol2_Vtbl { } Self { base__: ISearchProtocol_Vtbl::new::(), CreateAccessorEx: CreateAccessorEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -5527,8 +5527,8 @@ impl ISearchProtocolThreadContext_Vtbl { ThreadIdle: ThreadIdle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -5757,8 +5757,8 @@ impl ISearchQueryHelper_Vtbl { QueryMaxResults: QueryMaxResults::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5795,8 +5795,8 @@ impl ISearchQueryHits_Vtbl { NextHitOffset: NextHitOffset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6032,8 +6032,8 @@ impl ISearchRoot_Vtbl { Password: Password::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6101,8 +6101,8 @@ impl ISearchScopeRule_Vtbl { FollowFlags: FollowFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6122,8 +6122,8 @@ impl ISearchViewChangedSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Security_Authorization\"`, `\"implement\"`*"] @@ -6172,8 +6172,8 @@ impl ISecurityInfo_Vtbl { GetPermissions: GetPermissions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6190,8 +6190,8 @@ impl IService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InvokeService: InvokeService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6221,8 +6221,8 @@ impl ISessionProperties_Vtbl { SetProperties: SetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6256,8 +6256,8 @@ impl ISimpleCommandCreator_Vtbl { GetDefaultCatalog: GetDefaultCatalog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6277,8 +6277,8 @@ impl ISourcesRowset_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSourcesRowset: GetSourcesRowset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6315,8 +6315,8 @@ impl IStemmer_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6393,8 +6393,8 @@ impl ISubscriptionItem_Vtbl { NotifyChanged: NotifyChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6472,8 +6472,8 @@ impl ISubscriptionMgr_Vtbl { CreateSubscription: CreateSubscription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6556,8 +6556,8 @@ impl ISubscriptionMgr2_Vtbl { AbortAll: AbortAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6577,8 +6577,8 @@ impl ITableCreation_Vtbl { } Self { base__: ITableDefinition_Vtbl::new::(), GetTableDefinition: GetTableDefinition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6622,8 +6622,8 @@ impl ITableDefinition_Vtbl { DropColumn: DropColumn::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6661,8 +6661,8 @@ impl ITableDefinitionWithConstraints_Vtbl { DropConstraint: DropConstraint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -6692,8 +6692,8 @@ impl ITableRename_Vtbl { RenameTable: RenameTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -6720,8 +6720,8 @@ impl ITokenCollection_Vtbl { GetToken: GetToken::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6757,8 +6757,8 @@ impl ITransactionJoin_Vtbl { JoinTransaction: JoinTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6794,8 +6794,8 @@ impl ITransactionLocal_Vtbl { StartTransaction: StartTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_DistributedTransactionCoordinator\"`, `\"implement\"`*"] @@ -6821,8 +6821,8 @@ impl ITransactionObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTransactionObject: GetTransactionObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6873,8 +6873,8 @@ impl ITrusteeAdmin_Vtbl { GetTrusteeProperties: GetTrusteeProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Security_Authorization\"`, `\"implement\"`*"] @@ -6931,8 +6931,8 @@ impl ITrusteeGroupAdmin_Vtbl { GetMemberships: GetMemberships::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7010,8 +7010,8 @@ impl IUMSInitialize_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7154,8 +7154,8 @@ impl IUrlAccessor_Vtbl { BindToFilter: BindToFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7192,8 +7192,8 @@ impl IUrlAccessor2_Vtbl { GetCodePage: GetCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7213,8 +7213,8 @@ impl IUrlAccessor3_Vtbl { } Self { base__: IUrlAccessor2_Vtbl::new::(), GetImpersonationSidBlobs: GetImpersonationSidBlobs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7256,8 +7256,8 @@ impl IUrlAccessor4_Vtbl { ShouldIndexProperty: ShouldIndexProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7290,8 +7290,8 @@ impl IViewChapter_Vtbl { OpenViewChapter: OpenViewChapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7328,8 +7328,8 @@ impl IViewFilter_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7368,8 +7368,8 @@ impl IViewRowset_Vtbl { OpenViewRowset: OpenViewRowset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7396,8 +7396,8 @@ impl IViewSort_Vtbl { SetSortOrder: SetSortOrder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -7441,8 +7441,8 @@ impl IWordBreaker_Vtbl { GetLicenseToUse: GetLicenseToUse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7469,8 +7469,8 @@ impl IWordFormSink_Vtbl { PutWord: PutWord::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Storage_IndexServer\"`, `\"implement\"`*"] @@ -7521,8 +7521,8 @@ impl IWordSink_Vtbl { PutBreak: PutBreak::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7696,8 +7696,8 @@ impl OLEDBSimpleProvider_Vtbl { stopTransfer: stopTransfer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Search\"`, `\"implement\"`*"] @@ -7766,7 +7766,7 @@ impl OLEDBSimpleProviderListener_Vtbl { transferComplete: transferComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs index 4fb50605de..c76c7823f5 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SecurityCenter/impl.rs @@ -15,8 +15,8 @@ impl IWSCDefaultProduct_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), SetDefaultProduct: SetDefaultProduct:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -65,8 +65,8 @@ impl IWSCProductList_Vtbl { get_Item: get_Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -173,8 +173,8 @@ impl IWscProduct_Vtbl { ProductIsDefault: ProductIsDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IWscProduct2_Vtbl { FirewallPublicProfileSubstatus: FirewallPublicProfileSubstatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SecurityCenter\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -295,7 +295,7 @@ impl IWscProduct3_Vtbl { } Self { base__: IWscProduct2_Vtbl::new::(), AntivirusDaysUntilExpired: AntivirusDaysUntilExpired:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs index a4f1210ae0..dbf79059b7 100644 --- a/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/ServerBackup/impl.rs @@ -28,8 +28,8 @@ impl IWsbApplicationAsync_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`, `\"implement\"`*"] @@ -52,8 +52,8 @@ impl IWsbApplicationBackupSupport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CheckConsistency: CheckConsistency:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_ServerBackup\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -103,7 +103,7 @@ impl IWsbApplicationRestoreSupport_Vtbl { IsRollForwardSupported: IsRollForwardSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs index 84dfb1419d..1dca919b96 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SettingsManagementInfrastructure/impl.rs @@ -44,8 +44,8 @@ impl IItemEnumerator_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -122,8 +122,8 @@ impl ISettingsContext_Vtbl { RevertSetting: RevertSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -311,8 +311,8 @@ impl ISettingsEngine_Vtbl { GetSettingsContext: GetSettingsContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl ISettingsIdentity_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -632,8 +632,8 @@ impl ISettingsItem_Vtbl { GetKeyValue: GetKeyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -734,8 +734,8 @@ impl ISettingsNamespace_Vtbl { GetAttribute: GetAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"implement\"`*"] @@ -826,8 +826,8 @@ impl ISettingsResult_Vtbl { GetSource: GetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SettingsManagementInfrastructure\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1062,7 +1062,7 @@ impl ITargetInfo_Vtbl { GetSchemaHiveMountName: GetSchemaHiveMountName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs index 075f406382..d9545cd72c 100644 --- a/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/SideShow/impl.rs @@ -15,8 +15,8 @@ impl ISideShowBulkCapabilities_Vtbl { } Self { base__: ISideShowCapabilities_Vtbl::new::(), GetCapabilities: GetCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl ISideShowCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCapability: GetCapability:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -76,8 +76,8 @@ impl ISideShowCapabilitiesCollection_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -126,8 +126,8 @@ impl ISideShowContent_Vtbl { DifferentiateContent: DifferentiateContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl ISideShowContentManager_Vtbl { GetDeviceCapabilities: GetDeviceCapabilities::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -229,8 +229,8 @@ impl ISideShowEvents_Vtbl { DeviceRemoved: DeviceRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -281,8 +281,8 @@ impl ISideShowKeyCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -398,8 +398,8 @@ impl ISideShowNotification_Vtbl { SetExpirationTime: SetExpirationTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -433,8 +433,8 @@ impl ISideShowNotificationManager_Vtbl { RevokeAll: RevokeAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -485,8 +485,8 @@ impl ISideShowPropVariantCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_SideShow\"`, `\"implement\"`*"] @@ -525,7 +525,7 @@ impl ISideShowSession_Vtbl { RegisterNotifications: RegisterNotifications::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs index ba1abe3644..ace2bf2197 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TaskScheduler/impl.rs @@ -32,8 +32,8 @@ impl IAction_Vtbl { Type: Type::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -137,8 +137,8 @@ impl IActionCollection_Vtbl { SetContext: SetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -164,8 +164,8 @@ impl IBootTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -209,8 +209,8 @@ impl IComHandlerAction_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl IDailyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -417,8 +417,8 @@ impl IEmailAction_Vtbl { SetAttachments: SetAttachments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -465,8 +465,8 @@ impl IEnumWorkItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IEventTrigger_Vtbl { SetValueQueries: SetValueQueries::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IExecAction_Vtbl { SetWorkingDirectory: SetWorkingDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IExecAction2_Vtbl { SetHideAppWindow: SetHideAppWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -693,8 +693,8 @@ impl IIdleSettings_Vtbl { SetRestartOnIdle: SetRestartOnIdle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -707,8 +707,8 @@ impl IIdleTrigger_Vtbl { pub const fn new, Impl: IIdleTrigger_Impl, const OFFSET: isize>() -> IIdleTrigger_Vtbl { Self { base__: ITrigger_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -752,8 +752,8 @@ impl ILogonTrigger_Vtbl { SetUserId: SetUserId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -811,8 +811,8 @@ impl IMaintenanceSettings_Vtbl { Exclusive: Exclusive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -898,8 +898,8 @@ impl IMonthlyDOWTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -971,8 +971,8 @@ impl IMonthlyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1016,8 +1016,8 @@ impl INetworkSettings_Vtbl { SetId: SetId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1117,8 +1117,8 @@ impl IPrincipal_Vtbl { SetRunLevel: SetRunLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1169,8 +1169,8 @@ impl IPrincipal2_Vtbl { AddRequiredPrivilege: AddRequiredPrivilege::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -1196,8 +1196,8 @@ impl IProvideTaskPage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPage: GetPage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1423,8 +1423,8 @@ impl IRegisteredTask_Vtbl { GetRunTimes: GetRunTimes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1479,8 +1479,8 @@ impl IRegisteredTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1622,8 +1622,8 @@ impl IRegistrationInfo_Vtbl { SetSource: SetSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1649,8 +1649,8 @@ impl IRegistrationTrigger_Vtbl { } Self { base__: ITrigger_Vtbl::new::(), Delay: Delay::, SetDelay: SetDelay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1708,8 +1708,8 @@ impl IRepetitionPattern_Vtbl { SetStopAtDurationEnd: SetStopAtDurationEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1817,8 +1817,8 @@ impl IRunningTask_Vtbl { EnginePID: EnginePID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1873,8 +1873,8 @@ impl IRunningTaskCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IScheduledWorkItem_Vtbl { GetAccountInformation: GetAccountInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2224,8 +2224,8 @@ impl ISessionStateChangeTrigger_Vtbl { SetStateChange: SetStateChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2269,8 +2269,8 @@ impl IShowMessageAction_Vtbl { SetMessageBody: SetMessageBody::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2406,8 +2406,8 @@ impl ITask_Vtbl { GetMaxRunTime: GetMaxRunTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2551,8 +2551,8 @@ impl ITaskDefinition_Vtbl { SetXmlText: SetXmlText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2719,8 +2719,8 @@ impl ITaskFolder_Vtbl { SetSecurityDescriptor: SetSecurityDescriptor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2775,8 +2775,8 @@ impl ITaskFolderCollection_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -2823,8 +2823,8 @@ impl ITaskHandler_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -2851,8 +2851,8 @@ impl ITaskHandlerStatus_Vtbl { TaskCompleted: TaskCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2928,8 +2928,8 @@ impl ITaskNamedValueCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2973,8 +2973,8 @@ impl ITaskNamedValuePair_Vtbl { SetValue: SetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3067,8 +3067,8 @@ impl ITaskScheduler_Vtbl { IsOfType: IsOfType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3195,8 +3195,8 @@ impl ITaskService_Vtbl { HighestVersion: HighestVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3504,8 +3504,8 @@ impl ITaskSettings_Vtbl { SetNetworkSettings: SetNetworkSettings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3549,8 +3549,8 @@ impl ITaskSettings2_Vtbl { SetUseUnifiedSchedulingEngine: SetUseUnifiedSchedulingEngine::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3641,8 +3641,8 @@ impl ITaskSettings3_Vtbl { SetVolatile: SetVolatile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3682,8 +3682,8 @@ impl ITaskTrigger_Vtbl { GetTriggerString: GetTriggerString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"implement\"`*"] @@ -3729,8 +3729,8 @@ impl ITaskVariables_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3760,8 +3760,8 @@ impl ITimeTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3874,8 +3874,8 @@ impl ITrigger_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3951,8 +3951,8 @@ impl ITriggerCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TaskScheduler\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4010,7 +4010,7 @@ impl IWeeklyTrigger_Vtbl { SetRandomDelay: SetRandomDelay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs index 3e1241f571..221d93cebb 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Threading/impl.rs @@ -22,8 +22,8 @@ impl IRtwqAsyncCallback_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl IRtwqAsyncResult_Vtbl { GetStateNoAddRef: GetStateNoAddRef::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IRtwqPlatformEvents_Vtbl { ShutdownComplete: ShutdownComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Threading\"`, `\"implement\"`*"] @@ -129,7 +129,7 @@ impl RTWQASYNCRESULT_Vtbl { pub const fn new, Impl: RTWQASYNCRESULT_Impl, const OFFSET: isize>() -> RTWQASYNCRESULT_Vtbl { Self { base__: IRtwqAsyncResult_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs index fe4be57f73..c9402170d3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/TransactionServer/impl.rs @@ -51,8 +51,8 @@ impl ICatalog_Vtbl { MinorVersion: MinorVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl IComponentUtil_Vtbl { GetCLSIDs: GetCLSIDs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl IPackageUtil_Vtbl { ShutdownPackage: ShutdownPackage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -165,8 +165,8 @@ impl IRemoteComponentUtil_Vtbl { InstallRemoteComponentByName: InstallRemoteComponentByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_TransactionServer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -196,7 +196,7 @@ impl IRoleAssociationUtil_Vtbl { AssociateRoleByName: AssociateRoleByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs index dd2ef6d4e1..006f9e2cde 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAgent/impl.rs @@ -72,8 +72,8 @@ impl IAutomaticUpdates_Vtbl { EnableService: EnableService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -99,8 +99,8 @@ impl IAutomaticUpdates2_Vtbl { } Self { base__: IAutomaticUpdates_Vtbl::new::(), Results: Results:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -142,8 +142,8 @@ impl IAutomaticUpdatesResults_Vtbl { LastInstallationSuccessDate: LastInstallationSuccessDate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IAutomaticUpdatesSettings_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -309,8 +309,8 @@ impl IAutomaticUpdatesSettings2_Vtbl { CheckPermission: CheckPermission::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -366,8 +366,8 @@ impl IAutomaticUpdatesSettings3_Vtbl { SetFeaturedUpdatesEnabled: SetFeaturedUpdatesEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -500,8 +500,8 @@ impl ICategory_Vtbl { Updates: Updates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -556,8 +556,8 @@ impl ICategoryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -577,8 +577,8 @@ impl IDownloadCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -591,8 +591,8 @@ impl IDownloadCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IDownloadCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IDownloadCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IDownloadJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -808,8 +808,8 @@ impl IDownloadProgress_Vtbl { CurrentUpdatePercentComplete: CurrentUpdatePercentComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -829,8 +829,8 @@ impl IDownloadProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -856,8 +856,8 @@ impl IDownloadProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl IDownloadResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -981,8 +981,8 @@ impl IImageInformation_Vtbl { Width: Width::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1005,8 +1005,8 @@ impl IInstallationAgent_Vtbl { RecordInstallationResult: RecordInstallationResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1074,8 +1074,8 @@ impl IInstallationBehavior_Vtbl { RequiresNetworkConnectivity: RequiresNetworkConnectivity::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1095,8 +1095,8 @@ impl IInstallationCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1109,8 +1109,8 @@ impl IInstallationCompletedCallbackArgs_Vtbl { pub const fn new, Impl: IInstallationCompletedCallbackArgs_Impl, const OFFSET: isize>() -> IInstallationCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1192,8 +1192,8 @@ impl IInstallationJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1261,8 +1261,8 @@ impl IInstallationProgress_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1282,8 +1282,8 @@ impl IInstallationProgressChangedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1309,8 +1309,8 @@ impl IInstallationProgressChangedCallbackArgs_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Progress: Progress:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1378,8 +1378,8 @@ impl IInstallationResult_Vtbl { GetUpdateResult: GetUpdateResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1405,8 +1405,8 @@ impl IInvalidProductLicenseException_Vtbl { } Self { base__: IUpdateException_Vtbl::new::(), Product: Product:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl ISearchCompletedCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1440,8 +1440,8 @@ impl ISearchCompletedCallbackArgs_Vtbl { pub const fn new, Impl: ISearchCompletedCallbackArgs_Impl, const OFFSET: isize>() -> ISearchCompletedCallbackArgs_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1497,8 +1497,8 @@ impl ISearchJob_Vtbl { RequestAbort: RequestAbort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1566,8 +1566,8 @@ impl ISearchResult_Vtbl { Warnings: Warnings::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1689,8 +1689,8 @@ impl IStringCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1732,8 +1732,8 @@ impl ISystemInformation_Vtbl { RebootRequired: RebootRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2316,8 +2316,8 @@ impl IUpdate_Vtbl { DownloadContents: DownloadContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2379,8 +2379,8 @@ impl IUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2406,8 +2406,8 @@ impl IUpdate3_Vtbl { } Self { base__: IUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2433,8 +2433,8 @@ impl IUpdate4_Vtbl { } Self { base__: IUpdate3_Vtbl::new::(), PerUser: PerUser:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2476,8 +2476,8 @@ impl IUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2599,8 +2599,8 @@ impl IUpdateCollection_Vtbl { RemoveAt: RemoveAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2626,8 +2626,8 @@ impl IUpdateDownloadContent_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), DownloadUrl: DownloadUrl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2656,8 +2656,8 @@ impl IUpdateDownloadContent2_Vtbl { IsDeltaCompressedContent: IsDeltaCompressedContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2712,8 +2712,8 @@ impl IUpdateDownloadContentCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2755,8 +2755,8 @@ impl IUpdateDownloadResult_Vtbl { ResultCode: ResultCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2891,8 +2891,8 @@ impl IUpdateDownloader_Vtbl { EndDownload: EndDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2947,8 +2947,8 @@ impl IUpdateException_Vtbl { Context: Context::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3003,8 +3003,8 @@ impl IUpdateExceptionCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3202,8 +3202,8 @@ impl IUpdateHistoryEntry_Vtbl { SupportUrl: SupportUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3229,8 +3229,8 @@ impl IUpdateHistoryEntry2_Vtbl { } Self { base__: IUpdateHistoryEntry_Vtbl::new::(), Categories: Categories:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3285,8 +3285,8 @@ impl IUpdateHistoryEntryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3328,8 +3328,8 @@ impl IUpdateIdentity_Vtbl { UpdateID: UpdateID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3384,8 +3384,8 @@ impl IUpdateInstallationResult_Vtbl { ResultCode: ResultCode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3638,8 +3638,8 @@ impl IUpdateInstaller_Vtbl { RebootRequiredBeforeInstallation: RebootRequiredBeforeInstallation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3675,8 +3675,8 @@ impl IUpdateInstaller2_Vtbl { SetForceQuiet: SetForceQuiet::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3712,8 +3712,8 @@ impl IUpdateInstaller3_Vtbl { SetAttemptCloseAppsIfNecessary: SetAttemptCloseAppsIfNecessary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3733,8 +3733,8 @@ impl IUpdateInstaller4_Vtbl { } Self { base__: IUpdateInstaller3_Vtbl::new::(), Commit: Commit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"implement\"`*"] @@ -3751,8 +3751,8 @@ impl IUpdateLockdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LockDown: LockDown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3966,8 +3966,8 @@ impl IUpdateSearcher_Vtbl { SetServiceID: SetServiceID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4003,8 +4003,8 @@ impl IUpdateSearcher2_Vtbl { SetIgnoreDownloadPriority: SetIgnoreDownloadPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4040,8 +4040,8 @@ impl IUpdateSearcher3_Vtbl { SetSearchScope: SetSearchScope::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4226,8 +4226,8 @@ impl IUpdateService_Vtbl { SetupPrefix: SetupPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4253,8 +4253,8 @@ impl IUpdateService2_Vtbl { } Self { base__: IUpdateService_Vtbl::new::(), IsDefaultAUService: IsDefaultAUService:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4309,8 +4309,8 @@ impl IUpdateServiceCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4393,8 +4393,8 @@ impl IUpdateServiceManager_Vtbl { SetOption: SetOption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4456,8 +4456,8 @@ impl IUpdateServiceManager2_Vtbl { AddService2: AddService2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4525,8 +4525,8 @@ impl IUpdateServiceRegistration_Vtbl { Service: Service::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4634,8 +4634,8 @@ impl IUpdateSession_Vtbl { CreateUpdateInstaller: CreateUpdateInstaller::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4671,8 +4671,8 @@ impl IUpdateSession2_Vtbl { SetUserLocale: SetUserLocale::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4714,8 +4714,8 @@ impl IUpdateSession3_Vtbl { QueryHistory: QueryHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4865,8 +4865,8 @@ impl IWebProxy_Vtbl { SetAutoDetect: SetAutoDetect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4986,8 +4986,8 @@ impl IWindowsDriverUpdate_Vtbl { DeviceStatus: DeviceStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5049,8 +5049,8 @@ impl IWindowsDriverUpdate2_Vtbl { CopyToCache: CopyToCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5076,8 +5076,8 @@ impl IWindowsDriverUpdate3_Vtbl { } Self { base__: IWindowsDriverUpdate2_Vtbl::new::(), BrowseOnly: BrowseOnly:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5119,8 +5119,8 @@ impl IWindowsDriverUpdate4_Vtbl { PerUser: PerUser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5162,8 +5162,8 @@ impl IWindowsDriverUpdate5_Vtbl { AutoDownload: AutoDownload::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5283,8 +5283,8 @@ impl IWindowsDriverUpdateEntry_Vtbl { DeviceStatus: DeviceStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5339,8 +5339,8 @@ impl IWindowsDriverUpdateEntryCollection_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_UpdateAgent\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5366,7 +5366,7 @@ impl IWindowsUpdateAgentInfo_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), GetInfo: GetInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs index 317dbc0ac0..6e60bba172 100644 --- a/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/UpdateAssessment/impl.rs @@ -21,7 +21,7 @@ impl IWaaSAssessor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOSUpdateAssessment: GetOSUpdateAssessment:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs index 5a167c2bf2..d46261430e 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/AllJoyn/impl.rs @@ -15,8 +15,8 @@ impl IWindowsDevicesAllJoynBusAttachmentFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -42,8 +42,8 @@ impl IWindowsDevicesAllJoynBusAttachmentInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IWindowsDevicesAllJoynBusObjectFactoryInterop_Vtbl { CreateFromWin32Handle: CreateFromWin32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_AllJoyn\"`, `\"implement\"`*"] @@ -104,7 +104,7 @@ impl IWindowsDevicesAllJoynBusObjectInterop_Vtbl { Win32Handle: Win32Handle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs index 2564989c1a..523795665b 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Composition/impl.rs @@ -24,8 +24,8 @@ impl ICompositionCapabilitiesInteropFactory_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -83,8 +83,8 @@ impl ICompositionDrawingSurfaceInterop_Vtbl { SuspendDraw: SuspendDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl ICompositionDrawingSurfaceInterop2_Vtbl { } Self { base__: ICompositionDrawingSurfaceInterop_Vtbl::new::(), CopySurface: CopySurface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"implement\"`*"] @@ -138,8 +138,8 @@ impl ICompositionGraphicsDeviceInterop_Vtbl { SetRenderingDevice: SetRenderingDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"UI_Composition_Desktop\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl ICompositorDesktopInterop_Vtbl { EnsureOnThread: EnsureOnThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"UI_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl ICompositorInterop_Vtbl { CreateGraphicsDevice: CreateGraphicsDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IDesktopWindowTargetInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Hwnd: Hwnd:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Composition\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Input_Pointer\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -282,7 +282,7 @@ impl IVisualInteractionSourceInterop_Vtbl { TryRedirectForManipulation: TryRedirectForManipulation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs index 07c83439f4..f6deff43c0 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/CoreInputView/impl.rs @@ -18,7 +18,7 @@ impl ICoreFrameworkInputViewInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs index 900be85ea1..270d2f89f3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Direct3D11/impl.rs @@ -12,7 +12,7 @@ impl IDirect3DDxgiInterfaceAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInterface: GetInterface:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs index 903663daaa..e158a78b76 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Display/impl.rs @@ -37,8 +37,8 @@ impl IDisplayDeviceInterop_Vtbl { OpenSharedHandle: OpenSharedHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Display\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -80,7 +80,7 @@ impl IDisplayPathInterop_Vtbl { GetSourceId: GetSourceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs index 33b5f46e2f..bee05f5dbd 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Capture/impl.rs @@ -25,7 +25,7 @@ impl IGraphicsCaptureItemInterop_Vtbl { CreateForMonitor: CreateForMonitor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs index 2e9c1c4f43..6c47faf8d4 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Direct2D/impl.rs @@ -37,8 +37,8 @@ impl IGeometrySource2DInterop_Vtbl { TryGetGeometryUsingFactory: TryGetGeometryUsingFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Direct2D\"`, `\"Foundation\"`, `\"Graphics_Effects\"`, `\"implement\"`*"] @@ -126,7 +126,7 @@ impl IGraphicsEffectD2D1Interop_Vtbl { GetSourceCount: GetSourceCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs index 2283ebfee0..40d7bc7206 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Graphics/Imaging/impl.rs @@ -12,8 +12,8 @@ impl ISoftwareBitmapNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Graphics_Imaging\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -43,7 +43,7 @@ impl ISoftwareBitmapNativeFactory_Vtbl { CreateFromMF2DBuffer2: CreateFromMF2DBuffer2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs index df5b868e8e..a22d151128 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Holographic/impl.rs @@ -58,8 +58,8 @@ impl IHolographicCameraInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -89,8 +89,8 @@ impl IHolographicCameraRenderingParametersInterop_Vtbl { CommitDirect3D12ResourceWithDepthData: CommitDirect3D12ResourceWithDepthData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -153,8 +153,8 @@ impl IHolographicQuadLayerInterop_Vtbl { UnacquireDirect3D12BufferResource: UnacquireDirect3D12BufferResource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Holographic\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -177,7 +177,7 @@ impl IHolographicQuadLayerUpdateParametersInterop_Vtbl { CommitDirect3D12Resource: CommitDirect3D12Resource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs index 45d7c59fe7..defb06a5a3 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Isolation/impl.rs @@ -21,7 +21,7 @@ impl IIsolatedEnvironmentInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetHostHwndInterop: GetHostHwndInterop:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs index 30ba8a79a9..fc9b9e9525 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/ML/impl.rs @@ -24,8 +24,8 @@ impl ILearningModelDeviceFactoryNative_Vtbl { CreateFromD3D12CommandQueue: CreateFromD3D12CommandQueue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_AI_MachineLearning_WinML\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl ILearningModelOperatorProviderNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetRegistry: GetRegistry:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"implement\"`*"] @@ -72,8 +72,8 @@ impl ILearningModelSessionOptionsNative_Vtbl { SetIntraOpNumThreadsOverride: SetIntraOpNumThreadsOverride::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl ILearningModelSessionOptionsNative1_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetIntraOpThreadSpinning: SetIntraOpThreadSpinning:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -127,8 +127,8 @@ impl ITensorNative_Vtbl { GetD3D12Resource: GetD3D12Resource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_ML\"`, `\"Win32_Graphics_Direct3D12\"`, `\"implement\"`*"] @@ -148,7 +148,7 @@ impl ITensorStaticsNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateFromD3D12Resource: CreateFromD3D12Resource:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs index a394167e8a..2b51c8fe6d 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Media/impl.rs @@ -12,8 +12,8 @@ impl IAudioFrameNative_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetData: GetData:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IAudioFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"implement\"`*"] @@ -64,8 +64,8 @@ impl IVideoFrameNative_Vtbl { GetDevice: GetDevice::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Media\"`, `\"Win32_Foundation\"`, `\"Win32_Media_MediaFoundation\"`, `\"implement\"`*"] @@ -88,7 +88,7 @@ impl IVideoFrameNativeFactory_Vtbl { CreateFromMFSample: CreateFromMFSample::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs index 2ecc352f04..70b2920717 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Metadata/impl.rs @@ -119,8 +119,8 @@ impl ICeeGen_Vtbl { ComputePointer: ComputePointer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -137,8 +137,8 @@ impl IHostFilter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MarkToken: MarkToken:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IMapToken_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Map: Map:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -239,8 +239,8 @@ impl IMetaDataAssemblyEmit_Vtbl { SetManifestResourceProps: SetManifestResourceProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -351,8 +351,8 @@ impl IMetaDataAssemblyImport_Vtbl { FindAssembliesByName: FindAssembliesByName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -404,8 +404,8 @@ impl IMetaDataDispenser_Vtbl { OpenScopeOnMemory: OpenScopeOnMemory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -469,8 +469,8 @@ impl IMetaDataDispenserEx_Vtbl { FindAssemblyModule: FindAssemblyModule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -843,8 +843,8 @@ impl IMetaDataEmit_Vtbl { MergeEnd: MergeEnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -916,8 +916,8 @@ impl IMetaDataEmit2_Vtbl { ResetENCLog: ResetENCLog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -934,8 +934,8 @@ impl IMetaDataError_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnError: OnError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -972,8 +972,8 @@ impl IMetaDataFilter_Vtbl { IsTokenMarked: IsTokenMarked::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1471,8 +1471,8 @@ impl IMetaDataImport_Vtbl { IsGlobal: IsGlobal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1544,8 +1544,8 @@ impl IMetaDataImport2_Vtbl { EnumMethodSpecs: EnumMethodSpecs::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1562,8 +1562,8 @@ impl IMetaDataInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFileMapping: GetFileMapping:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1709,8 +1709,8 @@ impl IMetaDataTables_Vtbl { GetNextUserString: GetNextUserString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1737,8 +1737,8 @@ impl IMetaDataTables2_Vtbl { GetMetaDataStreamInfo: GetMetaDataStreamInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1765,8 +1765,8 @@ impl IMetaDataValidate_Vtbl { ValidateMetaData: ValidateMetaData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] @@ -1786,8 +1786,8 @@ impl IMetaDataWinMDImport_Vtbl { GetUntransformedTypeRefProps: GetUntransformedTypeRefProps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Metadata\"`, `\"implement\"`*"] diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs index e9c8260a94..98fea6d0cf 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Pdf/impl.rs @@ -25,7 +25,7 @@ impl IPdfRendererNative_Vtbl { RenderPageToDeviceContext: RenderPageToDeviceContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs index 459b676ca2..176bba8364 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Printing/impl.rs @@ -25,8 +25,8 @@ impl IPrintManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Graphics_Printing\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IPrintWorkflowConfigurationNative_Vtbl { UserProperties: UserProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -118,8 +118,8 @@ impl IPrintWorkflowObjectModelSourceFileContentNative_Vtbl { ObjectFactory: ObjectFactory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"implement\"`*"] @@ -145,8 +145,8 @@ impl IPrintWorkflowXpsObjectModelTargetPackageNative_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DocumentPackageTarget: DocumentPackageTarget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -197,8 +197,8 @@ impl IPrintWorkflowXpsReceiver_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Storage_Xps\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl IPrintWorkflowXpsReceiver2_Vtbl { } Self { base__: IPrintWorkflowXpsReceiver_Vtbl::new::(), Failed: Failed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Printing\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -249,7 +249,7 @@ impl IPrinting3DManagerInterop_Vtbl { ShowPrintUIForWindowAsync: ShowPrintUIForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs index bf03ff360e..b6a5918580 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Shell/impl.rs @@ -15,7 +15,7 @@ impl IDDEInitializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs index c977a83f78..1ef6ab4cca 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/Storage/impl.rs @@ -12,8 +12,8 @@ impl IOplockBreakingHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OplockBreaking: OplockBreaking:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -36,8 +36,8 @@ impl IRandomAccessStreamFileAccessMode_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMode: GetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -63,8 +63,8 @@ impl IStorageFolderHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -90,8 +90,8 @@ impl IStorageItemHandleAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Create: Create:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -108,8 +108,8 @@ impl IUnbufferedFileHandleOplockCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBrokenCallback: OnBrokenCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT_Storage\"`, `\"implement\"`*"] @@ -142,7 +142,7 @@ impl IUnbufferedFileHandleProvider_Vtbl { CloseUnbufferedFileHandle: CloseUnbufferedFileHandle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs index 8a9feabf13..49765d7621 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WinRT/impl.rs @@ -32,8 +32,8 @@ impl IAccountsSettingsPaneInterop_Vtbl { ShowAddAccountForWindowAsync: ShowAddAccountForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -59,8 +59,8 @@ impl IActivationFactory_Vtbl { ActivateInstance: ActivateInstance::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -77,8 +77,8 @@ impl IAgileReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -95,8 +95,8 @@ impl IApartmentShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUninitialize: OnUninitialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -116,8 +116,8 @@ impl IAppServiceConnectionExtendedExecution_Vtbl { OpenForExtendedExecutionAsync: OpenForExtendedExecutionAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -140,8 +140,8 @@ impl IBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Buffer: Buffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl ICastingController_Vtbl { UnAdvise: UnAdvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl ICastingEventHandler_Vtbl { OnError: OnError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -266,8 +266,8 @@ impl ICastingSourceInfo_Vtbl { GetProperties: GetProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -294,8 +294,8 @@ impl ICoreInputInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -406,8 +406,8 @@ impl ICoreWindowAdapterInterop_Vtbl { SetWindowClientAdapter: SetWindowClientAdapter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl ICoreWindowComponentInterop_Vtbl { GetViewInstanceId: GetViewInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -480,8 +480,8 @@ impl ICoreWindowInterop_Vtbl { SetMessageHandled: SetMessageHandled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -527,8 +527,8 @@ impl ICorrelationVectorInformation_Vtbl { SetNextCorrelationVectorForThread: SetNextCorrelationVectorForThread::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -551,8 +551,8 @@ impl ICorrelationVectorSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CorrelationVector: CorrelationVector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -575,8 +575,8 @@ impl IDragDropManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -599,8 +599,8 @@ impl IHolographicSpaceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -620,8 +620,8 @@ impl IInputPaneInterop_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -644,8 +644,8 @@ impl ILanguageExceptionErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetLanguageException: GetLanguageException:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -691,8 +691,8 @@ impl ILanguageExceptionErrorInfo2_Vtbl { GetPropagationContextHead: GetPropagationContextHead::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -709,8 +709,8 @@ impl ILanguageExceptionStackBackTrace_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetStackBackTrace: GetStackBackTrace:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -736,8 +736,8 @@ impl ILanguageExceptionTransform_Vtbl { GetTransformedRestrictedErrorInfo: GetTransformedRestrictedErrorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -754,8 +754,8 @@ impl IMemoryBufferByteAccess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBuffer: GetBuffer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -772,8 +772,8 @@ impl IMessageDispatcher_Vtbl { } Self { base__: ::windows_core::IInspectable_Vtbl::new::(), PumpMessages: PumpMessages:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -803,8 +803,8 @@ impl IPlayToManagerInterop_Vtbl { ShowPlayToUIForWindow: ShowPlayToUIForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IRestrictedErrorInfo_Vtbl { GetReference: GetReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -864,8 +864,8 @@ impl IShareWindowCommandEventArgsInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWindow: GetWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -885,8 +885,8 @@ impl IShareWindowCommandSourceInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetForWindow: GetForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -909,8 +909,8 @@ impl ISpatialInteractionManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -933,8 +933,8 @@ impl ISystemMediaTransportControlsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -957,8 +957,8 @@ impl IUIViewSettingsInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -981,8 +981,8 @@ impl IUserActivityInterop_Vtbl { CreateSessionForWindow: CreateSessionForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1005,8 +1005,8 @@ impl IUserActivityRequestManagerInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IUserActivitySourceHostInterop_Vtbl { SetActivitySourceHost: SetActivitySourceHost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1050,8 +1050,8 @@ impl IUserConsentVerifierInterop_Vtbl { RequestVerificationForWindowAsync: RequestVerificationForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl IWeakReference_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"implement\"`*"] @@ -1092,8 +1092,8 @@ impl IWeakReferenceSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWeakReference: GetWeakReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WinRT\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1123,7 +1123,7 @@ impl IWebAuthenticationCoreManagerInterop_Vtbl { RequestTokenWithWebAccountForWindowAsync: RequestTokenWithWebAccountForWindowAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs index 73d5ca2e3d..8a91ef1bb9 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsProgramming/impl.rs @@ -85,8 +85,8 @@ impl ICameraUIControl_Vtbl { RemoveCapturedItem: RemoveCapturedItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -134,8 +134,8 @@ impl ICameraUIControlEventCallback_Vtbl { OnClosed: OnClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -152,8 +152,8 @@ impl IClipServiceNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowToast: ShowToast:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -179,8 +179,8 @@ impl IContainerActivationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CanActivateClientVM: CanActivateClientVM:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -200,8 +200,8 @@ impl IDefaultBrowserSyncSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsEnabled: IsEnabled:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -218,8 +218,8 @@ impl IDeleteBrowsingHistory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeleteBrowsingHistory: DeleteBrowsingHistory:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -263,8 +263,8 @@ impl IEditionUpgradeBroker_Vtbl { CanUpgrade: CanUpgrade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -333,8 +333,8 @@ impl IEditionUpgradeHelper_Vtbl { GetGenuineLocalStatus: GetGenuineLocalStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"implement\"`*"] @@ -351,8 +351,8 @@ impl IFClipNotificationHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowSystemDialog: ShowSystemDialog:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsProgramming\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -378,7 +378,7 @@ impl IWindowsLockModeHelper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSMode: GetSMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs index 4749cf1938..c702532f54 100644 --- a/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/WindowsSync/impl.rs @@ -39,8 +39,8 @@ impl IAsynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -133,8 +133,8 @@ impl IChangeConflict_Vtbl { SetResolveActionForChangeUnit: SetResolveActionForChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IChangeUnitException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -203,8 +203,8 @@ impl IChangeUnitListFilterInfo_Vtbl { GetChangeUnitId: GetChangeUnitId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -231,8 +231,8 @@ impl IClockVector_Vtbl { GetClockVectorElementCount: GetClockVectorElementCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IClockVectorElement_Vtbl { GetTickCount: GetTickCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -300,8 +300,8 @@ impl ICombinedFilterInfo_Vtbl { GetFilterCombinationType: GetFilterCombinationType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl IConstraintConflict_Vtbl { IsTemporary: IsTemporary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -452,8 +452,8 @@ impl IConstructReplicaKeyMap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindOrAddReplica: FindOrAddReplica:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl ICoreFragment_Vtbl { GetRangeCount: GetRangeCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -529,8 +529,8 @@ impl ICoreFragmentInspector_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -553,8 +553,8 @@ impl ICustomFilterInfo_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetSyncFilter: GetSyncFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -581,8 +581,8 @@ impl IDataRetrieverCallback_Vtbl { LoadChangeDataError: LoadChangeDataError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -629,8 +629,8 @@ impl IEnumChangeUnitExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -677,8 +677,8 @@ impl IEnumClockVector_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -725,8 +725,8 @@ impl IEnumFeedClockVector_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -743,8 +743,8 @@ impl IEnumItemIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -791,8 +791,8 @@ impl IEnumRangeExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -839,8 +839,8 @@ impl IEnumSingleItemExceptions_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -887,8 +887,8 @@ impl IEnumSyncChangeUnits_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -935,8 +935,8 @@ impl IEnumSyncChanges_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -986,8 +986,8 @@ impl IEnumSyncProviderConfigUIInfos_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1037,8 +1037,8 @@ impl IEnumSyncProviderInfos_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1068,8 +1068,8 @@ impl IFeedClockVector_Vtbl { IsNoConflictsSpecified: IsNoConflictsSpecified::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1096,8 +1096,8 @@ impl IFeedClockVectorElement_Vtbl { GetFlags: GetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1144,8 +1144,8 @@ impl IFilterKeyMap_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1162,8 +1162,8 @@ impl IFilterRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestFilter: RequestFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1190,8 +1190,8 @@ impl IFilterTrackingProvider_Vtbl { AddTrackedFilter: AddTrackedFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IFilterTrackingRequestCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequestTrackedFilter: RequestTrackedFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1239,8 +1239,8 @@ impl IFilterTrackingSyncChangeBuilder_Vtbl { SetAllChangeUnitsPresentFlag: SetAllChangeUnitsPresentFlag::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1260,8 +1260,8 @@ impl IForgottenKnowledge_Vtbl { } Self { base__: ISyncKnowledge_Vtbl::new::(), ForgetToVersion: ForgetToVersion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1326,8 +1326,8 @@ impl IKnowledgeSyncProvider_Vtbl { EndSession: EndSession::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1367,8 +1367,8 @@ impl ILoadChangeContext_Vtbl { SetRecoverableErrorOnChangeUnit: SetRecoverableErrorOnChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1385,8 +1385,8 @@ impl IProviderConverter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1420,8 +1420,8 @@ impl IRangeException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1475,8 +1475,8 @@ impl IRecoverableError_Vtbl { GetRecoverableErrorDataForChangeUnit: GetRecoverableErrorDataForChangeUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1510,8 +1510,8 @@ impl IRecoverableErrorData_Vtbl { GetErrorDescription: GetErrorDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1554,8 +1554,8 @@ impl IRegisteredSyncProvider_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1589,8 +1589,8 @@ impl IReplicaKeyMap_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1607,8 +1607,8 @@ impl IRequestFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SpecifyFilter: SpecifyFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1635,8 +1635,8 @@ impl ISingleItemException_Vtbl { GetClockVector: GetClockVector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1653,8 +1653,8 @@ impl ISupportFilteredSync_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddFilter: AddFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1681,8 +1681,8 @@ impl ISupportLastWriteTime_Vtbl { GetChangeUnitChangeTime: GetChangeUnitChangeTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl ISyncCallback_Vtbl { OnRecoverableError: OnRecoverableError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1758,8 +1758,8 @@ impl ISyncCallback2_Vtbl { OnChangeFailed: OnChangeFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -1860,8 +1860,8 @@ impl ISyncChange_Vtbl { SetWorkEstimate: SetWorkEstimate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1904,8 +1904,8 @@ impl ISyncChangeBatch_Vtbl { AddLoggedConflict: AddLoggedConflict::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1947,8 +1947,8 @@ impl ISyncChangeBatch2_Vtbl { AddMergeTombstoneLoggedConflict: AddMergeTombstoneLoggedConflict::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2004,8 +2004,8 @@ impl ISyncChangeBatchAdvanced_Vtbl { GetBatchLevelKnowledgeShouldBeApplied: GetBatchLevelKnowledgeShouldBeApplied::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2149,8 +2149,8 @@ impl ISyncChangeBatchBase_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2170,8 +2170,8 @@ impl ISyncChangeBatchBase2_Vtbl { } Self { base__: ISyncChangeBatchBase_Vtbl::new::(), SerializeWithOptions: SerializeWithOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2276,8 +2276,8 @@ impl ISyncChangeBatchWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2326,8 +2326,8 @@ impl ISyncChangeBatchWithPrerequisite_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2344,8 +2344,8 @@ impl ISyncChangeBuilder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddChangeUnitMetadata: AddChangeUnitMetadata:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2385,8 +2385,8 @@ impl ISyncChangeUnit_Vtbl { GetChangeUnitVersion: GetChangeUnitVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2501,8 +2501,8 @@ impl ISyncChangeWithFilterKeyMap_Vtbl { GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete: GetLearnedFilterForgottenKnowledgeAfterRecoveryComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2541,8 +2541,8 @@ impl ISyncChangeWithPrerequisite_Vtbl { GetLearnedKnowledgeWithPrerequisite: GetLearnedKnowledgeWithPrerequisite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2559,8 +2559,8 @@ impl ISyncConstraintCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnConstraintConflict: OnConstraintConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2625,8 +2625,8 @@ impl ISyncDataConverter_Vtbl { ConvertDataToProviderFormat: ConvertDataToProviderFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2653,8 +2653,8 @@ impl ISyncFilter_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2677,8 +2677,8 @@ impl ISyncFilterDeserializer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DeserializeSyncFilter: DeserializeSyncFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2695,8 +2695,8 @@ impl ISyncFilterInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Serialize: Serialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2713,8 +2713,8 @@ impl ISyncFilterInfo2_Vtbl { } Self { base__: ISyncFilterInfo_Vtbl::new::(), GetFlags: GetFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ISyncFullEnumerationChange_Vtbl { GetLearnedForgottenKnowledge: GetLearnedForgottenKnowledge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2797,8 +2797,8 @@ impl ISyncFullEnumerationChangeBatch_Vtbl { GetClosedUpperBoundItemId: GetClosedUpperBoundItemId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2827,8 +2827,8 @@ impl ISyncFullEnumerationChangeBatch2_Vtbl { AddMergeTombstoneMetadataToGroup: AddMergeTombstoneMetadataToGroup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3048,8 +3048,8 @@ impl ISyncKnowledge_Vtbl { GetVersion: GetVersion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3187,8 +3187,8 @@ impl ISyncKnowledge2_Vtbl { CompareToKnowledgeCookie: CompareToKnowledgeCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3205,8 +3205,8 @@ impl ISyncMergeTombstoneChange_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetWinnerItemId: GetWinnerItemId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3226,8 +3226,8 @@ impl ISyncProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdParameters: GetIdParameters:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3283,8 +3283,8 @@ impl ISyncProviderConfigUI_Vtbl { ModifySyncProvider: ModifySyncProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3313,8 +3313,8 @@ impl ISyncProviderConfigUIInfo_Vtbl { GetSyncProviderConfigUI: GetSyncProviderConfigUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3343,8 +3343,8 @@ impl ISyncProviderInfo_Vtbl { GetSyncProvider: GetSyncProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3538,8 +3538,8 @@ impl ISyncProviderRegistration_Vtbl { GetChange: GetChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3578,8 +3578,8 @@ impl ISyncRegistrationChange_Vtbl { GetInstanceId: GetInstanceId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"implement\"`*"] @@ -3602,8 +3602,8 @@ impl ISyncSessionExtendedErrorInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSyncProviderWithError: GetSyncProviderWithError:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3668,8 +3668,8 @@ impl ISyncSessionState_Vtbl { OnProgress: OnProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3699,8 +3699,8 @@ impl ISyncSessionState2_Vtbl { GetSessionErrorStatus: GetSessionErrorStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_WindowsSync\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3736,7 +3736,7 @@ impl ISynchronousDataRetriever_Vtbl { LoadChangeData: LoadChangeData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs index 517ab5e902..f8e5167153 100644 --- a/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/System/Wmi/impl.rs @@ -49,8 +49,8 @@ impl IEnumWbemClassObject_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IMofCompiler_Vtbl { CreateBMOF: CreateBMOF::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -501,8 +501,8 @@ impl ISWbemDateTime_Vtbl { SetFileTime: SetFileTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -544,8 +544,8 @@ impl ISWbemEventSource_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -558,8 +558,8 @@ impl ISWbemLastError_Vtbl { pub const fn new, Impl: ISWbemLastError_Impl, const OFFSET: isize>() -> ISWbemLastError_Vtbl { Self { base__: ISWbemObject_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -601,8 +601,8 @@ impl ISWbemLocator_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -683,8 +683,8 @@ impl ISWbemMethod_Vtbl { Qualifiers_: Qualifiers_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl ISWbemMethodSet_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -789,8 +789,8 @@ impl ISWbemNamedValue_Vtbl { Name: Name::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -885,8 +885,8 @@ impl ISWbemNamedValueSet_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1220,8 +1220,8 @@ impl ISWbemObject_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1277,8 +1277,8 @@ impl ISWbemObjectEx_Vtbl { SetFromText_: SetFromText_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1533,8 +1533,8 @@ impl ISWbemObjectPath_Vtbl { SetAuthority: SetAuthority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1615,8 +1615,8 @@ impl ISWbemObjectSet_Vtbl { ItemIndex: ItemIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1691,8 +1691,8 @@ impl ISWbemPrivilege_Vtbl { Identifier: Identifier::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl ISWbemPrivilegeSet_Vtbl { AddAsString: AddAsString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1902,8 +1902,8 @@ impl ISWbemProperty_Vtbl { IsArray: IsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1978,8 +1978,8 @@ impl ISWbemPropertySet_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2114,8 +2114,8 @@ impl ISWbemQualifier_Vtbl { IsAmended: IsAmended::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2190,8 +2190,8 @@ impl ISWbemQualifierSet_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2279,8 +2279,8 @@ impl ISWbemRefreshableItem_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2402,8 +2402,8 @@ impl ISWbemRefresher_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2472,8 +2472,8 @@ impl ISWbemSecurity_Vtbl { Privileges: Privileges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2720,8 +2720,8 @@ impl ISWbemServices_Vtbl { Security_: Security_::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2753,8 +2753,8 @@ impl ISWbemServicesEx_Vtbl { } Self { base__: ISWbemServices_Vtbl::new::(), Put: Put::, PutAsync: PutAsync:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2774,8 +2774,8 @@ impl ISWbemSink_Vtbl { } Self { base__: super::Com::IDispatch_Vtbl::new::(), Cancel: Cancel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2788,8 +2788,8 @@ impl ISWbemSinkEvents_Vtbl { pub const fn new, Impl: ISWbemSinkEvents_Impl, const OFFSET: isize>() -> ISWbemSinkEvents_Vtbl { Self { base__: super::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2812,8 +2812,8 @@ impl IUnsecuredApartment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObjectStub: CreateObjectStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2868,8 +2868,8 @@ impl IWMIExtension_Vtbl { GetWMIServices: GetWMIServices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2886,8 +2886,8 @@ impl IWbemAddressResolution_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Resolve: Resolve:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2914,8 +2914,8 @@ impl IWbemBackupRestore_Vtbl { Restore: Restore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -2942,8 +2942,8 @@ impl IWbemBackupRestoreEx_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3008,8 +3008,8 @@ impl IWbemCallResult_Vtbl { GetCallStatus: GetCallStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3253,8 +3253,8 @@ impl IWbemClassObject_Vtbl { GetMethodOrigin: GetMethodOrigin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3302,8 +3302,8 @@ impl IWbemClientConnectionTransport_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3326,8 +3326,8 @@ impl IWbemClientTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3375,8 +3375,8 @@ impl IWbemConfigureRefresher_Vtbl { AddEnum: AddEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3393,8 +3393,8 @@ impl IWbemConnectorLogin_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectorLogin: ConnectorLogin:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3435,8 +3435,8 @@ impl IWbemConstructClassObject_Vtbl { SetServerNamespace: SetServerNamespace::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3533,8 +3533,8 @@ impl IWbemContext_Vtbl { DeleteAll: DeleteAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3573,8 +3573,8 @@ impl IWbemDecoupledBasicEventProvider_Vtbl { GetService: GetService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3601,8 +3601,8 @@ impl IWbemDecoupledRegistrar_Vtbl { UnRegister: UnRegister::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3625,8 +3625,8 @@ impl IWbemEventConsumerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindConsumer: FindConsumer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3643,8 +3643,8 @@ impl IWbemEventProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ProvideEvents: ProvideEvents:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3671,8 +3671,8 @@ impl IWbemEventProviderQuerySink_Vtbl { CancelQuery: CancelQuery::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3689,8 +3689,8 @@ impl IWbemEventProviderSecurity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessCheck: AccessCheck:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3737,8 +3737,8 @@ impl IWbemEventSink_Vtbl { SetBatchingParameters: SetBatchingParameters::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3779,8 +3779,8 @@ impl IWbemHiPerfEnum_Vtbl { RemoveAll: RemoveAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3847,8 +3847,8 @@ impl IWbemHiPerfProvider_Vtbl { GetObjects: GetObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3913,8 +3913,8 @@ impl IWbemLevel1Login_Vtbl { NTLMLogin: NTLMLogin::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -3937,8 +3937,8 @@ impl IWbemLocator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ConnectServer: ConnectServer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4036,8 +4036,8 @@ impl IWbemObjectAccess_Vtbl { Unlock: Unlock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4064,8 +4064,8 @@ impl IWbemObjectSink_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4128,8 +4128,8 @@ impl IWbemObjectSinkEx_Vtbl { WriteStreamParameter: WriteStreamParameter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4168,8 +4168,8 @@ impl IWbemObjectTextSrc_Vtbl { CreateFromText: CreateFromText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4391,8 +4391,8 @@ impl IWbemPath_Vtbl { IsSameClassName: IsSameClassName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4490,8 +4490,8 @@ impl IWbemPathKeyList_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4527,8 +4527,8 @@ impl IWbemPropertyProvider_Vtbl { PutProperty: PutProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4545,8 +4545,8 @@ impl IWbemProviderIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRegistrationObject: SetRegistrationObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4563,8 +4563,8 @@ impl IWbemProviderInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4581,8 +4581,8 @@ impl IWbemProviderInitSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetStatus: SetStatus:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4653,8 +4653,8 @@ impl IWbemQualifierSet_Vtbl { EndEnumeration: EndEnumeration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4716,8 +4716,8 @@ impl IWbemQuery_Vtbl { GetQueryInfo: GetQueryInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4734,8 +4734,8 @@ impl IWbemRefresher_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Refresh: Refresh:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4939,8 +4939,8 @@ impl IWbemServices_Vtbl { ExecMethodAsync: ExecMethodAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4957,8 +4957,8 @@ impl IWbemShutdown_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Shutdown: Shutdown:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -4997,8 +4997,8 @@ impl IWbemStatusCodeText_Vtbl { GetFacilityCodeText: GetFacilityCodeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5015,8 +5015,8 @@ impl IWbemTransport_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5033,8 +5033,8 @@ impl IWbemUnboundObjectSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IndicateToConsumer: IndicateToConsumer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_System_Wmi\"`, `\"implement\"`*"] @@ -5057,7 +5057,7 @@ impl IWbemUnsecuredApartment_Vtbl { } Self { base__: IUnsecuredApartment_Vtbl::new::(), CreateSinkStub: CreateSinkStub:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs index c44cfccd8f..714dbb6bd2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Accessibility/impl.rs @@ -12,8 +12,8 @@ impl IAccIdentity_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIdentityString: GetIdentityString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IAccPropServer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropValue: GetPropValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -155,8 +155,8 @@ impl IAccPropServices_Vtbl { DecomposeHmenuIdentityString: DecomposeHmenuIdentityString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -409,8 +409,8 @@ impl IAccessible_Vtbl { put_accValue: put_accValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -472,8 +472,8 @@ impl IAccessibleEx_Vtbl { ConvertReturnedElement: ConvertReturnedElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -499,8 +499,8 @@ impl IAccessibleHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AccessibleObjectFromID: AccessibleObjectFromID:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -542,8 +542,8 @@ impl IAccessibleHostingElementProviders_Vtbl { GetObjectIdForProvider: GetObjectIdForProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -605,8 +605,8 @@ impl IAccessibleWindowlessSite_Vtbl { GetParentAccessible: GetParentAccessible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -684,8 +684,8 @@ impl IAnnotationProvider_Vtbl { Target: Target::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -708,8 +708,8 @@ impl ICustomNavigationProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -742,8 +742,8 @@ impl IDockProvider_Vtbl { DockPosition: DockPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -811,8 +811,8 @@ impl IDragProvider_Vtbl { GetGrabbedItems: GetGrabbedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -854,8 +854,8 @@ impl IDropTargetProvider_Vtbl { DropTargetEffects: DropTargetEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -895,8 +895,8 @@ impl IExpandCollapseProvider_Vtbl { ExpandCollapseState: ExpandCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -974,8 +974,8 @@ impl IGridItemProvider_Vtbl { ContainingGrid: ContainingGrid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1027,8 +1027,8 @@ impl IGridProvider_Vtbl { ColumnCount: ColumnCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IInvokeProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1072,8 +1072,8 @@ impl IItemContainerProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1253,8 +1253,8 @@ impl ILegacyIAccessibleProvider_Vtbl { DefaultAction: DefaultAction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1316,8 +1316,8 @@ impl IMultipleViewProvider_Vtbl { GetSupportedViews: GetSupportedViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IObjectModelProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1361,8 +1361,8 @@ impl IProxyProviderWinEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RespondToWinEvent: RespondToWinEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1399,8 +1399,8 @@ impl IProxyProviderWinEventSink_Vtbl { AddStructureChangedEvent: AddStructureChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1501,8 +1501,8 @@ impl IRangeValueProvider_Vtbl { SmallChange: SmallChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1532,8 +1532,8 @@ impl IRawElementProviderAdviseEvents_Vtbl { AdviseEventRemoved: AdviseEventRemoved::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1621,8 +1621,8 @@ impl IRawElementProviderFragment_Vtbl { FragmentRoot: FragmentRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1661,8 +1661,8 @@ impl IRawElementProviderFragmentRoot_Vtbl { GetFocus: GetFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1688,8 +1688,8 @@ impl IRawElementProviderHostingAccessibles_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetEmbeddedAccessibles: GetEmbeddedAccessibles:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1718,8 +1718,8 @@ impl IRawElementProviderHwndOverride_Vtbl { GetOverrideProviderForHwnd: GetOverrideProviderForHwnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1787,8 +1787,8 @@ impl IRawElementProviderSimple_Vtbl { HostRawElementProvider: HostRawElementProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1808,8 +1808,8 @@ impl IRawElementProviderSimple2_Vtbl { } Self { base__: IRawElementProviderSimple_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1835,8 +1835,8 @@ impl IRawElementProviderSimple3_Vtbl { } Self { base__: IRawElementProviderSimple2_Vtbl::new::(), GetMetadataValue: GetMetadataValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1878,8 +1878,8 @@ impl IRawElementProviderWindowlessSite_Vtbl { GetRuntimeIdPrefix: GetRuntimeIdPrefix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1906,8 +1906,8 @@ impl IRichEditUiaInformation_Vtbl { IsVisible: IsVisible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1930,8 +1930,8 @@ impl IRicheditWindowlessAccessibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateProvider: CreateProvider:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -1948,8 +1948,8 @@ impl IScrollItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2057,8 +2057,8 @@ impl IScrollProvider_Vtbl { VerticallyScrollable: VerticallyScrollable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2121,8 +2121,8 @@ impl ISelectionItemProvider_Vtbl { SelectionContainer: SelectionContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2177,8 +2177,8 @@ impl ISelectionProvider_Vtbl { IsSelectionRequired: IsSelectionRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2246,8 +2246,8 @@ impl ISelectionProvider2_Vtbl { ItemCount: ItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2302,8 +2302,8 @@ impl ISpreadsheetItemProvider_Vtbl { GetAnnotationTypes: GetAnnotationTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2326,8 +2326,8 @@ impl ISpreadsheetProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2431,8 +2431,8 @@ impl IStylesProvider_Vtbl { ExtendedProperties: ExtendedProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2459,8 +2459,8 @@ impl ISynchronizedInputProvider_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2502,8 +2502,8 @@ impl ITableItemProvider_Vtbl { GetColumnHeaderItems: GetColumnHeaderItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2558,8 +2558,8 @@ impl ITableProvider_Vtbl { RowOrColumnMajor: RowOrColumnMajor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -2598,8 +2598,8 @@ impl ITextChildProvider_Vtbl { TextRange: TextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2641,8 +2641,8 @@ impl ITextEditProvider_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2736,8 +2736,8 @@ impl ITextProvider_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2773,8 +2773,8 @@ impl ITextProvider2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2988,8 +2988,8 @@ impl ITextRangeProvider_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3009,8 +3009,8 @@ impl ITextRangeProvider2_Vtbl { } Self { base__: ITextRangeProvider_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -3043,8 +3043,8 @@ impl IToggleProvider_Vtbl { ToggleState: ToggleState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3120,8 +3120,8 @@ impl ITransformProvider_Vtbl { CanRotate: CanRotate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3203,8 +3203,8 @@ impl ITransformProvider2_Vtbl { ZoomByUnit: ZoomByUnit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3851,8 +3851,8 @@ impl IUIAutomation_Vtbl { ElementFromIAccessibleBuildCache: ElementFromIAccessibleBuildCache::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3928,8 +3928,8 @@ impl IUIAutomation2_Vtbl { SetTransactionTimeout: SetTransactionTimeout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3959,8 +3959,8 @@ impl IUIAutomation3_Vtbl { RemoveTextEditTextChangedEventHandler: RemoveTextEditTextChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3990,8 +3990,8 @@ impl IUIAutomation4_Vtbl { RemoveChangesEventHandler: RemoveChangesEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4021,8 +4021,8 @@ impl IUIAutomation5_Vtbl { RemoveNotificationEventHandler: RemoveNotificationEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4119,8 +4119,8 @@ impl IUIAutomation6_Vtbl { RemoveActiveTextPositionChangedEventHandler: RemoveActiveTextPositionChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4140,8 +4140,8 @@ impl IUIAutomationActiveTextPositionChangedEventHandler_Vtbl { HandleActiveTextPositionChangedEvent: HandleActiveTextPositionChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4190,8 +4190,8 @@ impl IUIAutomationAndCondition_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4334,8 +4334,8 @@ impl IUIAutomationAnnotationPattern_Vtbl { CachedTarget: CachedTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4361,8 +4361,8 @@ impl IUIAutomationBoolCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), BooleanValue: BooleanValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4462,8 +4462,8 @@ impl IUIAutomationCacheRequest_Vtbl { SetAutomationElementMode: SetAutomationElementMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4483,8 +4483,8 @@ impl IUIAutomationChangesEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleChangesEvent: HandleChangesEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4494,8 +4494,8 @@ impl IUIAutomationCondition_Vtbl { pub const fn new, Impl: IUIAutomationCondition_Impl, const OFFSET: isize>() -> IUIAutomationCondition_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4518,8 +4518,8 @@ impl IUIAutomationCustomNavigationPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Navigate: Navigate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -4565,8 +4565,8 @@ impl IUIAutomationDockPattern_Vtbl { CachedDockPosition: CachedDockPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4686,8 +4686,8 @@ impl IUIAutomationDragPattern_Vtbl { GetCachedGrabbedItems: GetCachedGrabbedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4755,8 +4755,8 @@ impl IUIAutomationDropTargetPattern_Vtbl { CachedDropTargetEffects: CachedDropTargetEffects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5814,8 +5814,8 @@ impl IUIAutomationElement_Vtbl { GetClickablePoint: GetClickablePoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5909,8 +5909,8 @@ impl IUIAutomationElement2_Vtbl { CachedFlowsFrom: CachedFlowsFrom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5959,8 +5959,8 @@ impl IUIAutomationElement3_Vtbl { CachedIsPeripheral: CachedIsPeripheral::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6106,8 +6106,8 @@ impl IUIAutomationElement4_Vtbl { CachedAnnotationObjects: CachedAnnotationObjects::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6175,8 +6175,8 @@ impl IUIAutomationElement5_Vtbl { CachedLocalizedLandmarkType: CachedLocalizedLandmarkType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6218,8 +6218,8 @@ impl IUIAutomationElement6_Vtbl { CachedFullDescription: CachedFullDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6300,8 +6300,8 @@ impl IUIAutomationElement7_Vtbl { GetCurrentMetadataValue: GetCurrentMetadataValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6343,8 +6343,8 @@ impl IUIAutomationElement8_Vtbl { CachedHeadingLevel: CachedHeadingLevel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6386,8 +6386,8 @@ impl IUIAutomationElement9_Vtbl { CachedIsDialog: CachedIsDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6426,8 +6426,8 @@ impl IUIAutomationElementArray_Vtbl { GetElement: GetElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6444,8 +6444,8 @@ impl IUIAutomationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleAutomationEvent: HandleAutomationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6507,8 +6507,8 @@ impl IUIAutomationEventHandlerGroup_Vtbl { AddTextEditTextChangedEventHandler: AddTextEditTextChangedEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6561,8 +6561,8 @@ impl IUIAutomationExpandCollapsePattern_Vtbl { CachedExpandCollapseState: CachedExpandCollapseState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6579,8 +6579,8 @@ impl IUIAutomationFocusChangedEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleFocusChangedEvent: HandleFocusChangedEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6723,8 +6723,8 @@ impl IUIAutomationGridItemPattern_Vtbl { CachedColumnSpan: CachedColumnSpan::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6802,8 +6802,8 @@ impl IUIAutomationGridPattern_Vtbl { CachedColumnCount: CachedColumnCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -6820,8 +6820,8 @@ impl IUIAutomationInvokePattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6847,8 +6847,8 @@ impl IUIAutomationItemContainerPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), FindItemByProperty: FindItemByProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7158,8 +7158,8 @@ impl IUIAutomationLegacyIAccessiblePattern_Vtbl { GetIAccessible: GetIAccessible::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7247,8 +7247,8 @@ impl IUIAutomationMultipleViewPattern_Vtbl { GetCachedSupportedViews: GetCachedSupportedViews::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7271,8 +7271,8 @@ impl IUIAutomationNotCondition_Vtbl { } Self { base__: IUIAutomationCondition_Vtbl::new::(), GetChild: GetChild:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7289,8 +7289,8 @@ impl IUIAutomationNotificationEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandleNotificationEvent: HandleNotificationEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7313,8 +7313,8 @@ impl IUIAutomationObjectModelPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUnderlyingObjectModel: GetUnderlyingObjectModel:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7363,8 +7363,8 @@ impl IUIAutomationOrCondition_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -7397,8 +7397,8 @@ impl IUIAutomationPatternHandler_Vtbl { Dispatch: Dispatch::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7428,8 +7428,8 @@ impl IUIAutomationPatternInstance_Vtbl { CallMethod: CallMethod::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7452,8 +7452,8 @@ impl IUIAutomationPropertyChangedEventHandler_Vtbl { HandlePropertyChangedEvent: HandlePropertyChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7508,8 +7508,8 @@ impl IUIAutomationPropertyCondition_Vtbl { PropertyConditionFlags: PropertyConditionFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7551,8 +7551,8 @@ impl IUIAutomationProxyFactory_Vtbl { ProxyFactoryId: ProxyFactoryId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7701,8 +7701,8 @@ impl IUIAutomationProxyFactoryEntry_Vtbl { GetWinEventsForAutomationEvent: GetWinEventsForAutomationEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7799,8 +7799,8 @@ impl IUIAutomationProxyFactoryMapping_Vtbl { RestoreDefaultTable: RestoreDefaultTable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7979,8 +7979,8 @@ impl IUIAutomationRangeValuePattern_Vtbl { CachedSmallChange: CachedSmallChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8029,8 +8029,8 @@ impl IUIAutomationRegistrar_Vtbl { RegisterPattern: RegisterPattern::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8047,8 +8047,8 @@ impl IUIAutomationScrollItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollIntoView: ScrollIntoView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8234,8 +8234,8 @@ impl IUIAutomationScrollPattern_Vtbl { CachedVerticallyScrollable: CachedVerticallyScrollable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8324,8 +8324,8 @@ impl IUIAutomationSelectionItemPattern_Vtbl { CachedSelectionContainer: CachedSelectionContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8419,8 +8419,8 @@ impl IUIAutomationSelectionPattern_Vtbl { CachedIsSelectionRequired: CachedIsSelectionRequired::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8540,8 +8540,8 @@ impl IUIAutomationSelectionPattern2_Vtbl { CachedItemCount: CachedItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8635,8 +8635,8 @@ impl IUIAutomationSpreadsheetItemPattern_Vtbl { GetCachedAnnotationTypes: GetCachedAnnotationTypes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8659,8 +8659,8 @@ impl IUIAutomationSpreadsheetPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetItemByName: GetItemByName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8683,8 +8683,8 @@ impl IUIAutomationStructureChangedEventHandler_Vtbl { HandleStructureChangedEvent: HandleStructureChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8893,8 +8893,8 @@ impl IUIAutomationStylesPattern_Vtbl { GetCachedExtendedPropertiesAsArray: GetCachedExtendedPropertiesAsArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8921,8 +8921,8 @@ impl IUIAutomationSynchronizedInputPattern_Vtbl { Cancel: Cancel::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -8987,8 +8987,8 @@ impl IUIAutomationTableItemPattern_Vtbl { GetCachedColumnHeaderItems: GetCachedColumnHeaderItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9079,8 +9079,8 @@ impl IUIAutomationTablePattern_Vtbl { CachedRowOrColumnMajor: CachedRowOrColumnMajor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9119,8 +9119,8 @@ impl IUIAutomationTextChildPattern_Vtbl { TextRange: TextRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9162,8 +9162,8 @@ impl IUIAutomationTextEditPattern_Vtbl { GetConversionTarget: GetConversionTarget::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9186,8 +9186,8 @@ impl IUIAutomationTextEditTextChangedEventHandler_Vtbl { HandleTextEditTextChangedEvent: HandleTextEditTextChangedEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9281,8 +9281,8 @@ impl IUIAutomationTextPattern_Vtbl { SupportedTextSelection: SupportedTextSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9318,8 +9318,8 @@ impl IUIAutomationTextPattern2_Vtbl { GetCaretRange: GetCaretRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9533,8 +9533,8 @@ impl IUIAutomationTextRange_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9554,8 +9554,8 @@ impl IUIAutomationTextRange2_Vtbl { } Self { base__: IUIAutomationTextRange_Vtbl::new::(), ShowContextMenu: ShowContextMenu:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -9610,8 +9610,8 @@ impl IUIAutomationTextRange3_Vtbl { GetAttributeValues: GetAttributeValues::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9650,8 +9650,8 @@ impl IUIAutomationTextRangeArray_Vtbl { GetElement: GetElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -9697,8 +9697,8 @@ impl IUIAutomationTogglePattern_Vtbl { CachedToggleState: CachedToggleState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9813,8 +9813,8 @@ impl IUIAutomationTransformPattern_Vtbl { CachedCanRotate: CachedCanRotate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9948,8 +9948,8 @@ impl IUIAutomationTransformPattern2_Vtbl { CachedZoomMaximum: CachedZoomMaximum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10131,8 +10131,8 @@ impl IUIAutomationTreeWalker_Vtbl { Condition: Condition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10207,8 +10207,8 @@ impl IUIAutomationValuePattern_Vtbl { CachedIsReadOnly: CachedIsReadOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10225,8 +10225,8 @@ impl IUIAutomationVirtualizedItemPattern_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10425,8 +10425,8 @@ impl IUIAutomationWindowPattern_Vtbl { CachedWindowInteractionState: CachedWindowInteractionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10475,8 +10475,8 @@ impl IValueProvider_Vtbl { IsReadOnly: IsReadOnly::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"implement\"`*"] @@ -10493,8 +10493,8 @@ impl IVirtualizedItemProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Realize: Realize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Accessibility\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10615,7 +10615,7 @@ impl IWindowProvider_Vtbl { IsTopmost: IsTopmost::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs index 4013a0c84f..91adcd5e80 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Animation/impl.rs @@ -81,8 +81,8 @@ impl IUIAnimationInterpolator_Vtbl { GetDependencies: GetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -170,8 +170,8 @@ impl IUIAnimationInterpolator2_Vtbl { GetDependencies: GetDependencies::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -188,8 +188,8 @@ impl IUIAnimationLoopIterationChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLoopIterationChanged: OnLoopIterationChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -365,8 +365,8 @@ impl IUIAnimationManager_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -571,8 +571,8 @@ impl IUIAnimationManager2_Vtbl { Shutdown: Shutdown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -589,8 +589,8 @@ impl IUIAnimationManagerEventHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -607,8 +607,8 @@ impl IUIAnimationManagerEventHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnManagerStatusChanged: OnManagerStatusChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -635,8 +635,8 @@ impl IUIAnimationPrimitiveInterpolation_Vtbl { AddSinusoidal: AddSinusoidal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -653,8 +653,8 @@ impl IUIAnimationPriorityComparison_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -671,8 +671,8 @@ impl IUIAnimationPriorityComparison2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HasPriority: HasPriority:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -828,8 +828,8 @@ impl IUIAnimationStoryboard_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -995,8 +995,8 @@ impl IUIAnimationStoryboard2_Vtbl { SetStoryboardEventHandler: SetStoryboardEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1023,8 +1023,8 @@ impl IUIAnimationStoryboardEventHandler_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1051,8 +1051,8 @@ impl IUIAnimationStoryboardEventHandler2_Vtbl { OnStoryboardUpdated: OnStoryboardUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IUIAnimationTimer_Vtbl { SetFrameRateThreshold: SetFrameRateThreshold::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1141,8 +1141,8 @@ impl IUIAnimationTimerClientEventHandler_Vtbl { OnTimerClientStatusChanged: OnTimerClientStatusChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1176,8 +1176,8 @@ impl IUIAnimationTimerEventHandler_Vtbl { OnRenderingTooSlow: OnRenderingTooSlow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1217,8 +1217,8 @@ impl IUIAnimationTimerUpdateHandler_Vtbl { ClearTimerClientEventHandler: ClearTimerClientEventHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1265,8 +1265,8 @@ impl IUIAnimationTransition_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1340,8 +1340,8 @@ impl IUIAnimationTransition2_Vtbl { GetDuration: GetDuration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1364,8 +1364,8 @@ impl IUIAnimationTransitionFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1388,8 +1388,8 @@ impl IUIAnimationTransitionFactory2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateTransition: CreateTransition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1558,8 +1558,8 @@ impl IUIAnimationTransitionLibrary_Vtbl { CreateParabolicTransitionFromAcceleration: CreateParabolicTransitionFromAcceleration::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1819,8 +1819,8 @@ impl IUIAnimationTransitionLibrary2_Vtbl { CreateCubicBezierLinearVectorTransition: CreateCubicBezierLinearVectorTransition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -1973,8 +1973,8 @@ impl IUIAnimationVariable_Vtbl { SetVariableIntegerChangeHandler: SetVariableIntegerChangeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -2220,8 +2220,8 @@ impl IUIAnimationVariable2_Vtbl { SetVariableCurveChangeHandler: SetVariableCurveChangeHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2238,8 +2238,8 @@ impl IUIAnimationVariableChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2256,8 +2256,8 @@ impl IUIAnimationVariableChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnValueChanged: OnValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2274,8 +2274,8 @@ impl IUIAnimationVariableCurveChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCurveChanged: OnCurveChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2292,8 +2292,8 @@ impl IUIAnimationVariableIntegerChangeHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Animation\"`, `\"implement\"`*"] @@ -2310,7 +2310,7 @@ impl IUIAnimationVariableIntegerChangeHandler2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnIntegerValueChanged: OnIntegerValueChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs index 266ea64d72..f784febf37 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/ColorSystem/impl.rs @@ -112,8 +112,8 @@ impl IDeviceModelPlugIn_Vtbl { GetNeutralAxis: GetNeutralAxis::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_ColorSystem\"`, `\"implement\"`*"] @@ -140,7 +140,7 @@ impl IGamutMapModelPlugIn_Vtbl { SourceToDestinationAppearanceColors: SourceToDestinationAppearanceColors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs index 358561701b..4bc9716064 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/Dialogs/impl.rs @@ -32,8 +32,8 @@ impl IPrintDialogCallback_Vtbl { HandleMessage: HandleMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_Dialogs\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -70,7 +70,7 @@ impl IPrintDialogServices_Vtbl { GetCurrentPortName: GetCurrentPortName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs index 549d8a2171..1058374b2d 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/RichEdit/impl.rs @@ -129,8 +129,8 @@ impl IRichEditOle_Vtbl { ImportDataObject: ImportDataObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Ole\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -222,8 +222,8 @@ impl IRichEditOleCallback_Vtbl { GetContextMenu: GetContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -243,8 +243,8 @@ impl IRicheditUiaOverrides_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPropertyOverrideValue: GetPropertyOverrideValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -257,8 +257,8 @@ impl ITextDisplays_Vtbl { pub const fn new, Impl: ITextDisplays_Impl, const OFFSET: isize>() -> ITextDisplays_Vtbl { Self { base__: super::super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -479,8 +479,8 @@ impl ITextDocument_Vtbl { RangeFromPoint: RangeFromPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -948,8 +948,8 @@ impl ITextDocument2_Vtbl { GetStory: GetStory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1193,8 +1193,8 @@ impl ITextDocument2Old_Vtbl { ReleaseCallManager: ReleaseCallManager::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1763,8 +1763,8 @@ impl ITextFont_Vtbl { SetWeight: SetWeight::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2234,8 +2234,8 @@ impl ITextFont2_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2530,8 +2530,8 @@ impl ITextHost_Vtbl { TxGetSelectionBarWidth: TxGetSelectionBarWidth::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2631,8 +2631,8 @@ impl ITextHost2_Vtbl { TxGetHorzExtent: TxGetHorzExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3128,8 +3128,8 @@ impl ITextPara_Vtbl { GetTab: GetTab::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3305,8 +3305,8 @@ impl ITextPara2_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3889,8 +3889,8 @@ impl ITextRange_Vtbl { GetEmbeddedObject: GetEmbeddedObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4288,8 +4288,8 @@ impl ITextRange2_Vtbl { InsertImage: InsertImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4753,8 +4753,8 @@ impl ITextRow_Vtbl { SetProperty: SetProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4888,8 +4888,8 @@ impl ITextSelection_Vtbl { TypeText: TypeText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4902,8 +4902,8 @@ impl ITextSelection2_Vtbl { pub const fn new, Impl: ITextSelection2_Impl, const OFFSET: isize>() -> ITextSelection2_Vtbl { Self { base__: ITextRange2_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5065,8 +5065,8 @@ impl ITextServices_Vtbl { TxGetCachedSize: TxGetCachedSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Direct2D\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5096,8 +5096,8 @@ impl ITextServices2_Vtbl { TxDrawD2D: TxDrawD2D::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5239,8 +5239,8 @@ impl ITextStory_Vtbl { SetText: SetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5295,8 +5295,8 @@ impl ITextStoryRanges_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5322,8 +5322,8 @@ impl ITextStoryRanges2_Vtbl { } Self { base__: ITextStoryRanges_Vtbl::new::(), Item2: Item2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls_RichEdit\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5476,7 +5476,7 @@ impl ITextStrings_Vtbl { Swap: Swap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs index 4c92ebbdfe..fe447bbb6a 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Controls/impl.rs @@ -274,8 +274,8 @@ impl IImageList_Vtbl { GetOverlayImage: GetOverlayImage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Controls\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -375,7 +375,7 @@ impl IImageList2_Vtbl { ReplaceFromImageList: ReplaceFromImageList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs index 885d3d0268..86b7d587c3 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ime/impl.rs @@ -148,8 +148,8 @@ impl IActiveIME_Vtbl { GetLangId: GetLangId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -175,8 +175,8 @@ impl IActiveIME2_Vtbl { } Self { base__: IActiveIME_Vtbl::new::(), Sleep: Sleep::, Unsleep: Unsleep:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -758,8 +758,8 @@ impl IActiveIMMApp_Vtbl { EnumInputContext: EnumInputContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_Globalization\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1541,8 +1541,8 @@ impl IActiveIMMIME_Vtbl { IsSleeping: IsSleeping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1599,8 +1599,8 @@ impl IActiveIMMMessagePumpOwner_Vtbl { Resume: Resume::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1627,8 +1627,8 @@ impl IActiveIMMRegistrar_Vtbl { UnregisterIME: UnregisterIME::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Globalization\"`, `\"implement\"`*"] @@ -1678,8 +1678,8 @@ impl IEnumInputContext_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1726,8 +1726,8 @@ impl IEnumRegisterWordA_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -1774,8 +1774,8 @@ impl IEnumRegisterWordW_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1788,8 +1788,8 @@ impl IFEClassFactory_Vtbl { pub const fn new, Impl: IFEClassFactory_Impl, const OFFSET: isize>() -> IFEClassFactory_Vtbl { Self { base__: super::super::super::System::Com::IClassFactory_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1833,8 +1833,8 @@ impl IFECommon_Vtbl { InvokeDictToolDialog: InvokeDictToolDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1969,8 +1969,8 @@ impl IFEDictionary_Vtbl { ConvertFromUserToSys: ConvertFromUserToSys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -2025,8 +2025,8 @@ impl IFELanguage_Vtbl { GetConversion: GetConversion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2046,8 +2046,8 @@ impl IImePad_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Request: Request:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -2098,8 +2098,8 @@ impl IImePadApplet_Vtbl { Notify: Notify::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2129,8 +2129,8 @@ impl IImePlugInDictDictionaryList_Vtbl { DeleteDictionary: DeleteDictionary::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ime\"`, `\"implement\"`*"] @@ -2147,7 +2147,7 @@ impl IImeSpecifyApplets_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppletIIDList: GetAppletIIDList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs index d21d3f5d52..f9442d96b1 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Ink/impl.rs @@ -12,8 +12,8 @@ impl IInkCommitRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCommitRequested: OnCommitRequested:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -33,8 +33,8 @@ impl IInkD2DRenderer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -51,8 +51,8 @@ impl IInkD2DRenderer2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Draw: Draw:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -86,8 +86,8 @@ impl IInkDesktopHost_Vtbl { CreateAndInitializeInkPresenter: CreateAndInitializeInkPresenter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -104,8 +104,8 @@ impl IInkHostWorkItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Invoke: Invoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Ink\"`, `\"implement\"`*"] @@ -153,7 +153,7 @@ impl IInkPresenterDesktop_Vtbl { OnHighContrastChanged: OnHighContrastChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs index f05e71d66d..e066c6ffc7 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Radial/impl.rs @@ -18,8 +18,8 @@ impl IRadialControllerConfigurationInterop_Vtbl { GetForWindow: GetForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -42,8 +42,8 @@ impl IRadialControllerIndependentInputSourceInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Radial\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -66,7 +66,7 @@ impl IRadialControllerInterop_Vtbl { CreateForWindow: CreateForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs index 67be3a6350..2f5eb3879f 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Input/Touch/impl.rs @@ -498,8 +498,8 @@ impl IInertiaProcessor_Vtbl { CompleteTime: CompleteTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"implement\"`*"] @@ -713,8 +713,8 @@ impl IManipulationProcessor_Vtbl { SetMinimumScaleRotateRadius: SetMinimumScaleRotateRadius::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Input_Touch\"`, `\"implement\"`*"] @@ -762,7 +762,7 @@ impl _IManipulationEvents_Vtbl { ManipulationCompleted: ManipulationCompleted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IManipulationEvents as ::windows_core::ComInterface>::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IManipulationEvents as ::windows_core::ComInterface>::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs index 77d34b6db2..70fbb954e2 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/LegacyWindowsEnvironmentFeatures/impl.rs @@ -39,8 +39,8 @@ impl IADesktopP2_Vtbl { MakeDynamicChanges: MakeDynamicChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -81,8 +81,8 @@ impl IActiveDesktopP_Vtbl { GetScheme: GetScheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -102,8 +102,8 @@ impl IBriefcaseInitiator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsMonikerInBriefcase: IsMonikerInBriefcase:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IEmptyVolumeCache_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl IEmptyVolumeCache2_Vtbl { } Self { base__: IEmptyVolumeCache_Vtbl::new::(), InitializeEx: InitializeEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -209,8 +209,8 @@ impl IEmptyVolumeCacheCallBack_Vtbl { PurgeProgress: PurgeProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -246,8 +246,8 @@ impl IReconcilableObject_Vtbl { GetProgressFeedbackMaxEstimate: GetProgressFeedbackMaxEstimate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_LegacyWindowsEnvironmentFeatures\"`, `\"implement\"`*"] @@ -274,7 +274,7 @@ impl IReconcileInitiator_Vtbl { SetProgressFeedback: SetProgressFeedback::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs index 3ee55f6d18..5190fef0b9 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Notifications/impl.rs @@ -12,7 +12,7 @@ impl INotificationActivationCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Activate: Activate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs index 57809ffb67..9c8f72c556 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Ribbon/impl.rs @@ -35,8 +35,8 @@ impl IUIApplication_Vtbl { OnDestroyUICommand: OnDestroyUICommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl IUICollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -128,8 +128,8 @@ impl IUICollectionChangedEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChanged: OnChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -165,8 +165,8 @@ impl IUICommandHandler_Vtbl { UpdateProperty: UpdateProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -183,8 +183,8 @@ impl IUIContextualUI_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowAtLocation: ShowAtLocation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -201,8 +201,8 @@ impl IUIEventLogger_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUIEvent: OnUIEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"implement\"`*"] @@ -219,8 +219,8 @@ impl IUIEventingManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetEventLogger: SetEventLogger:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -305,8 +305,8 @@ impl IUIFramework_Vtbl { SetModes: SetModes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -332,8 +332,8 @@ impl IUIImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetBitmap: GetBitmap:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -359,8 +359,8 @@ impl IUIImageFromBitmap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateImage: CreateImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -403,8 +403,8 @@ impl IUIRibbon_Vtbl { SaveSettingsToStream: SaveSettingsToStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Ribbon\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -430,7 +430,7 @@ impl IUISimplePropertySet_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs index 662ce59e04..b706dc4346 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/Common/impl.rs @@ -28,8 +28,8 @@ impl IObjectArray_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -70,7 +70,7 @@ impl IObjectCollection_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs index 2ae631f88e..dce16651ab 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/PropertiesSystem/impl.rs @@ -12,8 +12,8 @@ impl ICreateObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -30,8 +30,8 @@ impl IDelayedPropertyStoreFactory_Vtbl { } Self { base__: IPropertyStoreFactory_Vtbl::new::(), GetDelayedPropertyStore: GetDelayedPropertyStore:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -48,8 +48,8 @@ impl IInitializeWithFile_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -69,8 +69,8 @@ impl IInitializeWithStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -132,8 +132,8 @@ impl INamedPropertyStore_Vtbl { GetNameAt: GetNameAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IObjectWithPropertyKey_Vtbl { GetPropertyKey: GetPropertyKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IPersistSerializedPropStorage_Vtbl { GetPropertyStorage: GetPropertyStorage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -229,8 +229,8 @@ impl IPersistSerializedPropStorage2_Vtbl { GetPropertyStorageBuffer: GetPropertyStorageBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -256,8 +256,8 @@ impl IPropertyChange_Vtbl { } Self { base__: IObjectWithPropertyKey_Vtbl::new::(), ApplyToPropVariant: ApplyToPropVariant:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -325,8 +325,8 @@ impl IPropertyChangeArray_Vtbl { IsKeyInArray: IsKeyInArray::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -579,8 +579,8 @@ impl IPropertyDescription_Vtbl { IsValueCanonical: IsValueCanonical::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -609,8 +609,8 @@ impl IPropertyDescription2_Vtbl { GetImageReferenceForValue: GetImageReferenceForValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IPropertyDescriptionAliasInfo_Vtbl { GetAdditionalSortByAliases: GetAdditionalSortByAliases::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IPropertyDescriptionList_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -695,8 +695,8 @@ impl IPropertyDescriptionRelatedPropertyInfo_Vtbl { } Self { base__: IPropertyDescription_Vtbl::new::(), GetRelatedProperty: GetRelatedProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Search_Common\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -764,8 +764,8 @@ impl IPropertyDescriptionSearchInfo_Vtbl { GetMaxSize: GetMaxSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -846,8 +846,8 @@ impl IPropertyEnumType_Vtbl { GetDisplayText: GetDisplayText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -873,8 +873,8 @@ impl IPropertyEnumType2_Vtbl { } Self { base__: IPropertyEnumType_Vtbl::new::(), GetImageReference: GetImageReference:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IPropertyEnumTypeList_Vtbl { FindMatchingIndex: FindMatchingIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -994,8 +994,8 @@ impl IPropertyStore_Vtbl { Commit: Commit::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1045,8 +1045,8 @@ impl IPropertyStoreCache_Vtbl { SetValueAndState: SetValueAndState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1063,8 +1063,8 @@ impl IPropertyStoreCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsPropertyWritable: IsPropertyWritable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1091,8 +1091,8 @@ impl IPropertyStoreFactory_Vtbl { GetPropertyStoreForKeys: GetPropertyStoreForKeys::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1177,8 +1177,8 @@ impl IPropertySystem_Vtbl { RefreshPropertySchema: RefreshPropertySchema::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -1195,8 +1195,8 @@ impl IPropertySystemChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SchemaRefreshed: SchemaRefreshed:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell_PropertiesSystem\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1280,7 +1280,7 @@ impl IPropertyUI_Vtbl { GetHelpInfo: GetHelpInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs index 815e03208d..b9bdfb41f4 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Shell/impl.rs @@ -25,8 +25,8 @@ impl CIE4ConnectionPoint_Vtbl { DoInvokePIDLIE4: DoInvokePIDLIE4::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -68,8 +68,8 @@ impl DFConstraint_Vtbl { Value: Value::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -82,8 +82,8 @@ impl DShellFolderViewEvents_Vtbl { pub const fn new, Impl: DShellFolderViewEvents_Impl, const OFFSET: isize>() -> DShellFolderViewEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -96,8 +96,8 @@ impl DShellNameSpaceEvents_Vtbl { pub const fn new, Impl: DShellNameSpaceEvents_Impl, const OFFSET: isize>() -> DShellNameSpaceEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -110,8 +110,8 @@ impl DShellWindowsEvents_Vtbl { pub const fn new, Impl: DShellWindowsEvents_Impl, const OFFSET: isize>() -> DShellWindowsEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -124,8 +124,8 @@ impl DWebBrowserEvents_Vtbl { pub const fn new, Impl: DWebBrowserEvents_Impl, const OFFSET: isize>() -> DWebBrowserEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -138,8 +138,8 @@ impl DWebBrowserEvents2_Vtbl { pub const fn new, Impl: DWebBrowserEvents2_Impl, const OFFSET: isize>() -> DWebBrowserEvents2_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -267,8 +267,8 @@ impl Folder_Vtbl { GetDetailsOf: GetDetailsOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl Folder2_Vtbl { DismissedWebViewBarricade: DismissedWebViewBarricade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -374,8 +374,8 @@ impl Folder3_Vtbl { SetShowWebViewBarricade: SetShowWebViewBarricade::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -594,8 +594,8 @@ impl FolderItem_Vtbl { InvokeVerb: InvokeVerb::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -631,8 +631,8 @@ impl FolderItem2_Vtbl { ExtendedProperty: ExtendedProperty::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -694,8 +694,8 @@ impl FolderItemVerb_Vtbl { DoIt: DoIt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -776,8 +776,8 @@ impl FolderItemVerbs_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -858,8 +858,8 @@ impl FolderItems_Vtbl { _NewEnum: _NewEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -879,8 +879,8 @@ impl FolderItems2_Vtbl { } Self { base__: FolderItems_Vtbl::new::(), InvokeVerbEx: InvokeVerbEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -912,8 +912,8 @@ impl FolderItems3_Vtbl { } Self { base__: FolderItems2_Vtbl::new::(), Filter: Filter::, Verbs: Verbs:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -930,8 +930,8 @@ impl IACList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Expand: Expand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -964,8 +964,8 @@ impl IACList2_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1002,8 +1002,8 @@ impl IAccessibilityDockingService_Vtbl { UndockWindow: UndockWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1020,8 +1020,8 @@ impl IAccessibilityDockingServiceCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Undocked: Undocked:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1038,8 +1038,8 @@ impl IAccessibleObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetAccessibleName: SetAccessibleName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1103,8 +1103,8 @@ impl IActionProgress_Vtbl { End: End::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1131,8 +1131,8 @@ impl IActionProgressDialog_Vtbl { Stop: Stop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1213,8 +1213,8 @@ impl IAppActivationUIInfo_Vtbl { GetKeyState: GetKeyState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1279,8 +1279,8 @@ impl IAppPublisher_Vtbl { EnumApps: EnumApps::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1342,8 +1342,8 @@ impl IAppVisibility_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -1373,8 +1373,8 @@ impl IAppVisibilityEvents_Vtbl { LauncherVisibilityChange: LauncherVisibilityChange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1426,8 +1426,8 @@ impl IApplicationActivationManager_Vtbl { ActivateForProtocol: ActivateForProtocol::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1503,8 +1503,8 @@ impl IApplicationAssociationRegistration_Vtbl { ClearUserAssociations: ClearUserAssociations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1524,8 +1524,8 @@ impl IApplicationAssociationRegistrationUI_Vtbl { LaunchAdvancedAssociationUI: LaunchAdvancedAssociationUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -1595,8 +1595,8 @@ impl IApplicationDesignModeSettings_Vtbl { TriggerEdgeGesture: TriggerEdgeGesture::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -1667,8 +1667,8 @@ impl IApplicationDesignModeSettings2_Vtbl { GetApplicationViewOrientation: GetApplicationViewOrientation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1702,8 +1702,8 @@ impl IApplicationDestinations_Vtbl { RemoveAllDestinations: RemoveAllDestinations::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1730,8 +1730,8 @@ impl IApplicationDocumentLists_Vtbl { GetList: GetList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1814,8 +1814,8 @@ impl IAssocHandler_Vtbl { CreateInvoker: CreateInvoker::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -1842,8 +1842,8 @@ impl IAssocHandlerInvoker_Vtbl { Invoke: Invoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1949,8 +1949,8 @@ impl IAttachmentExecute_Vtbl { ClearClientState: ClearClientState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1976,8 +1976,8 @@ impl IAutoComplete_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Enable: Enable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2013,8 +2013,8 @@ impl IAutoComplete2_Vtbl { GetOptions: GetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2041,8 +2041,8 @@ impl IAutoCompleteDropDown_Vtbl { ResetEnumerator: ResetEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2079,8 +2079,8 @@ impl IBandHost_Vtbl { DestroyBand: DestroyBand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2158,8 +2158,8 @@ impl IBandSite_Vtbl { GetBandSiteInfo: GetBandSiteInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2176,8 +2176,8 @@ impl IBannerNotificationHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnBannerEvent: OnBannerEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -2233,8 +2233,8 @@ impl IBanneredBar_Vtbl { GetBitmap: GetBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -2257,8 +2257,8 @@ impl IBrowserFrameOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFrameOptions: GetFrameOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -2562,8 +2562,8 @@ impl IBrowserService_Vtbl { RegisterWindow: RegisterWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3037,8 +3037,8 @@ impl IBrowserService2_Vtbl { v_CheckZoneCrossing: v_CheckZoneCrossing::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3074,8 +3074,8 @@ impl IBrowserService3_Vtbl { IEParseDisplayNameEx: IEParseDisplayNameEx::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl IBrowserService4_Vtbl { _ResizeAllBorders: _ResizeAllBorders::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3156,8 +3156,8 @@ impl ICDBurn_Vtbl { HasRecordableDrive: HasRecordableDrive::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3180,8 +3180,8 @@ impl ICDBurnExt_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSupportedActionTypes: GetSupportedActionTypes:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3225,8 +3225,8 @@ impl ICategorizer_Vtbl { CompareCategory: CompareCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3296,8 +3296,8 @@ impl ICategoryProvider_Vtbl { CreateCategory: CreateCategory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3354,8 +3354,8 @@ impl IColumnManager_Vtbl { SetColumns: SetColumns::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -3398,8 +3398,8 @@ impl IColumnProvider_Vtbl { GetItemData: GetItemData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3436,8 +3436,8 @@ impl ICommDlgBrowser_Vtbl { IncludeObject: IncludeObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3480,8 +3480,8 @@ impl ICommDlgBrowser2_Vtbl { GetViewFlags: GetViewFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -3518,8 +3518,8 @@ impl ICommDlgBrowser3_Vtbl { OnPreViewCreated: OnPreViewCreated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl IComputerInfoChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ComputerInfoChanged: ComputerInfoChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -3567,8 +3567,8 @@ impl IConnectableCredentialProviderCredential_Vtbl { Disconnect: Disconnect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3588,8 +3588,8 @@ impl IContactManagerInterop_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ShowContactCardForWindow: ShowContactCardForWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3626,8 +3626,8 @@ impl IContextMenu_Vtbl { GetCommandString: GetCommandString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3647,8 +3647,8 @@ impl IContextMenu2_Vtbl { } Self { base__: IContextMenu_Vtbl::new::(), HandleMenuMsg: HandleMenuMsg:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -3668,8 +3668,8 @@ impl IContextMenu3_Vtbl { } Self { base__: IContextMenu2_Vtbl::new::(), HandleMenuMsg2: HandleMenuMsg2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3689,8 +3689,8 @@ impl IContextMenuCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallBack: CallBack:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3710,8 +3710,8 @@ impl IContextMenuSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoContextMenuPopup: DoContextMenuPopup:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3731,8 +3731,8 @@ impl ICopyHookA_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3752,8 +3752,8 @@ impl ICopyHookW_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3821,8 +3821,8 @@ impl ICreateProcessInputs_Vtbl { SetEnvironmentVariable: SetEnvironmentVariable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -3839,8 +3839,8 @@ impl ICreatingProcess_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCreating: OnCreating:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3930,8 +3930,8 @@ impl ICredentialProvider_Vtbl { GetCredentialAt: GetCredentialAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4096,8 +4096,8 @@ impl ICredentialProviderCredential_Vtbl { ReportResult: ReportResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4123,8 +4123,8 @@ impl ICredentialProviderCredential2_Vtbl { } Self { base__: ICredentialProviderCredential_Vtbl::new::(), GetUserSid: GetUserSid:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4216,8 +4216,8 @@ impl ICredentialProviderCredentialEvents_Vtbl { OnCreatingWindow: OnCreatingWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -4254,8 +4254,8 @@ impl ICredentialProviderCredentialEvents2_Vtbl { SetFieldOptions: SetFieldOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4278,8 +4278,8 @@ impl ICredentialProviderCredentialWithFieldOptions_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFieldOptions: GetFieldOptions:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4296,8 +4296,8 @@ impl ICredentialProviderEvents_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CredentialsChanged: CredentialsChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4327,8 +4327,8 @@ impl ICredentialProviderFilter_Vtbl { UpdateRemoteCredential: UpdateRemoteCredential::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4345,8 +4345,8 @@ impl ICredentialProviderSetUserArray_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetUserArray: SetUserArray:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -4414,8 +4414,8 @@ impl ICredentialProviderUser_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4474,8 +4474,8 @@ impl ICredentialProviderUserArray_Vtbl { GetAt: GetAt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4488,8 +4488,8 @@ impl ICurrentItem_Vtbl { pub const fn new, Impl: ICurrentItem_Impl, const OFFSET: isize>() -> ICurrentItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4516,8 +4516,8 @@ impl ICurrentWorkingDirectory_Vtbl { SetDirectory: SetDirectory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4596,8 +4596,8 @@ impl ICustomDestinationList_Vtbl { AbortList: AbortList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4660,8 +4660,8 @@ impl IDataObjectAsyncCapability_Vtbl { EndOperation: EndOperation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4697,8 +4697,8 @@ impl IDataObjectProvider_Vtbl { SetDataObject: SetDataObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4728,8 +4728,8 @@ impl IDataTransferManagerInterop_Vtbl { ShowShareUIForWindow: ShowShareUIForWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -4787,8 +4787,8 @@ impl IDefaultExtractIconInit_Vtbl { SetDefaultIcon: SetDefaultIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4838,8 +4838,8 @@ impl IDefaultFolderMenuInitialize_Vtbl { SetHandlerClsid: SetHandlerClsid::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4859,8 +4859,8 @@ impl IDelegateFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetItemAlloc: SetItemAlloc:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -4873,8 +4873,8 @@ impl IDelegateItem_Vtbl { pub const fn new, Impl: IDelegateItem_Impl, const OFFSET: isize>() -> IDelegateItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4894,8 +4894,8 @@ impl IDeskBand_Vtbl { } Self { base__: IDockingWindow_Vtbl::new::(), GetBandInfo: GetBandInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -4944,8 +4944,8 @@ impl IDeskBand2_Vtbl { GetCompositionState: GetCompositionState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -4968,8 +4968,8 @@ impl IDeskBandInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDefaultBandWidth: GetDefaultBandWidth:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5012,8 +5012,8 @@ impl IDeskBar_Vtbl { OnPosRectChangeDB: OnPosRectChangeDB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5063,8 +5063,8 @@ impl IDeskBarClient_Vtbl { GetSize: GetSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5081,8 +5081,8 @@ impl IDesktopGadget_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RunGadget: RunGadget:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5258,8 +5258,8 @@ impl IDesktopWallpaper_Vtbl { Enable: Enable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5285,8 +5285,8 @@ impl IDestinationStreamFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDestinationStream: GetDestinationStream:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5299,8 +5299,8 @@ impl IDisplayItem_Vtbl { pub const fn new, Impl: IDisplayItem_Impl, const OFFSET: isize>() -> IDisplayItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5320,8 +5320,8 @@ impl IDocViewSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnSetTitle: OnSetTitle:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5358,8 +5358,8 @@ impl IDockingWindow_Vtbl { ResizeBorderDW: ResizeBorderDW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5396,8 +5396,8 @@ impl IDockingWindowFrame_Vtbl { FindToolbar: FindToolbar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5440,8 +5440,8 @@ impl IDockingWindowSite_Vtbl { SetBorderSpaceDW: SetBorderSpaceDW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5471,8 +5471,8 @@ impl IDragSourceHelper_Vtbl { InitializeFromWindow: InitializeFromWindow::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5492,8 +5492,8 @@ impl IDragSourceHelper2_Vtbl { } Self { base__: IDragSourceHelper_Vtbl::new::(), SetFlags: SetFlags:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -5544,8 +5544,8 @@ impl IDropTargetHelper_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5568,8 +5568,8 @@ impl IDynamicHWHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDynamicInfo: GetDynamicInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5612,8 +5612,8 @@ impl IEnumACString_Vtbl { GetEnumOptions: GetEnumOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5630,8 +5630,8 @@ impl IEnumAssocHandlers_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5678,8 +5678,8 @@ impl IEnumExplorerCommand_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5726,8 +5726,8 @@ impl IEnumExtraSearch_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5777,8 +5777,8 @@ impl IEnumFullIDList_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5825,8 +5825,8 @@ impl IEnumHLITEM_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -5870,8 +5870,8 @@ impl IEnumIDList_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5918,8 +5918,8 @@ impl IEnumObjects_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5948,8 +5948,8 @@ impl IEnumPublishedApps_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Next: Next::, Reset: Reset:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -5966,8 +5966,8 @@ impl IEnumReadyCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumReady: EnumReady:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6014,8 +6014,8 @@ impl IEnumResources_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6062,8 +6062,8 @@ impl IEnumShellItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6110,8 +6110,8 @@ impl IEnumSyncMgrConflict_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6158,8 +6158,8 @@ impl IEnumSyncMgrEvents_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6206,8 +6206,8 @@ impl IEnumSyncMgrSyncItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6254,8 +6254,8 @@ impl IEnumTravelLogEntry_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -6291,8 +6291,8 @@ impl IEnumerableView_Vtbl { CreateEnumIDListFromContents: CreateEnumIDListFromContents::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6357,8 +6357,8 @@ impl IExecuteCommand_Vtbl { Execute: Execute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6381,8 +6381,8 @@ impl IExecuteCommandApplicationHostEnvironment_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetValue: GetValue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6405,8 +6405,8 @@ impl IExecuteCommandHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUIMode: GetUIMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6449,8 +6449,8 @@ impl IExpDispSupport_Vtbl { OnInvoke: OnInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6493,8 +6493,8 @@ impl IExpDispSupportXP_Vtbl { OnInvoke: OnInvoke::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6627,8 +6627,8 @@ impl IExplorerBrowser_Vtbl { GetCurrentView: GetCurrentView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -6672,8 +6672,8 @@ impl IExplorerBrowserEvents_Vtbl { OnNavigationFailed: OnNavigationFailed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6787,8 +6787,8 @@ impl IExplorerCommand_Vtbl { EnumSubCommands: EnumSubCommands::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6815,8 +6815,8 @@ impl IExplorerCommandProvider_Vtbl { GetCommand: GetCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6842,8 +6842,8 @@ impl IExplorerCommandState_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetState: GetState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -6866,8 +6866,8 @@ impl IExplorerPaneVisibility_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetPaneState: GetPaneState:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6897,8 +6897,8 @@ impl IExtensionServices_Vtbl { SetAuthenticateData: SetAuthenticateData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6928,8 +6928,8 @@ impl IExtractIconA_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6959,8 +6959,8 @@ impl IExtractIconW_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -6996,8 +6996,8 @@ impl IExtractImage_Vtbl { Extract: Extract::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -7023,8 +7023,8 @@ impl IExtractImage2_Vtbl { } Self { base__: IExtractImage_Vtbl::new::(), GetDateStamp: GetDateStamp:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7243,8 +7243,8 @@ impl IFileDialog_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7274,8 +7274,8 @@ impl IFileDialog2_Vtbl { SetNavigationRoot: SetNavigationRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7319,8 +7319,8 @@ impl IFileDialogControlEvents_Vtbl { OnControlActivating: OnControlActivating::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7555,8 +7555,8 @@ impl IFileDialogCustomize_Vtbl { SetControlItemText: SetControlItemText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -7630,8 +7630,8 @@ impl IFileDialogEvents_Vtbl { OnOverwrite: OnOverwrite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7706,8 +7706,8 @@ impl IFileIsInUse_Vtbl { CloseFile: CloseFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -7749,8 +7749,8 @@ impl IFileOpenDialog_Vtbl { GetSelectedItems: GetSelectedItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7918,8 +7918,8 @@ impl IFileOperation_Vtbl { GetAnyOperationsAborted: GetAnyOperationsAborted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -7939,8 +7939,8 @@ impl IFileOperation2_Vtbl { } Self { base__: IFileOperation_Vtbl::new::(), SetOperationFlags2: SetOperationFlags2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8065,8 +8065,8 @@ impl IFileOperationProgressSink_Vtbl { ResumeTimer: ResumeTimer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8123,8 +8123,8 @@ impl IFileSaveDialog_Vtbl { ApplyProperties: ApplyProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8193,8 +8193,8 @@ impl IFileSearchBand_Vtbl { QueryFile: QueryFile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -8230,8 +8230,8 @@ impl IFileSyncMergeHandler_Vtbl { ShowResolveConflictUIAsync: ShowResolveConflictUIAsync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -8261,8 +8261,8 @@ impl IFileSystemBindData_Vtbl { GetFindData: GetFindData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"implement\"`*"] @@ -8318,8 +8318,8 @@ impl IFileSystemBindData2_Vtbl { GetJunctionCLSID: GetJunctionCLSID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8363,8 +8363,8 @@ impl IFolderBandPriv_Vtbl { SetNoText: SetNoText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -8394,8 +8394,8 @@ impl IFolderFilter_Vtbl { GetEnumFlags: GetEnumFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8412,8 +8412,8 @@ impl IFolderFilterSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetFilter: SetFilter:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -8569,8 +8569,8 @@ impl IFolderView_Vtbl { SelectAndPositionItems: SelectAndPositionItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8809,8 +8809,8 @@ impl IFolderView2_Vtbl { DoRename: DoRename::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -8830,8 +8830,8 @@ impl IFolderViewHost_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8851,8 +8851,8 @@ impl IFolderViewOC_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), SetFolderView: SetFolderView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -8885,8 +8885,8 @@ impl IFolderViewOptions_Vtbl { GetFolderViewOptions: GetFolderViewOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -8969,8 +8969,8 @@ impl IFolderViewSettings_Vtbl { GetGroupSubsetCount: GetGroupSubsetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9032,8 +9032,8 @@ impl IFrameworkInputPane_Vtbl { Location: Location::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9063,8 +9063,8 @@ impl IFrameworkInputPaneHandler_Vtbl { Hiding: Hiding::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9081,8 +9081,8 @@ impl IGetServiceIds_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetServiceIds: GetServiceIds:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9119,8 +9119,8 @@ impl IHWEventHandler_Vtbl { HandleEventWithContent: HandleEventWithContent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9140,8 +9140,8 @@ impl IHWEventHandler2_Vtbl { } Self { base__: IHWEventHandler_Vtbl::new::(), HandleEventWithHWND: HandleEventWithHWND:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9168,8 +9168,8 @@ impl IHandlerActivationHost_Vtbl { BeforeCreateProcess: BeforeCreateProcess::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9221,8 +9221,8 @@ impl IHandlerInfo_Vtbl { GetApplicationIconReference: GetApplicationIconReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9245,8 +9245,8 @@ impl IHandlerInfo2_Vtbl { } Self { base__: IHandlerInfo_Vtbl::new::(), GetApplicationId: GetApplicationId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9384,8 +9384,8 @@ impl IHlink_Vtbl { GetAdditionalParams: GetAdditionalParams::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9535,8 +9535,8 @@ impl IHlinkBrowseContext_Vtbl { Close: Close::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9593,8 +9593,8 @@ impl IHlinkFrame_Vtbl { UpdateHlink: UpdateHlink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9650,8 +9650,8 @@ impl IHlinkSite_Vtbl { OnNavigationComplete: OnNavigationComplete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9720,8 +9720,8 @@ impl IHlinkTarget_Vtbl { GetFriendlyName: GetFriendlyName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9763,8 +9763,8 @@ impl IHomeGroup_Vtbl { ShowSharingWizard: ShowSharingWizard::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9791,8 +9791,8 @@ impl IIOCancelInformation_Vtbl { GetCancelInformation: GetCancelInformation::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -9805,8 +9805,8 @@ impl IIdentityName_Vtbl { pub const fn new, Impl: IIdentityName_Impl, const OFFSET: isize>() -> IIdentityName_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -9832,8 +9832,8 @@ impl IImageRecompress_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RecompressImage: RecompressImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -9853,8 +9853,8 @@ impl IInitializeCommand_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -9874,8 +9874,8 @@ impl IInitializeNetworkFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9892,8 +9892,8 @@ impl IInitializeObject_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -9913,8 +9913,8 @@ impl IInitializeWithBindCtx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -9931,8 +9931,8 @@ impl IInitializeWithItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -9952,8 +9952,8 @@ impl IInitializeWithPropertyStore_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -9973,8 +9973,8 @@ impl IInitializeWithWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10011,8 +10011,8 @@ impl IInputObject_Vtbl { TranslateAcceleratorIO: TranslateAcceleratorIO::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10032,8 +10032,8 @@ impl IInputObject2_Vtbl { } Self { base__: IInputObject_Vtbl::new::(), TranslateAcceleratorGlobal: TranslateAcceleratorGlobal:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10053,8 +10053,8 @@ impl IInputObjectSite_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnFocusChangeIS: OnFocusChangeIS:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_DirectComposition\"`, `\"implement\"`*"] @@ -10074,8 +10074,8 @@ impl IInputPaneAnimationCoordinator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddAnimation: AddAnimation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10092,8 +10092,8 @@ impl IInputPanelConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnableFocusTracking: EnableFocusTracking:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10110,8 +10110,8 @@ impl IInputPanelInvocationConfiguration_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RequireTouchInEditControl: RequireTouchInEditControl:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10131,8 +10131,8 @@ impl IInsertItem_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), InsertItem: InsertItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10165,8 +10165,8 @@ impl IItemNameLimits_Vtbl { GetMaxLength: GetMaxLength::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10281,8 +10281,8 @@ impl IKnownFolder_Vtbl { GetFolderDefinition: GetFolderDefinition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -10404,8 +10404,8 @@ impl IKnownFolderManager_Vtbl { Redirect: Redirect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10428,8 +10428,8 @@ impl ILaunchSourceAppUserModelId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetAppUserModelId: GetAppUserModelId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10471,8 +10471,8 @@ impl ILaunchSourceViewSizePreference_Vtbl { GetSourceViewSizePreference: GetSourceViewSizePreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -10498,8 +10498,8 @@ impl ILaunchTargetMonitor_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetMonitor: GetMonitor:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10525,8 +10525,8 @@ impl ILaunchTargetViewSizePreference_Vtbl { GetTargetViewSizePreference: GetTargetViewSizePreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10556,8 +10556,8 @@ impl ILaunchUIContext_Vtbl { SetTabGroupingPreference: SetTabGroupingPreference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -10574,8 +10574,8 @@ impl ILaunchUIContextProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateContext: UpdateContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -10605,8 +10605,8 @@ impl IMenuBand_Vtbl { TranslateMenuMessage: TranslateMenuMessage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -10643,8 +10643,8 @@ impl IMenuPopup_Vtbl { SetSubMenu: SetSubMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10664,8 +10664,8 @@ impl IModalWindow_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -10714,8 +10714,8 @@ impl INameSpaceTreeAccessible_Vtbl { OnGetAccessibilityRole: OnGetAccessibilityRole::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10912,8 +10912,8 @@ impl INameSpaceTreeControl_Vtbl { CollapseAll: CollapseAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -10969,8 +10969,8 @@ impl INameSpaceTreeControl2_Vtbl { GetControlStyle2: GetControlStyle2::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -11020,8 +11020,8 @@ impl INameSpaceTreeControlCustomDraw_Vtbl { ItemPostPaint: ItemPostPaint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11079,8 +11079,8 @@ impl INameSpaceTreeControlDropHandler_Vtbl { OnDragLeave: OnDragLeave::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11222,8 +11222,8 @@ impl INameSpaceTreeControlEvents_Vtbl { OnGetDefaultIconIndex: OnGetDefaultIconIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11246,8 +11246,8 @@ impl INameSpaceTreeControlFolderCapabilities_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetFolderCapabilities: GetFolderCapabilities:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11284,8 +11284,8 @@ impl INamedPropertyBag_Vtbl { RemovePropertyNPB: RemovePropertyNPB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11315,8 +11315,8 @@ impl INamespaceWalk_Vtbl { GetIDArrayResult: GetIDArrayResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11360,8 +11360,8 @@ impl INamespaceWalkCB_Vtbl { InitializeProgressDialog: InitializeProgressDialog::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11381,8 +11381,8 @@ impl INamespaceWalkCB2_Vtbl { } Self { base__: INamespaceWalkCB_Vtbl::new::(), WalkComplete: WalkComplete:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11431,8 +11431,8 @@ impl INetworkFolderInternal_Vtbl { GetProvider: GetProvider::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -11468,8 +11468,8 @@ impl INewMenuClient_Vtbl { SelectAndEditItem: SelectAndEditItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11527,8 +11527,8 @@ impl INewShortcutHookA_Vtbl { GetExtension: GetExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11586,8 +11586,8 @@ impl INewShortcutHookW_Vtbl { GetExtension: GetExtension::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -11613,8 +11613,8 @@ impl INewWDEvents_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), PassportAuthenticate: PassportAuthenticate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11634,8 +11634,8 @@ impl INewWindowManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EvaluateNewWindow: EvaluateNewWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -11655,8 +11655,8 @@ impl INotifyReplica_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), YouAreAReplica: YouAreAReplica:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11683,8 +11683,8 @@ impl IObjMgr_Vtbl { Remove: Remove::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11701,8 +11701,8 @@ impl IObjectProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryObject: QueryObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11735,8 +11735,8 @@ impl IObjectWithAppUserModelID_Vtbl { GetAppID: GetAppID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11753,8 +11753,8 @@ impl IObjectWithBackReferences_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveBackReferences: RemoveBackReferences:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11780,8 +11780,8 @@ impl IObjectWithCancelEvent_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCancelEvent: GetCancelEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11814,8 +11814,8 @@ impl IObjectWithFolderEnumMode_Vtbl { GetMode: GetMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11848,8 +11848,8 @@ impl IObjectWithProgID_Vtbl { GetProgID: GetProgID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11876,8 +11876,8 @@ impl IObjectWithSelection_Vtbl { GetSelection: GetSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -11917,8 +11917,8 @@ impl IOpenControlPanel_Vtbl { GetCurrentView: GetCurrentView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -11938,8 +11938,8 @@ impl IOpenSearchSource_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetResults: GetResults:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12038,8 +12038,8 @@ impl IOperationsProgressDialog_Vtbl { GetOperationStatus: GetOperationStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12169,8 +12169,8 @@ impl IPackageDebugSettings_Vtbl { UnregisterForPackageStateChanges: UnregisterForPackageStateChanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12187,8 +12187,8 @@ impl IPackageDebugSettings2_Vtbl { } Self { base__: IPackageDebugSettings_Vtbl::new::(), EnumerateApps: EnumerateApps:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12205,8 +12205,8 @@ impl IPackageExecutionStateChangeNotification_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStateChanged: OnStateChanged:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12236,8 +12236,8 @@ impl IParentAndItem_Vtbl { GetParentAndItem: GetParentAndItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12264,8 +12264,8 @@ impl IParseAndCreateItem_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12285,8 +12285,8 @@ impl IPersistFolder_Vtbl { } Self { base__: super::super::System::Com::IPersist_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12312,8 +12312,8 @@ impl IPersistFolder2_Vtbl { } Self { base__: IPersistFolder_Vtbl::new::(), GetCurFolder: GetCurFolder:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12343,8 +12343,8 @@ impl IPersistFolder3_Vtbl { GetFolderTargetInfo: GetFolderTargetInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12380,8 +12380,8 @@ impl IPersistIDList_Vtbl { GetIDList: GetIDList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -12452,8 +12452,8 @@ impl IPreviewHandler_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -12489,8 +12489,8 @@ impl IPreviewHandlerFrame_Vtbl { TranslateAccelerator: TranslateAccelerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -12527,8 +12527,8 @@ impl IPreviewHandlerVisuals_Vtbl { SetTextColor: SetTextColor::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -12541,8 +12541,8 @@ impl IPreviewItem_Vtbl { pub const fn new, Impl: IPreviewItem_Impl, const OFFSET: isize>() -> IPreviewItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12568,8 +12568,8 @@ impl IPreviousVersionsInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AreSnapshotsAvailable: AreSnapshotsAvailable:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -12605,8 +12605,8 @@ impl IProfferService_Vtbl { RevokeService: RevokeService::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12692,8 +12692,8 @@ impl IProgressDialog_Vtbl { Timer: Timer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -12757,8 +12757,8 @@ impl IPropertyKeyStore_Vtbl { RemoveKey: RemoveKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12795,8 +12795,8 @@ impl IPublishedApp_Vtbl { Unschedule: Unschedule::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -12816,8 +12816,8 @@ impl IPublishedApp2_Vtbl { } Self { base__: IPublishedApp_Vtbl::new::(), Install2: Install2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Data_Xml_MsXml\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -12847,8 +12847,8 @@ impl IPublishingWizard_Vtbl { GetTransferManifest: GetTransferManifest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"implement\"`*"] @@ -12905,8 +12905,8 @@ impl IQueryAssociations_Vtbl { GetEnum: GetEnum::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12923,8 +12923,8 @@ impl IQueryCancelAutoPlay_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AllowAutoPlay: AllowAutoPlay:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12957,8 +12957,8 @@ impl IQueryCodePage_Vtbl { SetCodePage: SetCodePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12975,8 +12975,8 @@ impl IQueryContinue_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryContinue: QueryContinue:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -12993,8 +12993,8 @@ impl IQueryContinueWithStatus_Vtbl { } Self { base__: IQueryContinue_Vtbl::new::(), SetStatusMessage: SetStatusMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13033,8 +13033,8 @@ impl IQueryInfo_Vtbl { GetInfoFlags: GetInfoFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13070,8 +13070,8 @@ impl IRegTreeItem_Vtbl { SetCheckState: SetCheckState::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13113,8 +13113,8 @@ impl IRelatedItem_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13134,8 +13134,8 @@ impl IRemoteComputer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13155,8 +13155,8 @@ impl IResolveShellLink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ResolveShellLink: ResolveShellLink:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13207,8 +13207,8 @@ impl IResultsFolder_Vtbl { RemoveAll: RemoveAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13259,8 +13259,8 @@ impl IRunnableTask_Vtbl { IsRunning: IsRunning::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -13434,8 +13434,8 @@ impl IScriptErrorList_Vtbl { setPerErrorDisplay: setPerErrorDisplay::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13468,8 +13468,8 @@ impl ISearchBoxInfo_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13521,8 +13521,8 @@ impl ISearchContext_Vtbl { GetSearchStyle: GetSearchStyle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Search\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -13628,8 +13628,8 @@ impl ISearchFolderItemFactory_Vtbl { GetIDList: GetIDList::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -13704,8 +13704,8 @@ impl ISharedBitmap_Vtbl { Detach: Detach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -13773,8 +13773,8 @@ impl ISharingConfigurationManager_Vtbl { ArePrintersShared: ArePrintersShared::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -13831,8 +13831,8 @@ impl IShellApp_Vtbl { IsInstalled: IsInstalled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -13957,8 +13957,8 @@ impl IShellBrowser_Vtbl { SetToolbarItems: SetToolbarItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -13978,8 +13978,8 @@ impl IShellChangeNotify_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14009,8 +14009,8 @@ impl IShellDetails_Vtbl { ColumnClick: ColumnClick::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14217,8 +14217,8 @@ impl IShellDispatch_Vtbl { ControlPanelItem: ControlPanelItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14339,8 +14339,8 @@ impl IShellDispatch2_Vtbl { ShowBrowserBar: ShowBrowserBar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14360,8 +14360,8 @@ impl IShellDispatch3_Vtbl { } Self { base__: IShellDispatch2_Vtbl::new::(), AddToRecent: AddToRecent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14417,8 +14417,8 @@ impl IShellDispatch4_Vtbl { GetSetting: GetSetting::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14438,8 +14438,8 @@ impl IShellDispatch5_Vtbl { } Self { base__: IShellDispatch4_Vtbl::new::(), WindowSwitcher: WindowSwitcher:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14459,8 +14459,8 @@ impl IShellDispatch6_Vtbl { } Self { base__: IShellDispatch5_Vtbl::new::(), SearchCommand: SearchCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14480,8 +14480,8 @@ impl IShellExtInit_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Initialize: Initialize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -14606,8 +14606,8 @@ impl IShellFavoritesNameSpace_Vtbl { SetRoot: SetRoot::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14693,8 +14693,8 @@ impl IShellFolder_Vtbl { SetNameOf: SetNameOf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -14783,8 +14783,8 @@ impl IShellFolder2_Vtbl { MapColumnToSCID: MapColumnToSCID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -14821,8 +14821,8 @@ impl IShellFolderBand_Vtbl { GetBandInfoSFB: GetBandInfoSFB::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15100,8 +15100,8 @@ impl IShellFolderView_Vtbl { SetAutomationObject: SetAutomationObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15121,8 +15121,8 @@ impl IShellFolderViewCB_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageSFVCB: MessageSFVCB:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15249,8 +15249,8 @@ impl IShellFolderViewDual_Vtbl { ViewOptions: ViewOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15293,8 +15293,8 @@ impl IShellFolderViewDual2_Vtbl { SelectItemRelative: SelectItemRelative::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -15397,8 +15397,8 @@ impl IShellFolderViewDual3_Vtbl { FilterView: FilterView::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15424,8 +15424,8 @@ impl IShellIcon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetIconOf: GetIconOf:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -15455,8 +15455,8 @@ impl IShellIconOverlay_Vtbl { GetOverlayIconIndex: GetOverlayIconIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -15496,8 +15496,8 @@ impl IShellIconOverlayIdentifier_Vtbl { GetPriority: GetPriority::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -15548,8 +15548,8 @@ impl IShellIconOverlayManager_Vtbl { OverlayIndexFromImageIndex: OverlayIndexFromImageIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -15787,8 +15787,8 @@ impl IShellImageData_Vtbl { ReplaceFrame: ReplaceFrame::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -15805,8 +15805,8 @@ impl IShellImageDataAbort_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryAbort: QueryAbort:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -15874,8 +15874,8 @@ impl IShellImageDataFactory_Vtbl { GetDataFormatFromPath: GetDataFormatFromPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"implement\"`*"] @@ -15950,8 +15950,8 @@ impl IShellItem_Vtbl { Compare: Compare::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_SystemServices\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -16106,8 +16106,8 @@ impl IShellItem2_Vtbl { GetBool: GetBool::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_System_SystemServices\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -16196,8 +16196,8 @@ impl IShellItemArray_Vtbl { EnumItems: EnumItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16230,8 +16230,8 @@ impl IShellItemFilter_Vtbl { GetEnumFlagsForItem: GetEnumFlagsForItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -16257,8 +16257,8 @@ impl IShellItemImageFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetImage: GetImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -16368,8 +16368,8 @@ impl IShellItemResources_Vtbl { MarkForDelete: MarkForDelete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16531,8 +16531,8 @@ impl IShellLibrary_Vtbl { SaveInKnownFolder: SaveInKnownFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -16692,8 +16692,8 @@ impl IShellLinkA_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -16747,8 +16747,8 @@ impl IShellLinkDataList_Vtbl { SetFlags: SetFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16912,8 +16912,8 @@ impl IShellLinkDual_Vtbl { Save: Save::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -16939,8 +16939,8 @@ impl IShellLinkDual2_Vtbl { } Self { base__: IShellLinkDual_Vtbl::new::(), Target: Target:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Storage_FileSystem\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17100,8 +17100,8 @@ impl IShellLinkW_Vtbl { SetPath: SetPath::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17180,8 +17180,8 @@ impl IShellMenu_Vtbl { SetMenuToolbar: SetMenuToolbar::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -17201,8 +17201,8 @@ impl IShellMenuCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CallbackSM: CallbackSM:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17425,8 +17425,8 @@ impl IShellNameSpace_Vtbl { UnselectAll: UnselectAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -17456,8 +17456,8 @@ impl IShellPropSheetExt_Vtbl { ReplacePage: ReplacePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -17474,8 +17474,8 @@ impl IShellRunDll_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -17492,8 +17492,8 @@ impl IShellService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetOwner: SetOwner:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -17537,8 +17537,8 @@ impl IShellTaskScheduler_Vtbl { Status: Status::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17657,8 +17657,8 @@ impl IShellUIHelper_Vtbl { ShowBrowserUI: ShowBrowserUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17834,8 +17834,8 @@ impl IShellUIHelper2_Vtbl { SearchGuideUrl: SearchGuideUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -17960,8 +17960,8 @@ impl IShellUIHelper3_Vtbl { ShowInPrivateHelp: ShowInPrivateHelp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18139,8 +18139,8 @@ impl IShellUIHelper4_Vtbl { msActiveXFilteringEnabled: msActiveXFilteringEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18211,8 +18211,8 @@ impl IShellUIHelper5_Vtbl { msChangeDefaultBrowser: msChangeDefaultBrowser::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18332,8 +18332,8 @@ impl IShellUIHelper6_Vtbl { msLaunchInternetOptions: msLaunchInternetOptions::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18436,8 +18436,8 @@ impl IShellUIHelper7_Vtbl { LaunchIE: LaunchIE::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18526,8 +18526,8 @@ impl IShellUIHelper8_Vtbl { LaunchInHVSI: LaunchInHVSI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18553,8 +18553,8 @@ impl IShellUIHelper9_Vtbl { } Self { base__: IShellUIHelper8_Vtbl::new::(), GetOSSku: GetOSSku:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18659,8 +18659,8 @@ impl IShellView_Vtbl { GetItemObject: GetItemObject::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18704,8 +18704,8 @@ impl IShellView2_Vtbl { SelectAndPositionItem: SelectAndPositionItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -18731,8 +18731,8 @@ impl IShellView3_Vtbl { } Self { base__: IShellView2_Vtbl::new::(), CreateViewWindow3: CreateViewWindow3:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -18855,8 +18855,8 @@ impl IShellWindows_Vtbl { ProcessAttachDetach: ProcessAttachDetach::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -18905,8 +18905,8 @@ impl ISortColumnArray_Vtbl { GetSortType: GetSortType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -18923,8 +18923,8 @@ impl IStartMenuPinnedList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), RemoveFromList: RemoveFromList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -18971,8 +18971,8 @@ impl IStorageProviderBanners_Vtbl { GetBanner: GetBanner::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -18998,8 +18998,8 @@ impl IStorageProviderCopyHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CopyCallback: CopyCallback:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19051,8 +19051,8 @@ impl IStorageProviderHandler_Vtbl { GetPropertyHandlerFromFileId: GetPropertyHandlerFromFileId::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -19088,8 +19088,8 @@ impl IStorageProviderPropertyHandler_Vtbl { SaveProperties: SaveProperties::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_IO\"`, `\"implement\"`*"] @@ -19133,8 +19133,8 @@ impl IStreamAsync_Vtbl { CancelIo: CancelIo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19157,8 +19157,8 @@ impl IStreamUnbufferedInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetSectorSize: GetSectorSize:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19195,8 +19195,8 @@ impl ISuspensionDependencyManager_Vtbl { UngroupChildFromParent: UngroupChildFromParent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"Win32_System_Variant\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -19265,8 +19265,8 @@ impl ISyncMgrConflict_Vtbl { GetResolutionHandler: GetResolutionHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -19292,8 +19292,8 @@ impl ISyncMgrConflictFolder_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetConflictIDList: GetConflictIDList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19326,8 +19326,8 @@ impl ISyncMgrConflictItems_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19344,8 +19344,8 @@ impl ISyncMgrConflictPresenter_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PresentConflict: PresentConflict:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19384,8 +19384,8 @@ impl ISyncMgrConflictResolutionItems_Vtbl { GetItem: GetItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19475,8 +19475,8 @@ impl ISyncMgrConflictResolveInfo_Vtbl { SetItemChoices: SetItemChoices::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -19532,8 +19532,8 @@ impl ISyncMgrConflictStore_Vtbl { GetCount: GetCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19654,8 +19654,8 @@ impl ISyncMgrControl_Vtbl { EnableItem: EnableItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -19705,8 +19705,8 @@ impl ISyncMgrEnumItems_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19865,8 +19865,8 @@ impl ISyncMgrEvent_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -19886,8 +19886,8 @@ impl ISyncMgrEventLinkUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), Init: Init:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -19946,8 +19946,8 @@ impl ISyncMgrEventStore_Vtbl { RemoveEvent: RemoveEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20043,8 +20043,8 @@ impl ISyncMgrHandler_Vtbl { Synchronize: Synchronize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20080,8 +20080,8 @@ impl ISyncMgrHandlerCollection_Vtbl { BindToHandler: BindToHandler::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20170,8 +20170,8 @@ impl ISyncMgrHandlerInfo_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20205,8 +20205,8 @@ impl ISyncMgrRegister_Vtbl { GetHandlerRegistrationInfo: GetHandlerRegistrationInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20284,8 +20284,8 @@ impl ISyncMgrResolutionHandler_Vtbl { KeepItems: KeepItems::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20305,8 +20305,8 @@ impl ISyncMgrScheduleWizardUIOperation_Vtbl { } Self { base__: ISyncMgrUIOperation_Vtbl::new::(), InitWizard: InitWizard:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20329,8 +20329,8 @@ impl ISyncMgrSessionCreator_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateSession: CreateSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -20422,8 +20422,8 @@ impl ISyncMgrSyncCallback_Vtbl { ReportManualSync: ReportManualSync::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20525,8 +20525,8 @@ impl ISyncMgrSyncItem_Vtbl { Delete: Delete::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20578,8 +20578,8 @@ impl ISyncMgrSyncItemContainer_Vtbl { GetSyncItemCount: GetSyncItemCount::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20648,8 +20648,8 @@ impl ISyncMgrSyncItemInfo_Vtbl { IsConnected: IsConnected::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20666,8 +20666,8 @@ impl ISyncMgrSyncResult_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Result: Result:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -20765,8 +20765,8 @@ impl ISyncMgrSynchronize_Vtbl { ShowError: ShowError::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20845,8 +20845,8 @@ impl ISyncMgrSynchronizeCallback_Vtbl { EstablishConnection: EstablishConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -20873,8 +20873,8 @@ impl ISyncMgrSynchronizeInvoke_Vtbl { UpdateAll: UpdateAll::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20894,8 +20894,8 @@ impl ISyncMgrUIOperation_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Run: Run:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20946,8 +20946,8 @@ impl ITaskbarList_Vtbl { SetActiveAlt: SetActiveAlt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -20967,8 +20967,8 @@ impl ITaskbarList2_Vtbl { } Self { base__: ITaskbarList_Vtbl::new::(), MarkFullscreenWindow: MarkFullscreenWindow:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21068,8 +21068,8 @@ impl ITaskbarList3_Vtbl { SetThumbnailClip: SetThumbnailClip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Controls\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21089,8 +21089,8 @@ impl ITaskbarList4_Vtbl { } Self { base__: ITaskbarList3_Vtbl::new::(), SetTabProperties: SetTabProperties:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21117,8 +21117,8 @@ impl IThumbnailCache_Vtbl { GetThumbnailByID: GetThumbnailByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21135,8 +21135,8 @@ impl IThumbnailCachePrimer_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), PageInThumbnail: PageInThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -21162,8 +21162,8 @@ impl IThumbnailCapture_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CaptureThumbnail: CaptureThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21183,8 +21183,8 @@ impl IThumbnailHandlerFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnailHandler: GetThumbnailHandler:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -21204,8 +21204,8 @@ impl IThumbnailProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetThumbnail: GetThumbnail:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21222,8 +21222,8 @@ impl IThumbnailSettings_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetContext: SetContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21253,8 +21253,8 @@ impl IThumbnailStreamCache_Vtbl { SetThumbnailStream: SetThumbnailStream::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Registry\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21284,8 +21284,8 @@ impl ITrackShellMenu_Vtbl { Popup: Popup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -21305,8 +21305,8 @@ impl ITranscodeImage_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), TranscodeImage: TranscodeImage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -21371,8 +21371,8 @@ impl ITransferAdviseSink_Vtbl { PropertyFailure: PropertyFailure::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21412,8 +21412,8 @@ impl ITransferDestination_Vtbl { CreateItem: CreateItem::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21426,8 +21426,8 @@ impl ITransferMediumItem_Vtbl { pub const fn new, Impl: ITransferMediumItem_Impl, const OFFSET: isize>() -> ITransferMediumItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_PropertiesSystem\"`, `\"implement\"`*"] @@ -21576,8 +21576,8 @@ impl ITransferSource_Vtbl { LeaveFolder: LeaveFolder::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21620,8 +21620,8 @@ impl ITravelEntry_Vtbl { GetPidl: GetPidl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_UI_Shell_Common\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -21726,8 +21726,8 @@ impl ITravelLog_Vtbl { Revert: Revert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -21770,8 +21770,8 @@ impl ITravelLogClient_Vtbl { LoadHistoryPosition: LoadHistoryPosition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21810,8 +21810,8 @@ impl ITravelLogEntry_Vtbl { GetURL: GetURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -21906,8 +21906,8 @@ impl ITravelLogStg_Vtbl { GetRelativeEntry: GetRelativeEntry::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21948,8 +21948,8 @@ impl ITrayDeskBand_Vtbl { DeskBandRegistrationChanged: DeskBandRegistrationChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21966,8 +21966,8 @@ impl IURLSearchHook_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Translate: Translate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -21984,8 +21984,8 @@ impl IURLSearchHook2_Vtbl { } Self { base__: IURLSearchHook_Vtbl::new::(), TranslateWithSearchContext: TranslateWithSearchContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22028,8 +22028,8 @@ impl IUniformResourceLocatorA_Vtbl { InvokeCommand: InvokeCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22072,8 +22072,8 @@ impl IUniformResourceLocatorW_Vtbl { InvokeCommand: InvokeCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_System_Com\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22099,8 +22099,8 @@ impl IUpdateIDList_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Update: Update:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22113,8 +22113,8 @@ impl IUseToBrowseItem_Vtbl { pub const fn new, Impl: IUseToBrowseItem_Impl, const OFFSET: isize>() -> IUseToBrowseItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"implement\"`*"] @@ -22131,8 +22131,8 @@ impl IUserAccountChangeCallback_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPictureChange: OnPictureChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -22183,8 +22183,8 @@ impl IUserNotification_Vtbl { PlaySound: PlaySound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -22235,8 +22235,8 @@ impl IUserNotification2_Vtbl { PlaySound: PlaySound::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22273,8 +22273,8 @@ impl IUserNotificationCallback_Vtbl { OnContextMenu: OnContextMenu::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Shell_Common\"`, `\"implement\"`*"] @@ -22287,8 +22287,8 @@ impl IViewStateIdentityItem_Vtbl { pub const fn new, Impl: IViewStateIdentityItem_Impl, const OFFSET: isize>() -> IViewStateIdentityItem_Vtbl { Self { base__: IRelatedItem_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -22337,8 +22337,8 @@ impl IVirtualDesktopManager_Vtbl { MoveWindowToDesktop: MoveWindowToDesktop::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -22422,8 +22422,8 @@ impl IVisualProperties_Vtbl { SetTheme: SetTheme::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22692,8 +22692,8 @@ impl IWebBrowser_Vtbl { Busy: Busy::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -22896,8 +22896,8 @@ impl IWebBrowser2_Vtbl { SetResizable: SetResizable::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23119,8 +23119,8 @@ impl IWebBrowserApp_Vtbl { SetFullScreen: SetFullScreen::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23150,8 +23150,8 @@ impl IWebWizardExtension_Vtbl { SetErrorURL: SetErrorURL::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23242,8 +23242,8 @@ impl IWebWizardHost_Vtbl { SetHeaderText: SetHeaderText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -23269,8 +23269,8 @@ impl IWebWizardHost2_Vtbl { } Self { base__: IWebWizardHost_Vtbl::new::(), SignString: SignString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23319,8 +23319,8 @@ impl IWizardExtension_Vtbl { GetLastPage: GetLastPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Shell\"`, `\"Win32_UI_Controls\"`, `\"implement\"`*"] @@ -23375,7 +23375,7 @@ impl IWizardSite_Vtbl { GetCancelledPage: GetCancelledPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs index eefaa78111..b0261b7271 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TabletPC/impl.rs @@ -152,8 +152,8 @@ impl IDynamicRenderer_Vtbl { Draw: Draw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -223,8 +223,8 @@ impl IGestureRecognizer_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -254,8 +254,8 @@ impl IHandwrittenTextInsertion_Vtbl { InsertInkRecognitionResult: InsertInkRecognitionResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -268,8 +268,8 @@ impl IInk_Vtbl { pub const fn new, Impl: IInk_Impl, const OFFSET: isize>() -> IInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -679,8 +679,8 @@ impl IInkCollector_Vtbl { SetEventInterest: SetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -781,8 +781,8 @@ impl IInkCursor_Vtbl { Buttons: Buttons::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -837,8 +837,8 @@ impl IInkCursorButton_Vtbl { State: State::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -893,8 +893,8 @@ impl IInkCursorButtons_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -949,8 +949,8 @@ impl IInkCursors_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1026,8 +1026,8 @@ impl IInkCustomStrokes_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1320,8 +1320,8 @@ impl IInkDisp_Vtbl { ClipboardPaste: ClipboardPaste::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1410,8 +1410,8 @@ impl IInkDivider_Vtbl { Divide: Divide::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1453,8 +1453,8 @@ impl IInkDivisionResult_Vtbl { ResultByType: ResultByType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1522,8 +1522,8 @@ impl IInkDivisionUnit_Vtbl { RotationTransform: RotationTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1578,8 +1578,8 @@ impl IInkDivisionUnits_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1801,8 +1801,8 @@ impl IInkDrawingAttributes_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2585,8 +2585,8 @@ impl IInkEdit_Vtbl { Refresh: Refresh::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2681,8 +2681,8 @@ impl IInkExtendedProperties_Vtbl { DoesPropertyExist: DoesPropertyExist::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2731,8 +2731,8 @@ impl IInkExtendedProperty_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2781,8 +2781,8 @@ impl IInkGesture_Vtbl { GetHotPoint: GetHotPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2840,8 +2840,8 @@ impl IInkLineInfo_Vtbl { Recognize: Recognize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3391,8 +3391,8 @@ impl IInkOverlay_Vtbl { SetEventInterest: SetEventInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3995,8 +3995,8 @@ impl IInkPicture_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4195,8 +4195,8 @@ impl IInkRecognitionAlternate_Vtbl { GetPropertyValue: GetPropertyValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4264,8 +4264,8 @@ impl IInkRecognitionAlternates_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4360,8 +4360,8 @@ impl IInkRecognitionResult_Vtbl { SetResultOnStrokes: SetResultOnStrokes::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4468,8 +4468,8 @@ impl IInkRecognizer_Vtbl { CreateRecognizerContext: CreateRecognizerContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4511,8 +4511,8 @@ impl IInkRecognizer2_Vtbl { UnicodeRanges: UnicodeRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4762,8 +4762,8 @@ impl IInkRecognizerContext_Vtbl { IsStringSupported: IsStringSupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4799,8 +4799,8 @@ impl IInkRecognizerContext2_Vtbl { SetEnabledUnicodeRanges: SetEnabledUnicodeRanges::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4930,8 +4930,8 @@ impl IInkRecognizerGuide_Vtbl { SetGuideData: SetGuideData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -4999,8 +4999,8 @@ impl IInkRecognizers_Vtbl { Item: Item::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5130,8 +5130,8 @@ impl IInkRectangle_Vtbl { SetRectangle: SetRectangle::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5264,8 +5264,8 @@ impl IInkRenderer_Vtbl { ScaleTransform: ScaleTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5650,8 +5650,8 @@ impl IInkStrokeDisp_Vtbl { ScaleTransform: ScaleTransform::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5849,8 +5849,8 @@ impl IInkStrokes_Vtbl { RemoveRecognitionResult: RemoveRecognitionResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5938,8 +5938,8 @@ impl IInkTablet_Vtbl { GetPropertyMetrics: GetPropertyMetrics::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -5965,8 +5965,8 @@ impl IInkTablet2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), DeviceKind: DeviceKind:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6008,8 +6008,8 @@ impl IInkTablet3_Vtbl { MaximumCursors: MaximumCursors::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6090,8 +6090,8 @@ impl IInkTablets_Vtbl { IsPacketPropertySupported: IsPacketPropertySupported::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6297,8 +6297,8 @@ impl IInkTransform_Vtbl { SetData: SetData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6335,8 +6335,8 @@ impl IInkWordList_Vtbl { Merge: Merge::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6356,8 +6356,8 @@ impl IInkWordList2_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), AddWords: AddWords:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"implement\"`*"] @@ -6410,8 +6410,8 @@ impl IInputPanelWindowHandle_Vtbl { SetAttachedEditWindow64: SetAttachedEditWindow64::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6564,8 +6564,8 @@ impl IMathInputControl_Vtbl { GetHoverIcon: GetHoverIcon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6834,8 +6834,8 @@ impl IPenInputPanel_Vtbl { EnableTsf: EnableTsf::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7146,8 +7146,8 @@ impl IRealTimeStylus_Vtbl { GetPacketDescriptionData: GetPacketDescriptionData::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7183,8 +7183,8 @@ impl IRealTimeStylus2_Vtbl { SetFlicksEnabled: SetFlicksEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7220,8 +7220,8 @@ impl IRealTimeStylus3_Vtbl { SetMultiTouchEnabled: SetMultiTouchEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"implement\"`*"] @@ -7248,8 +7248,8 @@ impl IRealTimeStylusSynchronization_Vtbl { ReleaseLock: ReleaseLock::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7262,8 +7262,8 @@ impl ISketchInk_Vtbl { pub const fn new, Impl: ISketchInk_Impl, const OFFSET: isize>() -> ISketchInk_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7327,8 +7327,8 @@ impl IStrokeBuilder_Vtbl { putref_Ink: putref_Ink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7341,8 +7341,8 @@ impl IStylusAsyncPlugin_Vtbl { pub const fn new, Impl: IStylusAsyncPlugin_Impl, const OFFSET: isize>() -> IStylusAsyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7483,8 +7483,8 @@ impl IStylusPlugin_Vtbl { DataInterest: DataInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7497,8 +7497,8 @@ impl IStylusSyncPlugin_Vtbl { pub const fn new, Impl: IStylusSyncPlugin_Impl, const OFFSET: isize>() -> IStylusSyncPlugin_Vtbl { Self { base__: IStylusPlugin_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7767,8 +7767,8 @@ impl ITextInputPanel_Vtbl { Unadvise: Unadvise::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -7868,8 +7868,8 @@ impl ITextInputPanelEventSink_Vtbl { TextInserted: TextInserted::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7895,8 +7895,8 @@ impl ITextInputPanelRunInfo_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), IsTipRunning: IsTipRunning:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7953,8 +7953,8 @@ impl ITipAutoCompleteClient_Vtbl { RequestShowUI: RequestShowUI::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7984,8 +7984,8 @@ impl ITipAutoCompleteProvider_Vtbl { Show: Show::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -7998,8 +7998,8 @@ impl _IInkCollectorEvents_Vtbl { pub const fn new, Impl: _IInkCollectorEvents_Impl, const OFFSET: isize>() -> _IInkCollectorEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkCollectorEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkCollectorEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8012,8 +8012,8 @@ impl _IInkEditEvents_Vtbl { pub const fn new, Impl: _IInkEditEvents_Impl, const OFFSET: isize>() -> _IInkEditEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkEditEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkEditEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8026,8 +8026,8 @@ impl _IInkEvents_Vtbl { pub const fn new, Impl: _IInkEvents_Impl, const OFFSET: isize>() -> _IInkEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8040,8 +8040,8 @@ impl _IInkOverlayEvents_Vtbl { pub const fn new, Impl: _IInkOverlayEvents_Impl, const OFFSET: isize>() -> _IInkOverlayEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkOverlayEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkOverlayEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8054,8 +8054,8 @@ impl _IInkPictureEvents_Vtbl { pub const fn new, Impl: _IInkPictureEvents_Impl, const OFFSET: isize>() -> _IInkPictureEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkPictureEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkPictureEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8068,8 +8068,8 @@ impl _IInkRecognitionEvents_Vtbl { pub const fn new, Impl: _IInkRecognitionEvents_Impl, const OFFSET: isize>() -> _IInkRecognitionEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkRecognitionEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8082,8 +8082,8 @@ impl _IInkStrokesEvents_Vtbl { pub const fn new, Impl: _IInkStrokesEvents_Impl, const OFFSET: isize>() -> _IInkStrokesEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IInkStrokesEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IInkStrokesEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8096,8 +8096,8 @@ impl _IMathInputControlEvents_Vtbl { pub const fn new, Impl: _IMathInputControlEvents_Impl, const OFFSET: isize>() -> _IMathInputControlEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IMathInputControlEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IMathInputControlEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TabletPC\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -8110,7 +8110,7 @@ impl _IPenInputPanelEvents_Vtbl { pub const fn new, Impl: _IPenInputPanelEvents_Impl, const OFFSET: isize>() -> _IPenInputPanelEvents_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &<_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == <_IPenInputPanelEvents as ::windows_core::ComInterface>::IID || *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs index 17a1af68d6..133e5b5016 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/TextServices/impl.rs @@ -63,8 +63,8 @@ impl IAccClientDocMgr_Vtbl { GetFocused: GetFocused::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -133,8 +133,8 @@ impl IAccDictionary_Vtbl { ConvertValueToString: ConvertValueToString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -168,8 +168,8 @@ impl IAccServerDocMgr_Vtbl { OnDocumentFocus: OnDocumentFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -258,8 +258,8 @@ impl IAccStore_Vtbl { GetFocused: GetFocused::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -388,8 +388,8 @@ impl IAnchor_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -406,8 +406,8 @@ impl IClonableWrapper_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CloneNewWrapper: CloneNewWrapper:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -427,8 +427,8 @@ impl ICoCreateLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CoCreateLocally: CoCreateLocally:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -448,8 +448,8 @@ impl ICoCreatedLocally_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LocalInit: LocalInit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -482,8 +482,8 @@ impl IDocWrap_Vtbl { GetWrappedDoc: GetWrappedDoc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -530,8 +530,8 @@ impl IEnumITfCompositionView_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -578,8 +578,8 @@ impl IEnumSpeechCommands_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -626,8 +626,8 @@ impl IEnumTfCandidates_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -674,8 +674,8 @@ impl IEnumTfContextViews_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -722,8 +722,8 @@ impl IEnumTfContexts_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -770,8 +770,8 @@ impl IEnumTfDisplayAttributeInfo_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -818,8 +818,8 @@ impl IEnumTfDocumentMgrs_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -866,8 +866,8 @@ impl IEnumTfFunctionProviders_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -914,8 +914,8 @@ impl IEnumTfInputProcessorProfiles_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -962,8 +962,8 @@ impl IEnumTfLangBarItems_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1013,8 +1013,8 @@ impl IEnumTfLanguageProfiles_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1061,8 +1061,8 @@ impl IEnumTfLatticeElements_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1109,8 +1109,8 @@ impl IEnumTfProperties_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1160,8 +1160,8 @@ impl IEnumTfPropertyValue_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IEnumTfRanges_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1256,8 +1256,8 @@ impl IEnumTfUIElements_Vtbl { Skip: Skip::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1274,8 +1274,8 @@ impl IInternalDocWrap_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyRevoke: NotifyRevoke:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1308,8 +1308,8 @@ impl ISpeechCommandProvider_Vtbl { ProcessCommand: ProcessCommand::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1579,8 +1579,8 @@ impl ITextStoreACP_Vtbl { GetWnd: GetWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1837,8 +1837,8 @@ impl ITextStoreACP2_Vtbl { GetScreenExt: GetScreenExt::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1858,8 +1858,8 @@ impl ITextStoreACPEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1909,8 +1909,8 @@ impl ITextStoreACPServices_Vtbl { CreateRange: CreateRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1979,8 +1979,8 @@ impl ITextStoreACPSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -1997,8 +1997,8 @@ impl ITextStoreACPSinkEx_Vtbl { } Self { base__: ITextStoreACPSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2269,8 +2269,8 @@ impl ITextStoreAnchor_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2290,8 +2290,8 @@ impl ITextStoreAnchorEx_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), ScrollToRect: ScrollToRect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2360,8 +2360,8 @@ impl ITextStoreAnchorSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2378,8 +2378,8 @@ impl ITextStoreSinkAnchorEx_Vtbl { } Self { base__: ITextStoreAnchorSink_Vtbl::new::(), OnDisconnect: OnDisconnect:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2399,8 +2399,8 @@ impl ITfActiveLanguageProfileNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2459,8 +2459,8 @@ impl ITfCandidateList_Vtbl { SetResult: SetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2568,8 +2568,8 @@ impl ITfCandidateListUIElement_Vtbl { GetCurrentPage: GetCurrentPage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2606,8 +2606,8 @@ impl ITfCandidateListUIElementBehavior_Vtbl { Abort: Abort::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2646,8 +2646,8 @@ impl ITfCandidateString_Vtbl { GetIndex: GetIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2803,8 +2803,8 @@ impl ITfCategoryMgr_Vtbl { IsEqualTfGuidAtom: IsEqualTfGuidAtom::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2831,8 +2831,8 @@ impl ITfCleanupContextDurationSink_Vtbl { OnEndCleanupContext: OnEndCleanupContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2849,8 +2849,8 @@ impl ITfCleanupContextSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCleanupContext: OnCleanupContext:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2873,8 +2873,8 @@ impl ITfClientId_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetClientId: GetClientId:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -2910,8 +2910,8 @@ impl ITfCompartment_Vtbl { GetValue: GetValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -2928,8 +2928,8 @@ impl ITfCompartmentEventSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnChange: OnChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2978,8 +2978,8 @@ impl ITfCompartmentMgr_Vtbl { EnumCompartments: EnumCompartments::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3026,8 +3026,8 @@ impl ITfComposition_Vtbl { EndComposition: EndComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3044,8 +3044,8 @@ impl ITfCompositionSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnCompositionTerminated: OnCompositionTerminated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3084,8 +3084,8 @@ impl ITfCompositionView_Vtbl { GetRange: GetRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3112,8 +3112,8 @@ impl ITfConfigureSystemKeystrokeFeed_Vtbl { EnableSystemKeystrokeFeed: EnableSystemKeystrokeFeed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3312,8 +3312,8 @@ impl ITfContext_Vtbl { CreateRangeBackup: CreateRangeBackup::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3378,8 +3378,8 @@ impl ITfContextComposition_Vtbl { TakeOwnership: TakeOwnership::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3447,8 +3447,8 @@ impl ITfContextKeyEventSink_Vtbl { OnTestKeyUp: OnTestKeyUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3536,8 +3536,8 @@ impl ITfContextOwner_Vtbl { GetAttribute: GetAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3554,8 +3554,8 @@ impl ITfContextOwnerCompositionServices_Vtbl { } Self { base__: ITfContextComposition_Vtbl::new::(), TerminateComposition: TerminateComposition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3598,8 +3598,8 @@ impl ITfContextOwnerCompositionSink_Vtbl { OnEndComposition: OnEndComposition::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3670,8 +3670,8 @@ impl ITfContextOwnerServices_Vtbl { CreateRange: CreateRange::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3733,8 +3733,8 @@ impl ITfContextView_Vtbl { GetWnd: GetWnd::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -3776,8 +3776,8 @@ impl ITfCreatePropertyStore_Vtbl { CreatePropertyStore: CreatePropertyStore::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3840,8 +3840,8 @@ impl ITfDisplayAttributeInfo_Vtbl { Reset: Reset::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3881,8 +3881,8 @@ impl ITfDisplayAttributeMgr_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3899,8 +3899,8 @@ impl ITfDisplayAttributeNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdateInfo: OnUpdateInfo:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -3939,8 +3939,8 @@ impl ITfDisplayAttributeProvider_Vtbl { GetDisplayAttributeInfo: GetDisplayAttributeInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4013,8 +4013,8 @@ impl ITfDocumentMgr_Vtbl { EnumContexts: EnumContexts::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4056,8 +4056,8 @@ impl ITfEditRecord_Vtbl { GetTextAndPropertyUpdates: GetTextAndPropertyUpdates::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4074,8 +4074,8 @@ impl ITfEditSession_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoEditSession: DoEditSession:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4102,8 +4102,8 @@ impl ITfEditTransactionSink_Vtbl { OnEndEditTransaction: OnEndEditTransaction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4130,8 +4130,8 @@ impl ITfFnAdviseText_Vtbl { OnLatticeUpdate: OnLatticeUpdate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4148,8 +4148,8 @@ impl ITfFnBalloon_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), UpdateBalloon: UpdateBalloon:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4169,8 +4169,8 @@ impl ITfFnConfigure_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4190,8 +4190,8 @@ impl ITfFnConfigureRegisterEudc_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4211,8 +4211,8 @@ impl ITfFnConfigureRegisterWord_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4229,8 +4229,8 @@ impl ITfFnCustomSpeechCommand_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), SetSpeechCommandProvider: SetSpeechCommandProvider:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4253,8 +4253,8 @@ impl ITfFnGetLinguisticAlternates_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetAlternates: GetAlternates:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4271,8 +4271,8 @@ impl ITfFnGetPreferredTouchKeyboardLayout_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), GetLayout: GetLayout:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4295,8 +4295,8 @@ impl ITfFnGetSAPIObject_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Get: Get:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4316,8 +4316,8 @@ impl ITfFnLMInternal_Vtbl { } Self { base__: ITfFnLMProcessor_Vtbl::new::(), ProcessLattice: ProcessLattice:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4400,8 +4400,8 @@ impl ITfFnLMProcessor_Vtbl { InvokeFunc: InvokeFunc::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4437,8 +4437,8 @@ impl ITfFnLangProfileUtil_Vtbl { IsProfileAvailableForLang: IsProfileAvailableForLang::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4468,8 +4468,8 @@ impl ITfFnPlayBack_Vtbl { Play: Play::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4502,8 +4502,8 @@ impl ITfFnPropertyUIStatus_Vtbl { SetStatus: SetStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4546,8 +4546,8 @@ impl ITfFnReconversion_Vtbl { Reconvert: Reconvert::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4580,8 +4580,8 @@ impl ITfFnSearchCandidateProvider_Vtbl { SetResult: SetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4601,8 +4601,8 @@ impl ITfFnShowHelp_Vtbl { } Self { base__: ITfFunction_Vtbl::new::(), Show: Show:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4625,8 +4625,8 @@ impl ITfFunction_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetDisplayName: GetDisplayName:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4678,8 +4678,8 @@ impl ITfFunctionProvider_Vtbl { GetFunction: GetFunction::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4696,8 +4696,8 @@ impl ITfInputProcessorProfileActivationSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnActivated: OnActivated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -4789,8 +4789,8 @@ impl ITfInputProcessorProfileMgr_Vtbl { GetActiveProfile: GetActiveProfile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -4816,8 +4816,8 @@ impl ITfInputProcessorProfileSubstituteLayout_Vtbl { GetSubstituteKeyboardLayout: GetSubstituteKeyboardLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -4989,8 +4989,8 @@ impl ITfInputProcessorProfiles_Vtbl { SubstituteKeyboardLayout: SubstituteKeyboardLayout::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5013,8 +5013,8 @@ impl ITfInputProcessorProfilesEx_Vtbl { SetLanguageProfileDisplayName: SetLanguageProfileDisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -5080,8 +5080,8 @@ impl ITfInputScope_Vtbl { GetXML: GetXML::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5107,8 +5107,8 @@ impl ITfInputScope2_Vtbl { } Self { base__: ITfInputScope_Vtbl::new::(), EnumWordList: EnumWordList:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -5150,8 +5150,8 @@ impl ITfInsertAtSelection_Vtbl { InsertEmbeddedAtSelection: InsertEmbeddedAtSelection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5220,8 +5220,8 @@ impl ITfIntegratableCandidateListUIElement_Vtbl { FinalizeExactCompositionString: FinalizeExactCompositionString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5309,8 +5309,8 @@ impl ITfKeyEventSink_Vtbl { OnPreservedKey: OnPreservedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5340,8 +5340,8 @@ impl ITfKeyTraceEventSink_Vtbl { OnKeyTraceUp: OnKeyTraceUp::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5509,8 +5509,8 @@ impl ITfKeystrokeMgr_Vtbl { SimulatePreservedKey: SimulatePreservedKey::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5552,8 +5552,8 @@ impl ITfLMLattice_Vtbl { EnumLatticeElements: EnumLatticeElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5617,8 +5617,8 @@ impl ITfLangBarEventSink_Vtbl { GetItemFloatingRect: GetItemFloatingRect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5674,8 +5674,8 @@ impl ITfLangBarItem_Vtbl { GetTooltipString: GetTooltipString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -5724,8 +5724,8 @@ impl ITfLangBarItemBalloon_Vtbl { GetBalloonInfo: GetBalloonInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -5768,8 +5768,8 @@ impl ITfLangBarItemBitmap_Vtbl { DrawBitmap: DrawBitmap::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -5839,8 +5839,8 @@ impl ITfLangBarItemBitmapButton_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -5903,8 +5903,8 @@ impl ITfLangBarItemButton_Vtbl { GetText: GetText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6028,8 +6028,8 @@ impl ITfLangBarItemMgr_Vtbl { UnadviseItemsSink: UnadviseItemsSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6046,8 +6046,8 @@ impl ITfLangBarItemSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdate: OnUpdate:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6138,8 +6138,8 @@ impl ITfLangBarMgr_Vtbl { GetShowFloatingStatus: GetShowFloatingStatus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6175,8 +6175,8 @@ impl ITfLanguageProfileNotifySink_Vtbl { OnLanguageChanged: OnLanguageChanged::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6203,8 +6203,8 @@ impl ITfMSAAControl_Vtbl { SystemDisableMSAA: SystemDisableMSAA::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -6224,8 +6224,8 @@ impl ITfMenu_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), AddMenuItem: AddMenuItem:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -6269,8 +6269,8 @@ impl ITfMessagePump_Vtbl { GetMessageW: GetMessageW::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -6296,8 +6296,8 @@ impl ITfMouseSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnMouseEvent: OnMouseEvent:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6330,8 +6330,8 @@ impl ITfMouseTracker_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6364,8 +6364,8 @@ impl ITfMouseTrackerACP_Vtbl { UnadviseMouseSink: UnadviseMouseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6391,8 +6391,8 @@ impl ITfPersistentPropertyLoaderACP_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), LoadProperty: LoadProperty:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6409,8 +6409,8 @@ impl ITfPreservedKeyNotifySink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnUpdated: OnUpdated:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6454,8 +6454,8 @@ impl ITfProperty_Vtbl { Clear: Clear::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6588,8 +6588,8 @@ impl ITfPropertyStore_Vtbl { Serialize: Serialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6615,8 +6615,8 @@ impl ITfQueryEmbedded_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), QueryInsertEmbedded: QueryInsertEmbedded:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6858,8 +6858,8 @@ impl ITfRange_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -6889,8 +6889,8 @@ impl ITfRangeACP_Vtbl { SetExtent: SetExtent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -6907,8 +6907,8 @@ impl ITfRangeBackup_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Restore: Restore:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -6970,8 +6970,8 @@ impl ITfReadOnlyProperty_Vtbl { GetContext: GetContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7065,8 +7065,8 @@ impl ITfReadingInformationUIElement_Vtbl { IsVerticalOrderPreferred: IsVerticalOrderPreferred::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7089,8 +7089,8 @@ impl ITfReverseConversion_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), DoReverseConversion: DoReverseConversion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7129,8 +7129,8 @@ impl ITfReverseConversionList_Vtbl { GetString: GetString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7153,8 +7153,8 @@ impl ITfReverseConversionMgr_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetReverseConversion: GetReverseConversion:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7187,8 +7187,8 @@ impl ITfSource_Vtbl { UnadviseSink: UnadviseSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7215,8 +7215,8 @@ impl ITfSourceSingle_Vtbl { UnadviseSingleSink: UnadviseSingleSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7253,8 +7253,8 @@ impl ITfSpeechUIServer_Vtbl { UpdateBalloon: UpdateBalloon::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7271,8 +7271,8 @@ impl ITfStatusSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnStatusChange: OnStatusChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7305,8 +7305,8 @@ impl ITfSystemDeviceTypeLangBarItem_Vtbl { GetIconMode: GetIconMode::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -7336,8 +7336,8 @@ impl ITfSystemLangBarItem_Vtbl { SetTooltipString: SetTooltipString::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7364,8 +7364,8 @@ impl ITfSystemLangBarItemSink_Vtbl { OnMenuSelect: OnMenuSelect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7398,8 +7398,8 @@ impl ITfSystemLangBarItemText_Vtbl { GetItemText: GetItemText::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7416,8 +7416,8 @@ impl ITfTextEditSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnEndEdit: OnEndEdit:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7444,8 +7444,8 @@ impl ITfTextInputProcessor_Vtbl { Deactivate: Deactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7462,8 +7462,8 @@ impl ITfTextInputProcessorEx_Vtbl { } Self { base__: ITfTextInputProcessor_Vtbl::new::(), ActivateEx: ActivateEx:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7480,8 +7480,8 @@ impl ITfTextLayoutSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnLayoutChange: OnLayoutChange:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7508,8 +7508,8 @@ impl ITfThreadFocusSink_Vtbl { OnKillThreadFocus: OnKillThreadFocus::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7656,8 +7656,8 @@ impl ITfThreadMgr_Vtbl { GetGlobalCompartment: GetGlobalCompartment::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7825,8 +7825,8 @@ impl ITfThreadMgr2_Vtbl { ResumeKeystrokeHandling: ResumeKeystrokeHandling::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -7874,8 +7874,8 @@ impl ITfThreadMgrEventSink_Vtbl { OnPopContext: OnPopContext::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7911,8 +7911,8 @@ impl ITfThreadMgrEx_Vtbl { GetActiveFlags: GetActiveFlags::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7938,8 +7938,8 @@ impl ITfToolTipUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetString: GetString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7968,8 +7968,8 @@ impl ITfTransitoryExtensionSink_Vtbl { OnTransitoryExtensionUpdated: OnTransitoryExtensionUpdated::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -7995,8 +7995,8 @@ impl ITfTransitoryExtensionUIElement_Vtbl { } Self { base__: ITfUIElement_Vtbl::new::(), GetDocumentMgr: GetDocumentMgr:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8058,8 +8058,8 @@ impl ITfUIElement_Vtbl { IsShown: IsShown::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8122,8 +8122,8 @@ impl ITfUIElementMgr_Vtbl { EnumUIElements: EnumUIElements::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8160,8 +8160,8 @@ impl ITfUIElementSink_Vtbl { EndUIElement: EndUIElement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -8219,8 +8219,8 @@ impl IUIManagerEventSink_Vtbl { OnWindowClosed: OnWindowClosed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_TextServices\"`, `\"implement\"`*"] @@ -8292,7 +8292,7 @@ impl IVersionInfo_Vtbl { GetInstanceDescription: GetInstanceDescription::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs index 8732a8ef6f..418ab1c889 100644 --- a/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/UI/Wpf/impl.rs @@ -44,8 +44,8 @@ impl IMILBitmapEffect_Vtbl { SetInputSource: SetInputSource::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -84,8 +84,8 @@ impl IMILBitmapEffectConnections_Vtbl { GetOutputConnector: GetOutputConnector::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -150,8 +150,8 @@ impl IMILBitmapEffectConnectionsInfo_Vtbl { GetOutputConnectorInfo: GetOutputConnectorInfo::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -193,8 +193,8 @@ impl IMILBitmapEffectConnector_Vtbl { GetBitmapEffect: GetBitmapEffect::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -259,8 +259,8 @@ impl IMILBitmapEffectConnectorInfo_Vtbl { GetFormat: GetFormat::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -287,8 +287,8 @@ impl IMILBitmapEffectEvents_Vtbl { DirtyRegion: DirtyRegion::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -340,8 +340,8 @@ impl IMILBitmapEffectFactory_Vtbl { CreateEffectOuter: CreateEffectOuter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -387,8 +387,8 @@ impl IMILBitmapEffectGroup_Vtbl { Add: Add::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -434,8 +434,8 @@ impl IMILBitmapEffectGroupImpl_Vtbl { GetChildren: GetChildren::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -512,8 +512,8 @@ impl IMILBitmapEffectImpl_Vtbl { Initialize: Initialize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -549,8 +549,8 @@ impl IMILBitmapEffectInputConnector_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -573,8 +573,8 @@ impl IMILBitmapEffectInteriorInputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetInputConnector: GetInputConnector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -597,8 +597,8 @@ impl IMILBitmapEffectInteriorOutputConnector_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetOutputConnector: GetOutputConnector:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IMILBitmapEffectOutputConnector_Vtbl { GetConnection: GetConnection::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -668,8 +668,8 @@ impl IMILBitmapEffectOutputConnectorImpl_Vtbl { RemoveBackLink: RemoveBackLink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dwm\"`, `\"Win32_Graphics_Imaging\"`, `\"implement\"`*"] @@ -739,8 +739,8 @@ impl IMILBitmapEffectPrimitive_Vtbl { GetAffineMatrix: GetAffineMatrix::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -776,8 +776,8 @@ impl IMILBitmapEffectPrimitiveImpl_Vtbl { IsVolatile: IsVolatile::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -855,8 +855,8 @@ impl IMILBitmapEffectRenderContext_Vtbl { SetRegionOfInterest: SetRegionOfInterest::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -913,8 +913,8 @@ impl IMILBitmapEffectRenderContextImpl_Vtbl { UpdateOutputBounds: UpdateOutputBounds::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_UI_Wpf\"`, `\"implement\"`*"] @@ -979,7 +979,7 @@ impl IMILBitmapEffects_Vtbl { Count: Count::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs index 67ef9471b3..06936c9753 100644 --- a/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs +++ b/crates/libs/windows/src/Windows/Win32/Web/InternetExplorer/impl.rs @@ -37,8 +37,8 @@ impl IActiveXUIHandlerSite_Vtbl { PickFileAndGetResult: PickFileAndGetResult::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -71,8 +71,8 @@ impl IActiveXUIHandlerSite2_Vtbl { RemoveSuspensionExemption: RemoveSuspensionExemption::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -98,8 +98,8 @@ impl IActiveXUIHandlerSite3_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), MessageBoxW: MessageBoxW:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -119,8 +119,8 @@ impl IAnchorClick_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ProcOnClick: ProcOnClick:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -160,8 +160,8 @@ impl IAudioSessionSite_Vtbl { OnAudioStreamDestroyed: OnAudioStreamDestroyed::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -181,8 +181,8 @@ impl ICaretPositionProvider_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetCaretPosition: GetCaretPosition:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -195,8 +195,8 @@ impl IDeviceRect_Vtbl { pub const fn new, Impl: IDeviceRect_Impl, const OFFSET: isize>() -> IDeviceRect_Vtbl { Self { base__: super::super::System::Com::IDispatch_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Gdi\"`, `\"implement\"`*"] @@ -226,8 +226,8 @@ impl IDithererImpl_Vtbl { SetEventSink: SetEventSink::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -337,8 +337,8 @@ impl IDocObjectService_Vtbl { IsErrorUrl: IsErrorUrl::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -358,8 +358,8 @@ impl IDownloadBehavior_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), startDownload: startDownload:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Gdi\"`, `\"Win32_Security\"`, `\"Win32_System_Com_StructuredStorage\"`, `\"implement\"`*"] @@ -379,8 +379,8 @@ impl IDownloadManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Download: Download:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -443,8 +443,8 @@ impl IEnumManagerFrames_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -491,8 +491,8 @@ impl IEnumOpenServiceActivity_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -539,8 +539,8 @@ impl IEnumOpenServiceActivityCategory_Vtbl { Clone: Clone::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -597,8 +597,8 @@ impl IEnumSTATURL_Vtbl { SetFilter: SetFilter::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -640,8 +640,8 @@ impl IExtensionValidation_Vtbl { DisplayName: DisplayName::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -696,8 +696,8 @@ impl IHTMLPersistData_Vtbl { queryType: queryType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -753,8 +753,8 @@ impl IHTMLPersistDataOM_Vtbl { removeAttribute: removeAttribute::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -844,8 +844,8 @@ impl IHTMLUserDataOM_Vtbl { expires: expires::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1087,8 +1087,8 @@ impl IHeaderFooter_Vtbl { timeLong: timeLong::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1120,8 +1120,8 @@ impl IHeaderFooter2_Vtbl { } Self { base__: IHeaderFooter_Vtbl::new::(), Setfont: Setfont::, font: font:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1164,8 +1164,8 @@ impl IHomePage_Vtbl { isHomePage: isHomePage::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1208,8 +1208,8 @@ impl IHomePageSetting_Vtbl { SetHomePageToBrowserDefault: SetHomePageToBrowserDefault::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1235,8 +1235,8 @@ impl IIEWebDriverManager_Vtbl { } Self { base__: super::super::System::Com::IDispatch_Vtbl::new::(), ExecuteCommand: ExecuteCommand:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1279,8 +1279,8 @@ impl IIEWebDriverSite_Vtbl { GetCapabilityValue: GetCapabilityValue::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1344,8 +1344,8 @@ impl IImageDecodeEventSink_Vtbl { OnProgress: OnProgress::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1371,8 +1371,8 @@ impl IImageDecodeEventSink2_Vtbl { } Self { base__: IImageDecodeEventSink_Vtbl::new::(), IsAlphaPremultRequired: IsAlphaPremultRequired:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -1409,8 +1409,8 @@ impl IImageDecodeFilter_Vtbl { Terminate: Terminate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1446,8 +1446,8 @@ impl IIntelliForms_Vtbl { Setenabled: Setenabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1464,8 +1464,8 @@ impl IInternetExplorerManager_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreateObject: CreateObject:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1488,8 +1488,8 @@ impl IInternetExplorerManager2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), EnumFrameWindows: EnumFrameWindows:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -1618,8 +1618,8 @@ impl ILayoutRect_Vtbl { contentDocument: contentDocument::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1656,8 +1656,8 @@ impl IMapMIMEToCLSID_Vtbl { SetMapping: SetMapping::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -1684,8 +1684,8 @@ impl IMediaActivityNotifySite_Vtbl { OnMediaActivityStopped: OnMediaActivityStopped::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -1734,8 +1734,8 @@ impl IOpenService_Vtbl { GetID: GetID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_UI_WindowsAndMessaging\"`, `\"implement\"`*"] @@ -1967,8 +1967,8 @@ impl IOpenServiceActivity_Vtbl { SetEnabled: SetEnabled::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2043,8 +2043,8 @@ impl IOpenServiceActivityCategory_Vtbl { GetActivityEnumerator: GetActivityEnumerator::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -2099,8 +2099,8 @@ impl IOpenServiceActivityInput_Vtbl { GetType: GetType::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2165,8 +2165,8 @@ impl IOpenServiceActivityManager_Vtbl { GetVersionCookie: GetVersionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2202,8 +2202,8 @@ impl IOpenServiceActivityOutputContext_Vtbl { CanNavigate: CanNavigate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2249,8 +2249,8 @@ impl IOpenServiceManager_Vtbl { GetServiceByID: GetServiceByID::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2260,8 +2260,8 @@ impl IPeerFactory_Vtbl { pub const fn new, Impl: IPeerFactory_Impl, const OFFSET: isize>() -> IPeerFactory_Vtbl { Self { base__: ::windows_core::IUnknown_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2311,8 +2311,8 @@ impl IPersistHistory_Vtbl { GetPositionCookie: GetPositionCookie::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2329,8 +2329,8 @@ impl IPrintTaskRequestFactory_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), CreatePrintTaskRequest: CreatePrintTaskRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2347,8 +2347,8 @@ impl IPrintTaskRequestHandler_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), HandlePrintTaskRequest: HandlePrintTaskRequest:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2381,8 +2381,8 @@ impl IScrollableContextMenu_Vtbl { ShowModal: ShowModal::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2409,8 +2409,8 @@ impl IScrollableContextMenu2_Vtbl { SetPlacement: SetPlacement::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2436,8 +2436,8 @@ impl ISniffStream_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), Init: Init::, Peek: Peek:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2464,8 +2464,8 @@ impl ISurfacePresenterFlip_Vtbl { GetBuffer: GetBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -2485,8 +2485,8 @@ impl ISurfacePresenterFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), SetRotation: SetRotation:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2513,8 +2513,8 @@ impl ISurfacePresenterFlipBuffer_Vtbl { EndDraw: EndDraw::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2556,8 +2556,8 @@ impl ITargetContainer_Vtbl { GetFramesContainer: GetFramesContainer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -2580,8 +2580,8 @@ impl ITargetEmbedding_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetTargetFrame: GetTargetFrame:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2731,8 +2731,8 @@ impl ITargetFrame_Vtbl { OnChildFrameDeactivate: OnChildFrameDeactivate::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -2874,8 +2874,8 @@ impl ITargetFrame2_Vtbl { GetTargetAlias: GetTargetAlias::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2951,8 +2951,8 @@ impl ITargetFramePriv_Vtbl { FindBrowserByIndex: FindBrowserByIndex::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_System_Com\"`, `\"implement\"`*"] @@ -2972,8 +2972,8 @@ impl ITargetFramePriv2_Vtbl { } Self { base__: ITargetFramePriv_Vtbl::new::(), AggregatedNavigation2: AggregatedNavigation2:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3000,8 +3000,8 @@ impl ITargetNotify_Vtbl { OnReuse: OnReuse::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3018,8 +3018,8 @@ impl ITargetNotify2_Vtbl { } Self { base__: ITargetNotify_Vtbl::new::(), GetOptionString: GetOptionString:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3075,8 +3075,8 @@ impl ITimer_Vtbl { GetTime: GetTime::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3096,8 +3096,8 @@ impl ITimerEx_Vtbl { } Self { base__: ITimer_Vtbl::new::(), SetMode: SetMode:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3143,8 +3143,8 @@ impl ITimerService_Vtbl { SetNamedTimerReference: SetNamedTimerReference::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3164,8 +3164,8 @@ impl ITimerSink_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnTimer: OnTimer:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3191,8 +3191,8 @@ impl ITridentTouchInput_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), OnPointerMessage: OnPointerMessage:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -3222,8 +3222,8 @@ impl ITridentTouchInputSite_Vtbl { ZoomToPoint: ZoomToPoint::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3236,8 +3236,8 @@ impl IUrlHistoryNotify_Vtbl { pub const fn new, Impl: IUrlHistoryNotify_Impl, const OFFSET: isize>() -> IUrlHistoryNotify_Vtbl { Self { base__: super::super::System::Ole::IOleCommandTarget_Vtbl::new::() } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3294,8 +3294,8 @@ impl IUrlHistoryStg_Vtbl { EnumUrls: EnumUrls::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Ole\"`, `\"implement\"`*"] @@ -3325,8 +3325,8 @@ impl IUrlHistoryStg2_Vtbl { ClearHistory: ClearHistory::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3363,8 +3363,8 @@ impl IViewObjectPresentFlip_Vtbl { RenderObjectToSharedBuffer: RenderObjectToSharedBuffer::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3381,8 +3381,8 @@ impl IViewObjectPresentFlip2_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), NotifyLeavingView: NotifyLeavingView:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"Win32_Web_MsHtml\"`, `\"implement\"`*"] @@ -3484,8 +3484,8 @@ impl IViewObjectPresentFlipSite_Vtbl { GetFullScreenSize: GetFullScreenSize::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Graphics_Dxgi_Common\"`, `\"implement\"`*"] @@ -3514,8 +3514,8 @@ impl IViewObjectPresentFlipSite2_Vtbl { GetRotationForCurrentOutput: GetRotationForCurrentOutput::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"implement\"`*"] @@ -3572,8 +3572,8 @@ impl IWebBrowserEventsService_Vtbl { FireDocumentCompleteEvent: FireDocumentCompleteEvent::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"implement\"`*"] @@ -3596,8 +3596,8 @@ impl IWebBrowserEventsUrlService_Vtbl { } Self { base__: ::windows_core::IUnknown_Vtbl::new::(), GetUrlForEvents: GetUrlForEvents:: } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } #[doc = "*Required features: `\"Win32_Web_InternetExplorer\"`, `\"Win32_Foundation\"`, `\"Win32_System_Com\"`, `\"Win32_System_Ole\"`, `\"Win32_System_Variant\"`, `\"implement\"`*"] @@ -3646,7 +3646,7 @@ impl Iwfolders_Vtbl { navigateNoSite: navigateNoSite::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID || iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID || *iid == ::IID } } From 34ccede7bd6fd5e0e7eb90504132a4458b15fd83 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Thu, 14 Sep 2023 14:30:45 -0500 Subject: [PATCH 3/3] tests --- crates/tests/component/src/bindings.rs | 18 +++++++++--------- crates/tests/component_client/src/bindings.rs | 10 +++++----- crates/tests/implement/tests/class_factory.rs | 2 +- .../tests/implement/tests/from_raw_borrowed.rs | 2 +- crates/tests/weak_ref/tests/count.rs | 16 ++++++++-------- 5 files changed, 24 insertions(+), 24 deletions(-) diff --git a/crates/tests/component/src/bindings.rs b/crates/tests/component/src/bindings.rs index 907164a08b..4ba48a1b39 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 fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } } @@ -382,13 +382,13 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat }; unsafe extern "system" fn QueryInterface( this: *mut ::core::ffi::c_void, - iid: &::windows_core::GUID, - interface: *mut *const ::core::ffi::c_void, + iid: *const ::windows_core::GUID, + interface: *mut *mut ::core::ffi::c_void, ) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID - || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID - || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID + *interface = if *iid == ::IID + || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID + || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { @@ -643,7 +643,7 @@ impl IClass_Vtbl { Input: Input::, } } - pub fn matches(iid: &::windows_core::GUID) -> bool { - iid == &::IID + pub unsafe fn matches(iid: *const ::windows_core::GUID) -> bool { + *iid == ::IID } } diff --git a/crates/tests/component_client/src/bindings.rs b/crates/tests/component_client/src/bindings.rs index 20a62245b1..ba52fcd11e 100644 --- a/crates/tests/component_client/src/bindings.rs +++ b/crates/tests/component_client/src/bindings.rs @@ -350,13 +350,13 @@ impl ::windows_core::Result + ::core::marker::Send + 'stat }; unsafe extern "system" fn QueryInterface( this: *mut ::core::ffi::c_void, - iid: &::windows_core::GUID, - interface: *mut *const ::core::ffi::c_void, + iid: *const ::windows_core::GUID, + interface: *mut *mut ::core::ffi::c_void, ) -> ::windows_core::HRESULT { let this = this as *mut *mut ::core::ffi::c_void as *mut Self; - *interface = if iid == &::IID - || iid == &<::windows_core::IUnknown as ::windows_core::ComInterface>::IID - || iid == &<::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID + *interface = if *iid == ::IID + || *iid == <::windows_core::IUnknown as ::windows_core::ComInterface>::IID + || *iid == <::windows_core::imp::IAgileObject as ::windows_core::ComInterface>::IID { &mut (*this).vtable as *mut _ as _ } else { diff --git a/crates/tests/implement/tests/class_factory.rs b/crates/tests/implement/tests/class_factory.rs index bd510d853f..ff53dd1125 100644 --- a/crates/tests/implement/tests/class_factory.rs +++ b/crates/tests/implement/tests/class_factory.rs @@ -32,7 +32,7 @@ impl IClassFactory_Impl for Factory { ) -> Result<()> { assert!(outer.is_none()); let unknown: IInspectable = Object().into(); - unsafe { unknown.query(&*iid, object as *mut _).ok() } + unsafe { unknown.query(iid, object).ok() } } fn LockServer(&self, lock: BOOL) -> Result<()> { diff --git a/crates/tests/implement/tests/from_raw_borrowed.rs b/crates/tests/implement/tests/from_raw_borrowed.rs index fc34529522..61d9cf6d9d 100644 --- a/crates/tests/implement/tests/from_raw_borrowed.rs +++ b/crates/tests/implement/tests/from_raw_borrowed.rs @@ -25,7 +25,7 @@ impl IServiceProvider_Impl for Borrowed { ) -> Result<()> { unsafe { let unknown: IUnknown = self.cast()?; - unknown.query(&*iid, object as _).ok() + unknown.query(iid, object).ok() } } } diff --git a/crates/tests/weak_ref/tests/count.rs b/crates/tests/weak_ref/tests/count.rs index cbe873b89e..d89ad20011 100644 --- a/crates/tests/weak_ref/tests/count.rs +++ b/crates/tests/weak_ref/tests/count.rs @@ -6,10 +6,10 @@ use windows::Win32::System::WinRT::IWeakReferenceSource; fn test() { // Ref count starts at 1 let count = WeakRefCount::new(); - assert!(count.add_ref() == 2); - assert!(count.add_ref() == 3); - assert!(count.release() == 2); - assert!(count.release() == 1); + assert_eq!(count.add_ref(), 2); + assert_eq!(count.add_ref(), 3); + assert_eq!(count.release(), 2); + assert_eq!(count.release(), 1); // Query implies add_ref unsafe { @@ -17,8 +17,8 @@ fn test() { } // Ref count is now owned by tearoff - assert!(count.add_ref() == 3); - assert!(count.release() == 2); - assert!(count.release() == 1); - assert!(count.release() == 0); + assert_eq!(count.add_ref(), 3); + assert_eq!(count.release(), 2); + assert_eq!(count.release(), 1); + assert_eq!(count.release(), 0); }